Bundling your Python project into a single Python file.
Project description
PyPkgPack
Bundling multiple Python packages into a single Python file.
Usage:
> pypkgpack /path/to/mypackage1 /path/to/mypackage2 --out bundled_package.py
> python
python> import bundled_package
python> from mypackage.mymodule import myfunction
python> print(myfunction())
Features:
- bundling a Python package into a single Python file
- caching bytecode compilation and cache invalidation
- fixing the missing
__init__.py
- allow multiple source code implementations for the same module
- respect Python's import semantics
- bundled modules need no extra dependencies
- support bundling binaries and assets
- allow lazy imports
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
pypkgpack-0.3.0.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for pypkgpack-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 659fd4e5bd07dd4c39f8ebe8a9a4342425a5946fb05b00bd40afa1c5b09ac77a |
|
MD5 | 47cbd87af172de2663083b115cf6adce |
|
BLAKE2b-256 | ab85112c51170b1e189e61fd3d54446cfa0e5788df11f0774127f99737a0879e |