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.4.0.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for pypkgpack-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0abd5ca1a4446b33855e5fa52fb982381f363834fafd27f55684b66c36819090 |
|
MD5 | 4119f2af0f6d16c087c63bdd6a422c05 |
|
BLAKE2b-256 | 4d4150a0cdf8167a5c8c84e0bd0e08a72701ef04f90f8f80d98b4f9d5576ce3d |