Skip to main content

Python cross-version byte-code disassembler and marshal routines

Project description

buildstatus

xdis

Cross-Python bytecode Disassembler and Marshal routines

Introduction

The Python dis module allows you to disassemble byte from the same version of Python that you are running on. But what about bytecode from different versions?

That’s what this package is for. It can marshal load Python bytecodes from different versions of Python. The command-line routine pydisssemble will show disassembly output using Python 3.5 disassembly conventions

It accepts bytecodes from Python version 2.3 to 3.5 or so. The code requires Python 2.5 or later and has been tested on Python running versions 2.5 2.6, 2.7, pypy-5.0.1, 3.2, 3.3, 3.4 and 3.5.

Installation

This uses setup.py, so it follows the standard Python routine:

pip install -r requirements.txt
pip install -r requirements-dev.txt
python setup.py install # may need sudo
# or if you have pyenv:
python setup.py develop

A GNU makefile is also provided so make install (possibly as root or sudo) will do the steps above.

Testing

make check

A GNU makefile has been added to smooth over setting running the right command, and running tests from fastest to slowest.

If you have remake installed, you can see the list of all tasks including tests via remake --tasks

Usage

Run

./bin/pydisassemble -h

for usage help.

See Also

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

xdis-1.0.3.tar.gz (53.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

xdis-1.0.3-py3.5.egg (101.5 kB view details)

Uploaded Egg

xdis-1.0.3-py3.4.egg (101.7 kB view details)

Uploaded Egg

xdis-1.0.3-py2.py3-none-any.whl (46.0 kB view details)

Uploaded Python 2Python 3

xdis-1.0.3-py2.7.egg (98.8 kB view details)

Uploaded Egg

xdis-1.0.3-py2.6.egg (99.2 kB view details)

Uploaded Egg

File details

Details for the file xdis-1.0.3.tar.gz.

File metadata

  • Download URL: xdis-1.0.3.tar.gz
  • Upload date:
  • Size: 53.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdis-1.0.3.tar.gz
Algorithm Hash digest
SHA256 eeec963197492a89ebbf6cad82b0ebe1058d084b46e1374c5e6d7608e238a1aa
MD5 cf6b90e0d06cda74f497c6a0a40f0989
BLAKE2b-256 21f30ae23483676dd0e50c71d3cd9678bae04c54952a19825ed2285cd47e8cf8

See more details on using hashes here.

File details

Details for the file xdis-1.0.3-py3.5.egg.

File metadata

  • Download URL: xdis-1.0.3-py3.5.egg
  • Upload date:
  • Size: 101.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdis-1.0.3-py3.5.egg
Algorithm Hash digest
SHA256 3e65e584ac948060be78b6364978b0f637a5d9bd8a2588acb89987824ee70586
MD5 d715daef789b75f535748755bc0fd98c
BLAKE2b-256 d92cc1f0ac4265f400c09af975930f3d9f4608f18a289d0681e5f4d22502d77e

See more details on using hashes here.

File details

Details for the file xdis-1.0.3-py3.4.egg.

File metadata

  • Download URL: xdis-1.0.3-py3.4.egg
  • Upload date:
  • Size: 101.7 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdis-1.0.3-py3.4.egg
Algorithm Hash digest
SHA256 a7527d0bd236d99d663e598273cd991767fa74358918d5cf1b0dbff392bfae34
MD5 396ecc0c9dcd96b74638669246fd039b
BLAKE2b-256 f241acd26f04c0f768d70d1a5a1959c1244d07b7f2372a4f16f47d677c97911e

See more details on using hashes here.

File details

Details for the file xdis-1.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for xdis-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 40381dfb051cca33942b1237beceeede70e0997351cc2e5a9a61388899d67f75
MD5 2c53d94be08e4512481f8a124e495815
BLAKE2b-256 d1417d9960185d8b2422218ca497d07924abca997f3faba40fdff245cbf21425

See more details on using hashes here.

File details

Details for the file xdis-1.0.3-py2.7.egg.

File metadata

  • Download URL: xdis-1.0.3-py2.7.egg
  • Upload date:
  • Size: 98.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdis-1.0.3-py2.7.egg
Algorithm Hash digest
SHA256 09e8aba096501b6da112964974a2218378c17b78cb3e4fee32c79830e01dfc74
MD5 c5586546ac9f1959083620722cd1bc5d
BLAKE2b-256 1a3b6e87e73dc06a3a0c00df6d997327720fefd5451c6dd5d09cfe5ec834b85c

See more details on using hashes here.

File details

Details for the file xdis-1.0.3-py2.6.egg.

File metadata

  • Download URL: xdis-1.0.3-py2.6.egg
  • Upload date:
  • Size: 99.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdis-1.0.3-py2.6.egg
Algorithm Hash digest
SHA256 96ebd90b16fb09170ffb4017569adc1f1dd048260780437486d9b02b73a8a37e
MD5 f16a7f75f20f033e364c4a1b2c72f0e7
BLAKE2b-256 c31bfa628f2cc1fa1de6fea72f0d76c642c45cf7603075a02449947735a7fd4a

See more details on using hashes here.

Supported by

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