Self-contained Python wheelhouse generation for isolated environments
Project description
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.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file automotore-0.0.3.tar.gz.
File metadata
- Download URL: automotore-0.0.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d5d985e69e1cb818901e34e05435db568456651493a63c451a560c5b72a596a
|
|
| MD5 |
fa24c48f428c983d35d07d46044ad097
|
|
| BLAKE2b-256 |
c29b046cc6aa2211b05dc046318dfdf618ae7ac2127e2ed09ea9dca3fbeb87b8
|
File details
Details for the file automotore-0.0.3-py3-none-any.whl.
File metadata
- Download URL: automotore-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3ece5e76a79e3c518390d9745905fe7e03663e4dd4061ad0cbd28af10e5d095
|
|
| MD5 |
e50aea84c0f82dab421e1cff67cb471e
|
|
| BLAKE2b-256 |
3548c2c435177bddaf01a8771600960ece4ed99c53fa8352f6b7655ca7bcfa90
|