Bundling your Python project into a single Python file.
Project description
PyPkgPack
Bundling a pure Python package into a single Python file.
Usage:
> pypkgpack /path/to/mypackage --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.2.2.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for pypkgpack-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e218f3a3993b63fd8b913bb9b0abab65a3b1e4ec96e44d7096f0eb7b85e1daa1 |
|
MD5 | f7a4e5af1a9ce5e0168c91a02dd2ed18 |
|
BLAKE2b-256 | 165e4f925b508f119e218535069279e7b0b3979516eaa8a0e9b841d87df8c50b |