Skip to main content

A cell magic command for IPython/Jupyter to display name and version of the imported modules

Project description


A cell magic command for IPython/Jupyter to display name and version of all imported (non built-in) modules in the current session.


$ pip install iversions


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:


  • Add a feature to output to requirements.txt


  • Non-module imports do not work e.g. from X import Y

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 iversions, version 0.0.10
Filename, size File type Python version Upload date Hashes
Filename, size iversions-0.0.10.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View
Filename, size iversions-0.0.10-py2.py3-none-any.whl (4.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

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