freezeburn
Freeze what you actually use.
Generate requirements.txt from real imports + installed packages.
Install
pip install freezeburn
Usage
freezeburn # Scan current directory
freezeburn /path/to/project # Scan specific directory
freezeburn -o requirements.txt # Custom output file
freezeburn -q # Suppress warnings
What It Does
- Scans
.pyfiles (respects.gitignoreand.reqignore) - Extracts imports via AST
- Detects stdlib dynamically (
sys.stdlib_module_names) - Intersects with installed packages
- Outputs exact pinned versions
Ignore Files
Create .reqignore for freezeburn-specific exclusions:
tests/
scripts/
examples/*.py
Uses gitignore syntax. .gitignore is also respected.
How It Works
Imports (AST) + Installed (env) = requirements.txt
| | |
flask flask==2.3.2 flask==2.3.2
requests requests==2.31 requests==2.31
mymodule (not installed) (skipped + warning)
os (stdlib) (skipped)
Requirements
- Python 3.10+
- Activated virtualenv with your dependencies
License
GPL-3.0
Metadata
Release files for freezeburn 0.6.0
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 |
|---|---|---|---|---|
| freezeburn-0.6.0.tar.gz | 23.4 kB | Without provenance | Details for freezeburn-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| freezeburn-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for freezeburn-0.6.0-py3-none-any.whl |
Total release size: 47.6 kB
Release files / freezeburn-0.6.0.tar.gz
| Download URL | freezeburn-0.6.0.tar.gz |
|---|---|
| Size | 23.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9d81f190ebef1498daee8121acedb8dcbfd8f280272f30313652ff14d888784
|
|
BLAKE2b-256 checksum How to use checksums |
0b01ecdcb488d5015a502d05e1603208ced8250a95fcfc31431b6dc8714bb622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / freezeburn-0.6.0-py3-none-any.whl
| Download URL | freezeburn-0.6.0-py3-none-any.whl |
|---|---|
| Size | 24.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3534d18b17b15d854a219bd8fd60fc89f9227cc2e28567b3ec365ea09be21bf0
|
|
BLAKE2b-256 checksum How to use checksums |
00ba464cdf451a92e02692b0765c1227ef6adf137d0813c5123ad5db2da87753
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for freezeburn 0.6.0
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.