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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypkgpack-0.4.0.tar.gz.
File metadata
- Download URL: pypkgpack-0.4.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a29e88c17c6a8f8cdff85e71a69e2fe7b79f0f6132d4493511546f54769dde9
|
|
| MD5 |
ba486b12a665d5b61e2eadc9abc78978
|
|
| BLAKE2b-256 |
74f175a0af3c7174d8fdea1b5dd2a9885840841fcb08e24f233032220ae7b85f
|
File details
Details for the file pypkgpack-0.4.0-py3-none-any.whl.
File metadata
- Download URL: pypkgpack-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0abd5ca1a4446b33855e5fa52fb982381f363834fafd27f55684b66c36819090
|
|
| MD5 |
4119f2af0f6d16c087c63bdd6a422c05
|
|
| BLAKE2b-256 |
4d4150a0cdf8167a5c8c84e0bd0e08a72701ef04f90f8f80d98b4f9d5576ce3d
|