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 | |
|---|---|---|---|
| plainkitbin_reqextract-1.0.0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plainkitbin_reqextract-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
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
|