unref
Find unreferenced Python code.
unref reports the functions, classes and methods in a Python codebase that nothing references.
Why
Finding dead code needs whole-program analysis: a function is unused only if no file in the project references it. Ruff analyses one file at a time and does not have this feature yet, see astral-sh/ruff#872.
Use unref today, and migrate when Ruff ships it.
Contributing
See CONTRIBUTING.md.
Metadata
Release files for unref 0.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 |
|---|---|---|---|---|
| unref-0.0.1.tar.gz | 56.9 kB | Without provenance | Details for unref-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unref-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for unref-0.0.1-py3-none-any.whl |
Total release size: 59.5 kB
Release files / unref-0.0.1.tar.gz
| Download URL | unref-0.0.1.tar.gz |
|---|---|
| Size | 56.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
456577136ccd48252d3c2d71c205412fa0f24fa4a979c19329cddad86000f31d
|
|
BLAKE2b-256 checksum How to use checksums |
66cd1a60b996761c77aff3bb4ccc995d6527a29daca4cb00cba9d38e527c1208
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / unref-0.0.1-py3-none-any.whl
| Download URL | unref-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
edab2c037d480c3b0db0752d3cfdd49fdddfb03bc6b1406e0a2993f1cf86fa02
|
|
BLAKE2b-256 checksum How to use checksums |
a6e50b686b90ac03451e9af6a60ed6f9bd20f2aff1181ade6b816e1a7c907b59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for unref 0.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.