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.2.tar.gz (3.6 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.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: findpkg-0.1.2.tar.gz
  • Upload date:
  • Size: 3.6 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.2.tar.gz
Algorithm Hash digest
SHA256 863a746245c447af25d52de355496dd491aa7fe431017cc0ee31f48ad9d58625
MD5 4e43b3dd761f115b0b850550bb11a4f6
BLAKE2b-256 2e4284388682af9ca5f77b842afb655f83a82600abbfa2286aa18a7ad6c1069a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: findpkg-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 720bea00ea75af7d687fa45502fc2136e56be8f18d1349e81d843a60085d7aac
MD5 0bfbe7cf9f91f2b3e5e18ccb6bf9c91a
BLAKE2b-256 cbbf3b08a634789d2e5b1c4e32b0f3207320993d8cd83c63405b9e5fded2375b

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