Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

An extension for IPython that help to disassembly source and objects.

Project Description

.. -*- rst -*-


disassembling magic command for ipython

.. image::
:alt: Latest Version
.. image::
:alt: Downloads

The package may be installed as follows: ::

pip install dismagic

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

See the included AUTHORS.txt file for more information.

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

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(2.4 kB) Copy SHA256 Hash SHA256
Dumb Binary any Apr 1, 2016
(2.8 kB) Copy SHA256 Hash SHA256
Source None Apr 1, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate