CarryOn - Pack your Python script with its dependencies
Installation
pip install carryon
Or better, since this is a command-line tool:
pipx install carryon
Usage
carryon script.py
This creates a self-contained executable that includes all non-stdlib dependencies.
Options:
-o, --output- Specify output file-p, --packages- Include complete packages-f, --file FILE ARCNAME- Add extra files to the bundle
How it works
Carryon appends a ZIP archive with all dependencies to your script, making it self-contained while still being a valid Python script.
Not a heavyweight solution like PyInstaller and other "checked luggage" tools. It still requires a python interpreter.
The script portion can still be edited after packaging - just ensure your editor preserves binary data and doesn't add a newline at EOF. For vim, use: vim -b script_packaged.py # binary mode
Metadata
Release files for CarryOn 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| carryon-0.1.3.tar.gz | 5.2 kB | Without provenance | Details for carryon-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| CarryOn-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for CarryOn-0.1.3-py3-none-any.whl |
Total release size: 11.3 kB
Release files / carryon-0.1.3.tar.gz
| Download URL | carryon-0.1.3.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
285bc2ac7fdc72228c7695a0907c454c4fd42f6c14978c2cbd691156eb86dcfb
|
|
BLAKE2b-256 checksum How to use checksums |
9058989073d8d80ec1604a5fedb5110483db282ccc8affb57ec3eccbcf2ed397
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / CarryOn-0.1.3-py3-none-any.whl
| Download URL | CarryOn-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d333708ddccafabf6b23f42910e0d79fff124b8ebd4a6131be6711cdac34b4dc
|
|
BLAKE2b-256 checksum How to use checksums |
cea6d8210a6d0d4cc117c40fcca0022e4a937df48c05984a5bef28822a4682e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for CarryOn 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.