Skip to main content

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


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.10.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iversions-0.0.10-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file iversions-0.0.10.tar.gz.

File metadata

  • Download URL: iversions-0.0.10.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for iversions-0.0.10.tar.gz
Algorithm Hash digest
SHA256 f2a53e93cb7e1f7b6f014f4998396bd2eaedef788729fb43585cde0ec4e2de65
MD5 8950ce7530ed46d31be1d0bf69d8187e
BLAKE2b-256 b16d92b05ff6e658ab280dd1f3a095357aa02d250ce140a419b079c682808158

See more details on using hashes here.

File details

Details for the file iversions-0.0.10-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for iversions-0.0.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a84ad040d1b6e099755a2b3d0ea4044520269db5c6ec28ef66cd032c78edb0b7
MD5 794eb31f660d396b44ed6cfe88b43656
BLAKE2b-256 44dd0b2e38fbc26b69b120f4bb092c1997df53d74847e1fffb030a726b19e434

See more details on using hashes here.

Supported by

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