Decompyle++
A Python Byte-code Disassembler/Decompiler
Decompyle++ aims to translate compiled Python byte-code back into valid and human-readable Python source code. While other projects have achieved this with varied success, Decompyle++ is unique in that it seeks to support byte-code from any version of Python.
Decompyle++ includes both a byte-code disassembler (pycdc.pycdas) and a decompiler (pycdc).
As the name implies, Decompyle++ is written in C++. If you wish to contribute, please fork us on github at https://github.com/zrax/pycdc
Usage:
To run pycdas, the PYC Disassembler: pycdc.pycdas [PATH TO PYC FILE] The byte-code disassembly is printed to stdout.
To run pycdc, the PYC Decompiler: pycdc [PATH TO PYC FILE] The decompiled Python source is printed to stdout. Any errors are printed to stderr.
Decompyle++ is the work of Michael Hansen and Darryl Pogue.
Additional contributions from:
charlietang98
Kunal Parmar
Olivier Iffrig
Zlodiy
Details for pycdc
Package name
pycdc
License
unset
Last updated
19 October 2023 - latest/stable
12 November 2023 - latest/edge
This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.
(Ownership verified)
The publisher has verified that they own this domain.
It does not guarantee the Snap is an official upload
from the upstream project.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Enable snapd
Snap can be installed on Pop!_OS from the command line. Open Terminal from the Applications launcher and type the following:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
Install pycdc
To install pycdc, simply use the following command: