A cell magic command for IPython/Jupyter to display name and version of the imported modules
Project description
iversions
A cell magic command for IPython/Jupyter to display name and version of all imported (non built-in) modules in the current session.
Installation
$ pip install iversions
Usage
In [1]: %load_ext iversions
In [2]: import numpy as np
...: import pandas as pd
...: import tensorflow as tf
...: import os
...: import sys
In [3]: %iversions
numpy 1.13.1
pandas 0.20.3
tensorflow 1.3.0
Python 3.6.2 [Sun Aug 27, 2017 13:50:43]
In [4]:
Inspired by amazing similar projects:
TODO
Add a feature to output to requirements.txt
KNOWN ISSUES
Non-module imports do not work e.g. from X import Y
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
iversions-0.0.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for iversions-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aca9918a362657fa61d1a63f147c58ef83eefdbcae2bd6cce302c7ae2295706b |
|
MD5 | 7ce51bf8041df2903b1d0dc6508b81a8 |
|
BLAKE2b-256 | 89535fc2f9b9f648ce3ce76519274aafdab697b7c5fc31f9391f34649c3af17e |