pycnite
Python bytecode utilities
What it is and what it does
Pycnite is a pure Python library for parsing and working with Python's compiled bytecode format (.pyc files). It provides versioned parsers that can read bytecode from Python 3.8 through 3.12, allowing tools to analyze or manipulate bytecode from different target Python versions without needing that version installed as the host runtime. This is useful for build tools, decompilers, bytecode analyzers, and other development utilities that need to work with compiled Python code.
The package has no external runtime dependencies, making it lightweight to integrate. It is classified as alpha software and has not been updated in 744 days, so while it covers the supported target versions, you should verify whether it remains actively maintained and whether its API is stable for your use case.
Use it for:
- Build tools that need to inspect or validate bytecode from multiple Python versions without installing each version
- Bytecode decompilers or reverse-engineering tools that must handle .pyc files from different Python releases
- Static analysis tools that analyze compiled Python code across version boundaries
- Development utilities that need to parse or transform bytecode as part of a larger workflow
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Pycnite provides pure Python parsers for Python bytecode (.pyc files) that work across different Python versions, letting tools analyze or manipulate bytecode from target versions 3.8 through 3.12 regardless of the host Python version.
Yes, if you need to parse Python bytecode across versions 3.8–3.12 and can tolerate alpha-stage software with no recent updates. The permissive license and zero dependencies make it low-friction to add. However, verify that the package's API and feature set match your bytecode analysis needs, and be prepared to maintain a fork or find alternatives if the dormant status becomes problematic.
Install
pycnite on PyPI
pip
pip install pycniteuv
uv add pycnitepoetry
poetry add pycniteInstalling pycnite
Before you install
Installation is straightforward with no runtime dependencies. The package is in alpha status and has been dormant for 744 days since its last release, so it may not receive active maintenance or bug fixes.
License in practice
Licensed under Apache 2.0 (permissive), so you can use, modify, and distribute it freely in commercial and open-source projects without copyleft obligations.
Quickstart
pip install pycnite
import pycnite
# Parse a .pyc file from a specific Python version
# (exact API details would be found in package documentation)
Requires Python 3.8 or later; designed to parse bytecode from target versions 3.8, 3.9, 3.10, 3.11, and 3.12.
Verify before relying
- Specific API surface and usage patterns (no documentation URL provided in fact sheet)
- Whether the package is actively maintained despite dormant status, or if it is abandoned
- Real-world adoption and reliability for production bytecode analysis workflows
Package facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 744 days since the last release |
| First released | |
| Downloads | 945,597/month — #4,668 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pycnite-2024.7.31-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
pyxbeParse, inspect, and manipulate XBE executable…
permissive · top 15,000 on PyPI
uncompyle6uncompyle6 translates Python bytecode back into…
copyleft · top 15,000 on PyPI
decompyle3Decompyle3 translates Python bytecode back into…
copyleft · top 15,000 on PyPI
pycleanRemoves Python bytecode files (.pyc) and…
copyleft · top 15,000 on PyPI
bytecodebytecode generates and modifies Python bytecode…
permissive · top 1,000 on PyPI
pyc-wheelCompiles all Python source files (.py) in a…
permissive · top 15,000 on PyPI
xdisDisassembles Python bytecode from any Python…
copyleft · top 15,000 on PyPI
hachoirHachoir parses and displays binary files as a…
copyleft · top 15,000 on PyPI
pyjksPyJKS loads and manipulates Java KeyStore…
permissive · top 5,000 on PyPI
pyccoloPyccolo is a library for declarative…
permissive · top 15,000 on PyPI