Skip to main content

CLI tool to locate in which virtual environment a Python package is installed.

Project description

🔍 findpkg

findpkg is a simple Python CLI tool that helps you locate which virtual environments a specific Python package is installed in.


🚀 Features

  • Quickly search across local virtual environments
  • Works with standard Python & virtualenv/venv environments
  • Lightweight and fast

📦 Installation

Option 1: Install via pip

pip install findpkg

Option 2: Install from source (for development)

git clone https://github.com/<your-username>/findpkg.git
cd findpkg
pip install .

🛠 Usage

python -m findpkg <package_name>

Example

  • Input
python -m findpkg pandas
  • Output
Searching for package 'pandas'...

Package 'pandas' found in the following location(s):

→ C:\Users\User\Desktop\Projects\myenv1\Lib
→ C:\Users\User\Desktop\Projects\myenv2\Lib

Coming Soon

  • Unit test
  • Mac/Linux support (cross-platform paths)

🤝 Contributing

PRs are welcome! Please feel free to fork this repo and contribute.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

findpkg-0.1.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

findpkg-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file findpkg-0.1.1.tar.gz.

File metadata

  • Download URL: findpkg-0.1.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for findpkg-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c21b45808e828495bdddc03d0d0cde8e9f0ea88dca57fddc1b55ec845470d835
MD5 9a433b34efd188dd953e2073ca02195c
BLAKE2b-256 07f7851f991bc370f04a000f9635e5c161f4e27f868933361cd715ede45d3463

See more details on using hashes here.

File details

Details for the file findpkg-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: findpkg-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for findpkg-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec2d32ad8c5d14388e4213f24db1b5ff457f8673150fc94db569501779950486
MD5 35eeacea8cfb3b9422b4e53d4fe91a6a
BLAKE2b-256 7cedf8de3a5a94e58621c64b0fdca1d6e643e9a6459ba674b94695de3ecaf3d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page