Python package dependency analytics. Know what you depend on!
Project description
repute
Are your python project dependencies of good repute? Now you can run repute to describe the health of your dependencies based on data sources from the web.
Quickstart guide
- Generate a
requirements.txtfile for your project. For illustration, we'll use thedemo/requirements.txtfile in this repo. - Install repute like
pip install repute, ideally in its own virtual environment, so that it does not become part of the project that you want to analyze. - Run
repute demo/requirements.txtto analyze the health of your dependencies:
$ repute demo/requirements.txt
/Users/me/Desktop/mycloud/repos/repute/repute/requirements.py:31: UserWarning: ignoring editable installation: '-e file:///my/repo/path'
warnings.warn(f"ignoring editable installation: '{line}'")
Fetching data from PyPI: 100%|████████████████████████████████████████████████████████████████████████████████████████████| 58/58 [00:07<00:00, 7.41it/s]
Fetching data from GitHub: 100%|██████████████████████████████████████████████████████████████████████████████████████████| 27/27 [00:02<00:00, 9.47it/s]
Summarizing 56 dependencies:
Oldest dependencies:
pypi:version_age_days
name version
jsonpatch 1.33 641
azure-datalake-store 0.0.53 678
mpmath 1.3.0 743
Dependencies that we could not locate on GitHub:
name version
0 ruamel-yaml 0.18.10
1 ruamel-yaml-clib 0.2.12
Dependencies with fewest GitHub stars:
gh:stars
name version
astropy-iers-data 0.2025.3.17.0.34.53 3
jsonschema-specifications 2024.10.1 11
propcache 0.3.0 17
See repute.csv for detailed results.
Installation
Installation:
- We're on pypi, so
pip install repute. - Consider using the simplest-possible virtual environment if working directly on this repo.
Context and discussion
Assessing the quality of python dependencies is a complex problem that goes far beyond the scope of this package. Here's a brief overview of the types of factors that could be considered in a more comprehensive review:
-
Dependency health metrics:
- Total dependency count (direct and transitive)
- Dependency tree depth
- Presence of known problematic dependencies
- Supply chain integrity (signed packages, integrity verification)
-
Maintenance indicators:
- Time since last commit/release
- Release frequency and consistency
- Issue resolution time
- Pull request responsiveness
- Number of active maintainers
- Bus factor (concentration of commits among maintainers)
-
Code quality metrics:
- Test coverage percentage
- CI/CD pipeline robustness
- Static analysis scores
- Documentation completeness
- Adherence to PEP standards
- Type hint coverage
- Presence of deprecation warnings
-
Community health:
- GitHub stars/forks trend over time
- Download statistics from PyPI
- Stack Overflow question frequency and answer rates
- Corporate backing or foundation support
-
Operational considerations:
- Package size (both download and installed)
- Import time impact
- Memory footprint
- Performance benchmarks
- Compatibility with target Python versions
- Platform compatibility (Windows/Linux/macOS)
-
Security-specific indicators:
- OSSF Scorecard results
- Use of memory-unsafe dependencies (C extensions)
- History of CVEs and their severity
- Time to patch previous vulnerabilities
- Application of secure coding practices
- Two-factor authentication usage by maintainers
- Dependency pinning practices
-
Build process integrity:
- Reproducible builds support
- Build artifact signing
- Provenance information availability
- Software Bill of Materials (SBOM) availability
-
API stability:
- Breaking change frequency
- Deprecation policy adherence
- Semantic versioning compliance
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
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 repute-0.1.2.tar.gz.
File metadata
- Download URL: repute-0.1.2.tar.gz
- Upload date:
- Size: 129.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2100ad5cef98206d748863c9279dce33c220b21a15a44de75b7c6eef0719c8c
|
|
| MD5 |
e83986049a42993c48ceb5aac77b408d
|
|
| BLAKE2b-256 |
fcbc93edf01c2a6f6e123995660e0c87b16ff2034dbca525e9531d228a8d11c9
|
File details
Details for the file repute-0.1.2-py3-none-any.whl.
File metadata
- Download URL: repute-0.1.2-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35cfb623aa6b89047b798a881585c0b167e19938c9c716c7d8c68921a97eefd3
|
|
| MD5 |
f7997624928322c89ebf89af0504d92d
|
|
| BLAKE2b-256 |
7f630a44a7c1039a157a5445b30c06376db1044e959ee61e930747d15b11d3af
|