Skip to main content

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

Project description

.. -*- rst -*-

dismagic
========

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

.. image:: https://img.shields.io/pypi/v/dismagic.svg
:target: https://pypi.python.org/pypi/dismagic
:alt: Latest Version
.. image:: https://img.shields.io/pypi/dm/dismagic.svg
:target: https://pypi.python.org/pypi/dismagic
:alt: Downloads

Installation
------------
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

Author
------
See the included AUTHORS.txt file for more information.

License
-------
This software is licensed under the
`BSD License <http://www.opensource.org/licenses/bsd-license.php>`_.
See the included LICENSE.txt file for more information.

Project details


Release history Release notifications

This version
History Node

0.0.1

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
dismagic-0.0.1.macosx-10.10-x86_64.tar.gz (2.4 kB) Copy SHA256 hash SHA256 Dumb Binary any Apr 1, 2016
dismagic-0.0.1.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None Apr 1, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page