Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automotore-0.0.4.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

automotore-0.0.4-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file automotore-0.0.4.tar.gz.

File metadata

  • Download URL: automotore-0.0.4.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

Hashes for automotore-0.0.4.tar.gz
Algorithm Hash digest
SHA256 e32b6365875806cec359e8fedb96fc0bad692fcd554c86ceb4965f2db3873eaf
MD5 2018ec792292d137ad168572c55122ac
BLAKE2b-256 41a5335045530b20881901bf46dcfb6a8e2a7688afae361d5e3c82f6f2a856cb

See more details on using hashes here.

File details

Details for the file automotore-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: automotore-0.0.4-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

Hashes for automotore-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 95457b6a5ae9eebe5f2315f8ee3697ca2d82d7bd8da096e189771c08e918d23a
MD5 faa37a5a73447d11277413b6c3dfb6f2
BLAKE2b-256 d26c5bb62ace5aef3e1600d91ac05a6ad0b6e510047ffa71a3a29543774856ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page