Skip to main content

buildstatus

xdis

Cross-Python bytecode Disassembler and Marshal routines

Introduction

The Python dis module allows you to disassemble bytecode 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 pydisasm will show disassembly output using Python 3.5 disassembly conventions.

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

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/pydisasm -h

for usage help.

See Also

Metadata

Release files for xdis 3.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xdis 3.2.2
File Size Uploaded Provenance Actions
xdis-3.2.2.tar.gz 125.9 kB Without provenance Details for xdis-3.2.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for xdis 3.2.2
File Actions
xdis-3.2.2-py3.5.egg Legacy Egg format - - Details for xdis-3.2.2-py3.5.egg
xdis-3.2.2-py3.4.egg Legacy Egg format - - Details for xdis-3.2.2-py3.4.egg
xdis-3.2.2-py3.3.egg Legacy Egg format - - Details for xdis-3.2.2-py3.3.egg
xdis-3.2.2-py2.py3-none-any.whl Python 3, Python 2 none any Details for xdis-3.2.2-py2.py3-none-any.whl
xdis-3.2.2-py2.7.egg Legacy Egg format - - Details for xdis-3.2.2-py2.7.egg
xdis-3.2.2-py2.6.egg Legacy Egg format - - Details for xdis-3.2.2-py2.6.egg

Total release size: 891.1 kB

Release files / xdis-3.2.2.tar.gz

Download URL xdis-3.2.2.tar.gz
Size 125.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5b8c9b3d36a4f06f2341a08bdd536e70d8b8511f17aa9f64afa6cbac186a48dd
BLAKE2b-256 checksum
How to use checksums
3946b2b66c95de07f6864898510acb886dacc1221130669548ec860be4efed9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / xdis-3.2.2-py3.5.egg

Download URL xdis-3.2.2-py3.5.egg
Size 140.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
f3c39964545ba5891a2fe2548a3c143543c2f3c191b1b8bcfc60d848804f0f04
BLAKE2b-256 checksum
How to use checksums
054dacfe171d17d090f9853be228ecb40e5b5f818a5ef4b437dbf86df5df336c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / xdis-3.2.2-py3.4.egg

Download URL xdis-3.2.2-py3.4.egg
Size 140.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
e21b424b56d093c11c04d2662d2037ddc5093dd21d5a806c9d8c2091e4190504
BLAKE2b-256 checksum
How to use checksums
ee2e7c522374bfd12511110a2d718960932a9b86515161f4ad6d64f51dcf558b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / xdis-3.2.2-py3.3.egg

Download URL xdis-3.2.2-py3.3.egg
Size 141.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
26fe24c96b8c3c3384609cad637de21d88c2d0b9e16b283ce9b2420b45b85f3f
BLAKE2b-256 checksum
How to use checksums
7b7bba0d5f389cd0f02210c1e0f8e60e445beb438695e672ba720d2a81e9f16d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / xdis-3.2.2-py2.py3-none-any.whl

Download URL xdis-3.2.2-py2.py3-none-any.whl
Size 64.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d15c7fe4c93b51a9cbfdf896d55fab7f436b334d4c743bf8cd03e6fd644e82c3
BLAKE2b-256 checksum
How to use checksums
fd66b5d9ff5eb29e3716bee1e21d8dee8c1f3d7aead1186ed6eaa5edfb674e63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / xdis-3.2.2-py2.7.egg

Download URL xdis-3.2.2-py2.7.egg
Size 139.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
f25901d6504e10b5553fe30fcda6c07de76e1d16cba960e01899b96a6d892bf7
BLAKE2b-256 checksum
How to use checksums
d3e7408451c46ef9972183ad5a9bc49daffa109eeee3468a90417da280da768b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / xdis-3.2.2-py2.6.egg

Download URL xdis-3.2.2-py2.6.egg
Size 139.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
fefab8bf8ccd0a97c6c9e256c2a4c786006fe66f707923ba94f0d020f44cdc8e
BLAKE2b-256 checksum
How to use checksums
30d47bf926b46fa83ac6ebc4860f3dbe2bd1dd5bf041a0b9ce6f30383295deb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for xdis 3.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.2.2 This release

7 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page