automotore
Automotore is a command-line tool that generates a self-contained, portable Python wheelhouse (.pyz archive) containing prebuilt packages. It's designed for isolated or offline environments, and simplifies dependency management by packaging selected Python packages (and their dependencies) into a single executable archive.
Installation
pip install automotore
Usage
python -m automotore -r [requirements.txt] -o [packages.pyz]
or
python -m automotore [package1] [package2] ... -o [packages.pyz]
See python -m automotore --help for more usage.
Once built, the zero-dependency archive can be used to install any or all of the contained packages, even on systems without internet access.
You can install specific packages with:
python [packages.pyz] install [package1] [package2] ...
You can install all packages contained in the wheelhouse with:
python [packages.pyz] install
You can build for another platform than the current one, but note that you will need to specify Python version, platform, abi, and implementation. See PEP 425 for a more detailed explanation of compatibility tags.
The easiest way to find the appropriate tags is to check the PyPI download file names for the packages you want to install.
Comparison
-
Compared to pip download + local wheelhouse: This is essentially what this project does under the hood. However, Automotore simplifies this workflow by automating the resolution and bundling process, and wrapping everything into an easy-to-use
.pyz. -
Compared to tools like pex, shiv, and pyoxidizer: Those tools focus on creating self-contained executables for Python applications. In contrast, Automotore focuses on bundling Python packages for later installation.
License
This project is released under the MIT License.
Metadata
Release files for automotore 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| automotore-0.0.4.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| automotore-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / automotore-0.0.4.tar.gz
| Download URL | automotore-0.0.4.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e32b6365875806cec359e8fedb96fc0bad692fcd554c86ceb4965f2db3873eaf
|
|
BLAKE2b-256 checksum How to use checksums |
41a5335045530b20881901bf46dcfb6a8e2a7688afae361d5e3c82f6f2a856cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / automotore-0.0.4-py3-none-any.whl
| Download URL | automotore-0.0.4-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95457b6a5ae9eebe5f2315f8ee3697ca2d82d7bd8da096e189771c08e918d23a
|
|
BLAKE2b-256 checksum How to use checksums |
d26c5bb62ace5aef3e1600d91ac05a6ad0b6e510047ffa71a3a29543774856ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|