Skip to main content

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 click for 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)

Source distribution for package-finder 0.1.1
File Size Uploaded
package_finder-0.1.1.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for package-finder 0.1.1
File Interpreter ABI Platform
package_finder-0.1.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page