ReqExtract
Extract 3rd-party requirements from Python code. reqextract makes no network requests and sends no telemetry; it only reads local .py files and writes stdout or the given output file. reqextract is stdlib-only and requires no third-party dependencies.
Install
pip install plainkitbin-reqextract
Usage
reqextract ./myproject
reqextract ./myproject -o requirements_draft.txt
Limitations
Uses AST to statically find import statements. It filters out standard library modules to give you a rough draft of your requirements.txt. It does not execute code and does not extract versions. It skips common ignored directories like .git, node_modules, venv, and __pycache__.
Free and open source (MIT license, see LICENSE). No nagware.
Part of the PlainKitBin toolset.
Provided as-is with no individual support.
Built with AI assistance and automatically tested before release; released under human oversight.
Metadata
Release files for plainkitbin-reqextract 1.0.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 |
|---|---|---|---|---|
| plainkitbin_reqextract-1.0.0.tar.gz | 4.2 kB | Without provenance | Details for plainkitbin_reqextract-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plainkitbin_reqextract-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for plainkitbin_reqextract-1.0.0-py3-none-any.whl |
Total release size: 9.0 kB
Release files / plainkitbin_reqextract-1.0.0.tar.gz
| Download URL | plainkitbin_reqextract-1.0.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6676e3f64eeab5eff22e61351cb6d397ff8f9aed7e5cd302f680e487b29b99c2
|
|
BLAKE2b-256 checksum How to use checksums |
d1cf205e320e6a23073a42cd35bba3d89eb1023a5cac035ae707fa14becf2b86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / plainkitbin_reqextract-1.0.0-py3-none-any.whl
| Download URL | plainkitbin_reqextract-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf7bb28bd599823191596027fd098c2c5cac950a03e3a77be1fcfb4670631dfe
|
|
BLAKE2b-256 checksum How to use checksums |
ccd42157a70b90a4e4b1512b90e572d7c59d79749c09da4d487dc1114a67991b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for plainkitbin-reqextract 1.0.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.