🔍 findreq — Auto-detect Missing Python Dependencies
findreq is a lightweight Python utility that scans your project directory and automatically detects:
- Built-in modules
- Local project modules
- Third-party packages
It suggests the exact pip install commands for missing dependencies. Perfect for debugging dependency issues or preparing a clean requirements.txt.
🚀 Features
- ✅ Auto-detects built-in, local, and third-party modules.
- 📁 Scans nested directories and submodules.
- ⚙️ Detects standard library modules automatically.
- 🧠 Uses PyPI lookup for third-party packages with caching.
- 💻 Works on Linux, macOS, and Windows.
📦 Installation
pip install findreq
Or install the latest development version directly from GitHub:
pip install git+https://github.com/syedrakesh/findreq.git
🧰 Usage
🔸 Scan the current project (default)
from findreq import scan
fp = scan() # scans the current working directory
fp.print_summary()
print("Pip install command:", fp.install_command())
🔸 Scan a specific project directory
from findreq import scan
fp = scan("/path/to/your/project")
print("Built-in modules:", fp.built_in)
print("Local modules:", fp.local)
print("Third-party packages:", fp.third_party)
fp.print_summary()
print("Pip install command:", fp.install_command())
🧱 Project Structure
findreq/
├── findreq/
│ └── __init__.py
├── LICENSE
├── README.md
└── pyproject.toml
findreq/— Python package codeLICENSE— MIT licenseREADME.md— Project documentationpyproject.toml— Build and package metadata
🧑💻 Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.
⚖️ License
This project is licensed under the MIT License — see the LICENSE file for details.
Made with ❤️ by Syed Rakesh Uddin
“Code smart, automate smarter.”
Metadata
Release files for findreq 0.1.8
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 |
|---|---|---|---|---|
| findreq-0.1.8.tar.gz | 5.7 kB | Without provenance | Details for findreq-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| findreq-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for findreq-0.1.8-py3-none-any.whl |
Total release size: 10.9 kB
Release files / findreq-0.1.8.tar.gz
| Download URL | findreq-0.1.8.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b274c9be83d862e8a6d9504a6a3556faf983d03b2c9b0700f55c6729165708d4
|
|
BLAKE2b-256 checksum How to use checksums |
d615398d5a2431acc7bbc0a88f446af3a60f85f84d3752c57892b054163c1d26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / findreq-0.1.8-py3-none-any.whl
| Download URL | findreq-0.1.8-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
223af7dba5a79b1af4eb6234b414202b1dd900da5ac6fd17eda2c7e6294280e4
|
|
BLAKE2b-256 checksum How to use checksums |
e3469aca4a0a5a3030ecd0edda3b5b01d4ae3e97fe759c3a33b60e4f84ab729a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for findreq 0.1.8
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.