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.

Examples

>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

Installation

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.

Source Distribution

whych-0.2.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

whych-0.2.1-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file whych-0.2.1.tar.gz.

File metadata

  • Download URL: whych-0.2.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for whych-0.2.1.tar.gz
Algorithm Hash digest
SHA256 179fe80744d4051be84082ff338201c4006507ae544d329b0416477975d27ddf
MD5 6776b186b589a2a3461f49ca044ad621
BLAKE2b-256 ebddbe6d8a1bd3e52d350e422488b37d95b09300d4e392a02e64e060fe919254

See more details on using hashes here.

File details

Details for the file whych-0.2.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for whych-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6b2eb66b7334f1f2087adbf37ee4a2997780bf8866b28f3ff7d5f6614e1ba303
MD5 531da1c9e6e678d1c88e0df204260b03
BLAKE2b-256 58e763af919a428d5dbbd334e1fcf377bcb34ad2b091d98610344d760f64b31f

See more details on using hashes here.

Supported by

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