report size of python package with its deps using uv
Project description
uv-packsize
report size of python package with its deps using uv
Installation
Install this tool using pip:
pip install uv-packsize
or using uv:
uv tool install uv-packsize
Usage
For help, run:
uv-packsize --help
Usage: uv-packsize [OPTIONS] [PACKAGE_NAMES]...
Report the size of a Python package and its dependencies using uv.
Options:
--version Show the version and exit.
--bin Include the size of binaries in the .venv/bin directory.
-p, --python TEXT Specify the Python version for the virtual environment.
--help Show this message and exit.
You can also use:
python -m uv_packsize --help
Example
uv-packsize apache-airflow==3.0.0
Multiple Packages
You can also specify multiple packages to calculate the total size of all of them combined.
uv-packsize 'iniconfig==2.0.0' six
Calculating size for iniconfig==2.0.0, six...
Creating virtual environment...
Installing iniconfig==2.0.0, six and its dependencies...
Analyzing sizes...
--- Package Sizes ---
Package Size
------------------- --------
iniconfig 12.88 KB
six 3.36 KB
------------------- --------
Total Package Size 16.24 KB
Total size: 16.24 KB
Calculation complete.
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment using uv:
make sync
To run the tests:
make test
To run all formatting and linting, type check:
make check
this also runs cog on README.md and updates the help message inside it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 uv_packsize-0.1.1.tar.gz.
File metadata
- Download URL: uv_packsize-0.1.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a24b1adc629560ea17d73648b557311147c79e9fd266de72efb45a2673035c84
|
|
| MD5 |
ad22e270e88380d46ffc892da74191c7
|
|
| BLAKE2b-256 |
8ffc60b9912f40ceeb0138e2f0720c78ce6d4a24615dc46c14c04651cdcf5e1e
|
Provenance
The following attestation bundles were made for uv_packsize-0.1.1.tar.gz:
Publisher:
publish.yml on kj-9/uv-packsize
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uv_packsize-0.1.1.tar.gz -
Subject digest:
a24b1adc629560ea17d73648b557311147c79e9fd266de72efb45a2673035c84 - Sigstore transparency entry: 550066342
- Sigstore integration time:
-
Permalink:
kj-9/uv-packsize@7ea391794f6389efe1c621cc930c1590e516c655 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/kj-9
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7ea391794f6389efe1c621cc930c1590e516c655 -
Trigger Event:
release
-
Statement type:
File details
Details for the file uv_packsize-0.1.1-py3-none-any.whl.
File metadata
- Download URL: uv_packsize-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29b85f9be2af3435c5e29d22e72d0af39bfb425621bf5c18f71ac02f29894247
|
|
| MD5 |
afcbe0dd2711997288c0a85b83719ce4
|
|
| BLAKE2b-256 |
08eb6b59668a2636f943c7e0af05ec847c320709996f69cc83903a35f6285503
|
Provenance
The following attestation bundles were made for uv_packsize-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on kj-9/uv-packsize
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uv_packsize-0.1.1-py3-none-any.whl -
Subject digest:
29b85f9be2af3435c5e29d22e72d0af39bfb425621bf5c18f71ac02f29894247 - Sigstore transparency entry: 550066358
- Sigstore integration time:
-
Permalink:
kj-9/uv-packsize@7ea391794f6389efe1c621cc930c1590e516c655 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/kj-9
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7ea391794f6389efe1c621cc930c1590e516c655 -
Trigger Event:
release
-
Statement type: