https://github.com/iamaziz/iversions
A simple IPython/Jupyter cell magic command to display name and version of imported modules.
https://github.com/iamaziz/iversions
ipython ipython-magic jupyter-notebook
Last synced: about 1 month ago
JSON representation
A simple IPython/Jupyter cell magic command to display name and version of imported modules.
- Host: GitHub
- URL: https://github.com/iamaziz/iversions
- Owner: iamaziz
- License: mit
- Created: 2017-08-27T18:43:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-27T22:44:37.000Z (over 7 years ago)
- Last Synced: 2025-03-15T05:46:19.985Z (about 1 month ago)
- Topics: ipython, ipython-magic, jupyter-notebook
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
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
^^^^^^^^^^^^.. code:: bash
$ pip install iversions
Usage
^^^^^.. code:: python
In [1]: %load_ext iversions
In [2]: import numpy as np
...: import pandas as pd
...: import tensorflow as tf
...: import os
...: import sysIn [3]: %iversions
numpy 1.13.1
pandas 0.20.3
tensorflow 1.3.0Python 3.6.2 [Sun Aug 27, 2017 13:50:43]
In [4]:
Inspired by amazing similar projects:
=====================================- `version\_information `__
- `watermark `__TODO
====- Add a feature to output to ``requirements.txt``
KNOWN ISSUES
============- Non-module imports do not work e.g. ``from X import Y``