Package Finder CLI
A command-line tool to recursively scan a directory for Node.js and Python projects. It extracts basic metadata (name and version) from project files like package.json, pyproject.toml, and setup.py, and outputs the results to a JSON file.
✨ Features
- ✅ Supports Node.js (
package.json) with package manager detection (npm,yarn,pnpm) - ✅ Supports Python (
pyproject.toml,setup.py) - ✅ Ignores unnecessary folders like
node_modules/,.git/,.venv/,dist/, etc. - ✅ Skips symlinked directories to avoid cycles and unnecessary traversal
- ✅ Displays real-time progress using
tqdm - ✅ Built with
clickfor a clean subcommand-based CLI
🚀 Installation
pip install package-finder
📦 Usage
# Scan Python projects
find-package python <input_folder> <output.json>
# Scan Node.js projects
find-package node <input_folder> <output.json>
Metadata
Release files for package-finder 0.1.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 |
|---|---|---|---|---|
| package_finder-0.1.1.tar.gz | 5.8 kB | Without provenance | Details for package_finder-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| package_finder-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for package_finder-0.1.1-py3-none-any.whl |
Total release size: 10.5 kB
Release files / package_finder-0.1.1.tar.gz
| Download URL | package_finder-0.1.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d63c288a388d9bd951882d43c713c6ea07ee7552317b64ad52b1925c05f0107
|
|
BLAKE2b-256 checksum How to use checksums |
ac3c530421d56441316fc191ec028895240f8a9b3d70eccb2feacfe577bea8e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / package_finder-0.1.1-py3-none-any.whl
| Download URL | package_finder-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ff4cd80a4cc8e5c3a1ac937639e877055582dac7ac95bf93b55717024dd47db
|
|
BLAKE2b-256 checksum How to use checksums |
5912d83102eb967dd374e3e3165c5c4cf49bdedd0956f5e2201d93026dd23de8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for package-finder 0.1.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.