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


Download files

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

Source Distribution

dismagic-0.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

dismagic-0.0.1.macosx-10.10-x86_64.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file dismagic-0.0.1.tar.gz.

File metadata

  • Download URL: dismagic-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dismagic-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4b880d5d0f78eec0dafb458c8f9c5b2bedc0f2a16260c48532727173c9ea468d
MD5 c48c83a3a42a58e4285e3d4692afc810
BLAKE2b-256 f37e4d7a91e36cf6dffd3e16b1b677ddbb75666734af2b42c0c2ed61e0cbebc9

See more details on using hashes here.

File details

Details for the file dismagic-0.0.1.macosx-10.10-x86_64.tar.gz.

File metadata

File hashes

Hashes for dismagic-0.0.1.macosx-10.10-x86_64.tar.gz
Algorithm Hash digest
SHA256 f50fac8092ead715a88ece36c2335ae2fc4eae9b637bf5c0b1f747742a256ac3
MD5 4e1ef1a6f4615c773931bc397452e2fb
BLAKE2b-256 ad3cdee9626654abd130c23c783d7946676d946a9c776fe563971892a2852d3f

See more details on using hashes here.

Supported by

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