GithubHelp home page GithubHelp logo

iamaziz / iversions Goto Github PK

View Code? Open in Web Editor NEW
16.0 4.0 1.0 3 KB

A simple IPython/Jupyter cell magic command to display name and version of imported modules.

License: MIT License

Jupyter Notebook 49.61% Python 50.39%
ipython-magic ipython jupyter-notebook

iversions's Introduction

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

iversions's People

Contributors

iamaziz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

fagan2888

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.