A package for implementing various Python packaging standards
Project description
A package for installing fully-specified Python packages.
Package contents
mousbender.simple – Parsers for the simple repository API
Goals for this project
The goal is to provide a package which could install all dependencies as frozen by a tool like pip-tools via an API (or put another way, what is required to install pip w/o using pip itself?). This avoids relying on pip’s CLI to do installations but instead provide a programmatic API. It also helps discover any holes in specifications and/or packages for providing full support for Python package installation based on standards.
The steps to installing a package
Figure out what packages are necessary
For an app, read lock file (?)
For a package:
Read list of dependencies (?)
Solve dependency constraints (ResolveLib)
Get the wheel to install
Check if package is already installed (spec / importlib-metadata)
Check local wheel cache (?; how pip does it)
Choose appropriate file from PyPI/index
Process the list of files (simple repository API / mousebender.simple)
Calculate best-fitting wheel (spec / packaging.tags)
If no wheel found …
Download the wheel
Cache the wheel locally (?)
Install the wheel
Install the files (spec / distlib.wheel)
Record the installation (spec / ?)
Where does the name come from?
The customer from Monty Python’s cheese shop sketch is named “Mr. Mousebender”. And in case you don’t know, the original name of PyPI was the Cheeseshop after the Monty Python sketch.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mousebender-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19e18bc23b86897f94fdbdad5b20fea538f249f5596a2112faee9ade6143ce07 |
|
MD5 | 1d266d8f806a0f02a7b22027f1ba45ef |
|
BLAKE2b-256 | 0f622753a6fba280d7ccbf23757ac2fb8cb7bbee47835f6f8c1b29d4517d3254 |