pycdc
github.com
- Free plan
- Windows
- macOS
- Linux
What pycdc is
pycdc is the command-line decompiler in Decompyle++, a C++ project that aims to turn compiled Python bytecode into readable Python source. The pycdc command reads a PYC file and prints source to standard output. Its companion, pycdas, disassembles a PYC file and prints the bytecode. Both tools support Python marshalled code objects; because those objects contain no version metadata, users must specify the Python version. The project seeks to support bytecode from any Python version, but it does not decompile native code. Decompyle++ runs on Linux, macOS, and Windows and is released under the GNU General Public License, version 3. Building it requires CMake to generate a project or makefile, followed by building the generated files. The README describes using tools such as MSVC for Windows project files and provides makefile build and test instructions for Unix-like systems or MSYS. The authors credited are Michael Hansen and Darryl Pogue. The source code is free, but the GitHub releases page lists no packaged releases.
Who it suits
pycdc suits developers who need to inspect or recover readable source from Python bytecode and are comfortable building command-line software. It may also suit users who need bytecode disassembly through the companion pycdas tool.
Good to know, and what to watch
- Decompiles PYC files to Python source
- Includes companion bytecode disassembler
- Runs on Linux, macOS, and Windows
- Released under the GNU General Public License, version 3
- Marshalled objects require a specified Python version
- No packaged GitHub releases are listed
- Does not decompile native code
Plans
Every plan and priceDecompyle++
Free plan
Getting started
- Open the pycdc GitHub repository
- Install or prepare CMake for the build
- Generate a project or makefile with CMake
- Build the generated files using MSVC on Windows or make on Unix-like systems or MSYS
- Run pycdc with a PYC file to print Python source
- Run pycdas with a PYC file to print bytecode
Limits to check
Marshalled code objects require the Python version to be specified because they contain no version metadata. The project focuses on bytecode and requires building from its source.
The verdict
pycdc provides command-line bytecode decompilation, while pycdas covers disassembly. Users should be prepared to build the software and specify a Python version when working with marshalled code objects.
Questions people ask
What does pycdc do?
pycdc decompiles a PYC file and prints Python source to standard output.
What is pycdas?
pycdas disassembles a PYC file and prints its bytecode to standard output.
Which platforms are supported?
Decompyle++ runs on Linux, macOS, and Windows.
How much does Decompyle++ cost?
The listed Decompyle++ plan is free at no cost.
What license does it use?
Decompyle++ is released under the GNU General Public License, version 3.
Do marshalled objects need extra information?
Yes. Their Python version must be specified because marshalled objects contain no version metadata.
What the maker publishes
- Authors
- The README credits Michael Hansen and Darryl Pogue as the authors of Decompyle++. source
- Build
- The project uses CMake to generate a project or makefile, which users then build. source
- Decompiler
- The pycdc command decompiles a PYC file and prints Python source to standard output. source
- Disassembler
- The pycdas command disassembles a PYC file and prints the bytecode to standard output. source
- Distribution
- The GitHub releases page states that there are no releases for this repository. source
- Implementation
- Decompyle++ is written in C++. source
- Integrations
- The README names CMake as the build-system requirement and does not list product integrations. source
- License
- The project is released under the GNU General Public License, version 3. source
- Marshalled objects
- Both tools support Python marshalled code objects, and using them requires specifying the Python version because the objects contain no version metadata. source
- Purpose
- Decompyle++ aims to translate compiled Python bytecode into valid, human-readable Python source code. source
- Python versions
- The project says it seeks to support bytecode from any version of Python. source
- Unix-like build
- The README gives makefile build and test instructions for *nix or MSYS. source
- Windows build
- The README describes building generated project files with tools such as MSVC. source
Checked against the maker's pages on 8 Oct 2026.