Amper / dismagic

Disassembling magic command for ipython

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dismagic

disassembling magic command for ipython -------------------

Latest Version

Downloads

Installation

The package may be installed as follows: :

pip install dismagic

or in iPython shell:

%install_ext https://raw.githubusercontent.com/Amper/dismagic/master/dismagic.py

After installation, the extension may be loaded within an IPython session with :

%load_ext dismagic

Usage Examples

Disassembly a source:

%dis x = a + b

%dis "x = a + b"

src = "x = a + b"

%dis src

Disassembly an object:

func = lambda x, y: x + y

%dis func

Author

See the included AUTHORS.txt file for more information.

License

This software is licensed under the BSD License. See the included LICENSE.txt file for more information.

About

Disassembling magic command for ipython

License:Other


Languages

Language:Python 100.0%