--- id: pycnite version: "2024.7.31" license: Apache 2.0 license_treatment: permissive maintenance: dormant --- # pycnite — Python bytecode utilities License: permissive · Maintenance: dormant · Downloads: 945.6K/mo ## 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 above — 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 pip install pycnite uv add pycnite poetry add pycnite ## Installing 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_current - Install friction: low - Maintenance: dormant - Downloads: 945.6K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags python bytecode parser, pyc file format reader, cross-version bytecode analysis, python bytecode utilities, pyc format parser, bytecode inspection tools, version-agnostic bytecode, bytecode-analysis, cross-version-compatibility [View on SkillFed](https://skillfed.io/packages/pycnite) · [View on PyPI](https://pypi.org/project/pycnite/)