Skip to main content

A module to find modules

Project description

A tool to locate the Python modules that your interpreter has access to.

whych is only run as a “command-line module” with the -m flag to the Python interpreter, from the REPL or from a notebook. whych is not as a standalone executable, so that the Python interpreter that is used is obvious.


>From the command-line:

$ python3 -m whych collections
Python executable: /usr/bin/python3
Module "collections" found at location: /usr/lib/python3.5/collections

$ python -m whych numpy --module-version
Python executable: /usr/bin/python
Module "numpy" found at location: /usr/lib/python2.7/dist-packages/numpy
numpy version: 1.12.0b1

>From an interpreter:

>>> import whych
>>> whych.whych('pip')
Python executable: /usr/bin/python3
Module "pip" found at location: /home/pierre/.local/lib/python3.5/site-packages/pip


pip install whych

Project details

Download files

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

Files for whych, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size whych-0.2.1-py2.py3-none-any.whl (4.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size whych-0.2.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page