Recursive Package Size
Learn after-install weight of any Python package including its dependencies.
The tool will loop over your project dependencies, install each dependency in its own venv and report the actual size including dependency tree.
This is useful for optimizing dependencies of your large applications, libraries or containers.
This is especially useful in machine learning context, where dependencies easily explode into gigabates.
Installation
pip install python-package-size
Usage
python-package-size -r pyproject.toml
or
python-package-size -r requirements.txt
Example output
mypy: 43.7 MB
awscli: 34.0 MB
black: 6.7 MB
pylint: 6.5 MB
pytest: 2.5 MB
Metadata
Release files for python-package-size 1.0.1
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 |
|---|---|---|---|---|
| python_package_size-1.0.1.tar.gz | 14.6 kB | Without provenance | Details for python_package_size-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_package_size-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for python_package_size-1.0.1-py3-none-any.whl |
Total release size: 19.9 kB
Release files / python_package_size-1.0.1.tar.gz
| Download URL | python_package_size-1.0.1.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc4c645ad4e0ac4f86de086cd61166968af3a44ab73ef748b0a3c28d7423097b
|
|
BLAKE2b-256 checksum How to use checksums |
ac4d5b6b0875a0b363b33f5b6befc227b2464906b8cba1f56eb574d75cfb4af1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|
Release files / python_package_size-1.0.1-py3-none-any.whl
| Download URL | python_package_size-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33cd61f6bad52866d9c5d9576374843b2054372d1720e512cff70550785cd005
|
|
BLAKE2b-256 checksum How to use checksums |
482d1d1f6be64d25991cd28f04932c29dba5117f3ccbb61ba1002d4be933c00c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|
Security for python-package-size 1.0.1
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.