$npx skillfedfor your agent

uncompyle6

Python cross-version byte-code decompiler

With conditionsPyPI Python ModulesReleased Sep 2025494.5K downloads / moGPL3Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — uncompyle6-3.9.3-py36-none-any.whl · uncompyle6-3.9.3-py38-none-any.whl · uncompyle6-3.9.3-py39-none-any.whl
v3.9.3 · released 2025-09-29 · 3 runtime deps: click, spark-parser, xdis

Yes, if you need to decompile Python bytecode. uncompyle6 is actively maintained, has no security vulnerabilities, and offers the broadest Python version support (1.0–3.8 + PyPy) among available decompilers. The GPLv3 license is a hard constraint for proprietary use; open-source projects face no barrier. Install friction is low. Decompilation quality varies by Python version (strongest around 3.3–3.4, weaker at the extremes), so verify output for your target bytecode version.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a .pyc or .pyo file as input; bytecode must originate from a Python version the tool recognizes (1.0–3.8 or PyPy).
  • Low install friction with pure-Python wheels for multiple Python versions (3.6–3.9).
  • Actively maintained as of 2026-04-24 with 4317 repository stars and no known security vulnerabilities.

License · maintenance · safety

GPL3 (copyleft) — GPLv3 copyleft license: any derivative work or distribution must also be open-source under GPLv3. Suitable for open-source projects; proprietary applications cannot incorporate this code without licensing compliance.

last release 2025-09-29 (319 days) · last repo commit 2026-04-24 · 4,317 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 494,456 downloads/mo, #6,349 on PyPI

Verify before relying

pip install uncompyle6

uncompyle6 compiled-python-file.pyc
  • Exact Python version requirements for running uncompyle6 itself (description mentions git branches but not minimum runtime version).
  • Whether fragment deparsing and runtime bytecode offset association are accessible via public API or CLI.
  • Decompilation accuracy rates for specific Python versions beyond 3.8.
Same gist for agents: .md · .json

What it is and what it does

uncompyle6 is a Python bytecode decompiler that reconstructs source code from compiled .pyc and .pyo files. It spans Python versions 1.0 through 3.8 and PyPy bytecodes, making it one of the few tools that handles such a wide historical range. Unlike simpler decompilers, it builds a parse tree using compiler technology to understand bytecode structure deeply, allowing it to deparse not just complete files but also code fragments at specific bytecode offsets—useful for runtime debugging and stack trace enhancement.

The tool depends on click for CLI handling, spark-parser for parsing, and xdis for bytecode analysis. It is actively maintained and has no known security vulnerabilities. The GPLv3 license means any derivative work must remain open-source. It is most useful when you have only compiled bytecode and need to recover or understand the original source, or when you need to inspect bytecode fragments at runtime for debugging purposes.

Use it for

  • Recover source code from legacy .pyc files when original source is lost or unavailable.
  • Analyze and understand obfuscated or compiled Python bytecode for security auditing.
  • Extract code fragments at specific bytecode offsets for enhanced stack traces in debuggers.
  • Verify decompilation correctness by comparing bytecode across Python versions.
  • Inspect PyPy bytecode or bytecode from Python 1.x–2.7 when other tools only support modern versions.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to decompile Python bytecode.

uncompyle6 is actively maintained, has no security vulnerabilities, and offers the broadest Python version support (1.0–3.8 + PyPy) among available decompilers. The GPLv3 license is a hard constraint for proprietary use; open-source projects face no barrier. Install friction is low. Decompilation quality varies by Python version (strongest around 3.3–3.4, weaker at the extremes), so verify output for your target bytecode version.

Install

uncompyle6 on PyPI

Before you install

Low install friction with pure-Python wheels for multiple Python versions (3.6–3.9). Actively maintained as of 2026-04-24 with 4317 repository stars and no known security vulnerabilities.

Requires a .pyc or .pyo file as input; bytecode must originate from a Python version the tool recognizes (1.0–3.8 or PyPy).

License in practice

GPLv3 copyleft license: any derivative work or distribution must also be open-source under GPLv3. Suitable for open-source projects; proprietary applications cannot incorporate this code without licensing compliance.

Quickstart

pip install uncompyle6

uncompyle6 compiled-python-file.pyc

Verify before relying

  • Exact Python version requirements for running uncompyle6 itself (description mentions git branches but not minimum runtime version).
  • Whether fragment deparsing and runtime bytecode offset association are accessible via public API or CLI.
  • Decompilation accuracy rates for specific Python versions beyond 3.8.

Package facts

LicenseGPL3 copyleft
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
clickspark-parserxdis
MaintenanceActively maintained 319 days since the last release
Last repo commit
First released
Downloads494,456 / month, #6,349 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License v3 (GPLv3)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.4Programming Language :: Python :: 2.5Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.0Programming Language :: Python :: 3.1Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: DebuggersTopic :: Software Development :: Libraries :: Python Modules

Evidence: uncompyle6-3.9.3-py36-none-any.whl; uncompyle6-3.9.3-py38-none-any.whl; uncompyle6-3.9.3-py39-none-any.whl; uncompyle6-3.9.3-py3-none-any.whl

Tags

Capabilities
python bytecode decompilerdecompile pyc filesreverse engineer python bytecodebytecode to source codepython decompilation toolpyc to py convertercross-version python decompiler
Topics
bytecode-analysisreverse-engineeringdebugging

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “python bytecode decompiler”

  • uncompyle6uncompyle6 translates Python bytecode back into equivalent Python…
  • decompyle3Decompyle3 translates Python bytecode back into equivalent Python…
  • ethereum-dasmDisassembles Ethereum EVM bytecode into assembly instructions and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also decompyle3 · pyclean · pycnite · bytecode · xdis · pyc-wheel · depyf · ast-decompiler · ethereum-dasm · python-minifier