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
Metadata
Release files for whych 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| whych-0.2.1.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| whych-0.2.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / whych-0.2.1.tar.gz
| Download URL | whych-0.2.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
179fe80744d4051be84082ff338201c4006507ae544d329b0416477975d27ddf
|
|
BLAKE2b-256 checksum How to use checksums |
ebddbe6d8a1bd3e52d350e422488b37d95b09300d4e392a02e64e060fe919254
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / whych-0.2.1-py2.py3-none-any.whl
| Download URL | whych-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6b2eb66b7334f1f2087adbf37ee4a2997780bf8866b28f3ff7d5f6614e1ba303
|
|
BLAKE2b-256 checksum How to use checksums |
58e763af919a428d5dbbd334e1fcf377bcb34ad2b091d98610344d760f64b31f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |