# rocky/python-decompile3

Python decompiler for 3.7-3.8 Stripped down from uncompyle6 so we can refactor and start to fix up some long-standing problems

Repository: https://github.com/rocky/python-decompile3
Canonical: https://ross.abutalabs.com/products/python-decompile3
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: python, decompiler, bytecode
Last push: 2026-07-21T20:31:39+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 18, longevity 100
- inputs: {"age_days": 2663, "days_push": 43, "days_rel": 336, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1269, forks 167 (observed 2026-08-28T04:04:11.679193+00:00)

## What it is
decompyle3 is a native Python decompiler that translates Python bytecode (versions 3.7 and 3.8) back into equivalent Python source code. It is a refactored, stripped-down rework of uncompyle6 aimed at fixing long-standing control-flow reconstruction problems.

## Use cases
- decompile python 3.7 bytecode back to source
- recover lost python source code from .pyc files
- decompile python 3.8 bytecode
- analyze compiled python bytecode fragments
- reverse engineer python bytecode where uncompyle6 fails

## When to choose
- you need to decompile Python 3.7 or 3.8 bytecode
- uncompyle6 produces incorrect control flow for your bytecode
- you want a maintained fork focused on modern Python 3 bytecode

## When to avoid
- you need to decompile Python 2.x or older 3.x bytecode (use uncompyle6)
- you need to decompile Python 3.9+ bytecode
- you need a fully robust control-flow solution based on dominator analysis

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: parser, reverse-engineering, developer-tools
- domain: developer-tools, security, reverse-engineering
- platform: python, cli, cross-platform
- tags: decompiler, bytecode, uncompyle6, python-3-7, python-3-8, python

## Member repositories
- rocky/python-decompile3 (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:11.679193+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:03:33.518926+00:00, confidence not recorded.
  - readme: https://github.com/rocky/python-decompile3 (fetched 2026-08-28T04:04:11.679193+00:00, sha fa6d90712499)
- Data as of 2026-08-30T08:39:29.467469+00:00.
