{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"},{"label":"Debuggers","url":"https://skillfed.io/packages/category/software-development-debuggers"}],"enrichment":{"capability":"Decompyle3 translates Python bytecode back into equivalent Python source code for versions 3.7 and later, enabling reverse-engineering and analysis of compiled Python files.","skillfed_tags":["bytecode-analysis","reverse-engineering","cli-tool"],"use_cases":["Recover source code from compiled Python packages when original source is unavailable or lost","Analyze and audit third-party Python bytecode for security review or reverse-engineering","Debug compiled Python applications by examining the decompiled bytecode logic","Extract and study Python code from legacy or archived .pyc files for documentation or migration","Test and validate decompilation correctness against Python's own test suite"],"what_it_does":"Decompyle3 is a native Python decompiler that converts compiled Python bytecode (.pyc and .pyo files) back into human-readable source code. It accepts bytecode from Python 3.7 onwards and is a reworking of the uncompyle6 project, addressing control-flow detection issues by refactoring grammar and adding more specific markers in the instruction stream. The tool runs as a command-line utility and can optionally verify the syntax of decompiled output.\n\nThe package depends on click for CLI handling, spark-parser for grammar-based parsing, and xdis for cross-version bytecode disassembly. It is actively maintained and has no known security vulnerabilities. The author acknowledges numerous decompilation bugs exist (as with all CPython decompilers) and notes that as Python optimization increases, decompilation becomes harder; the tool does not currently support obfuscated code, Cython, MicroPython, or Windows EXE extraction.","worth_installing":"Yes, if you need to decompile Python 3.7+ bytecode and accept the GPLv3 copyleft constraint. The tool is actively maintained, has low install friction, and carries no known vulnerabilities. Be aware that decompilation is imperfect\u2014the author documents numerous known bugs and acknowledges that control-flow detection remains incomplete. Use the --syntax-verify option to validate output, and cross-check results with other decompilers when accuracy is critical."},"id":"decompyle3","links":{"html":"https://skillfed.io/packages/decompyle3","md":"https://skillfed.io/packages/decompyle3.md","pypi":"https://pypi.org/project/decompyle3/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-10-01","license_spdx":null,"license_treatment":"copyleft","name":"decompyle3","python_support":"unspecified","summary":"Python cross-version byte-code decompiler"},"popularity":{"monthly_downloads":286099,"position":8049,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.9.3"}
