{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/9"},{"label":"Debuggers","url":"https://skillfed.io/packages/category/software-development-debuggers"}],"enrichment":{"capability":"Disassembles Python bytecode from any Python version (1.0 through 3.13) regardless of which Python version you are running, and provides utilities for bytecode manipulation, magic-number translation, and code object introspection.","skillfed_tags":["bytecode-analysis","reverse-engineering","cross-version-compatibility"],"use_cases":["Reverse-engineer or audit Python bytecode from a different Python version than your development environment.","Write a bytecode-level optimizer or analyzer that works across multiple Python versions.","Translate between Python version numbers and their corresponding bytecode magic values for tooling or documentation.","Inspect and modify code objects programmatically, such as rewriting constants or instruction sequences.","Build a cross-version Python decompiler or bytecode assembler.","Debug or analyze compiled Python code from production systems running a different Python version."],"what_it_does":"xdis is a cross-version Python bytecode disassembler and manipulation library. The standard Python dis module only works on bytecode from the same Python version you are running; xdis removes that constraint, allowing you to inspect, analyze, and disassemble bytecode from any Python version on any other Python version. It can marshal-load bytecode, translate between Python version numbers and magic values, unpack and repack code objects, and provide advanced disassembly output in multiple formats.\n\nThe package is useful for reverse-engineering, bytecode analysis, writing cross-version assemblers or optimizers, and understanding how Python compiles code across different language versions. It has no runtime dependencies and is available as pure-Python wheels for most Python versions, though installation on Python versions before 3.11 requires downloading version-specific distributions from GitHub rather than PyPI.","worth_installing":"Yes, if you need to work with Python bytecode from versions other than the one you are running. The package is actively maintained, has no dependencies, and carries low install friction on modern Python. The GPL-2.0 copyleft license is a significant constraint for proprietary or closed-source use; evaluate your distribution model before adopting. For Python 3.11+, installation is straightforward; for older versions, the GitHub-only distribution model adds friction but is workable."},"id":"xdis","links":{"html":"https://skillfed.io/packages/xdis","md":"https://skillfed.io/packages/xdis.md","pypi":"https://pypi.org/project/xdis/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-30","license_spdx":null,"license_treatment":"copyleft","name":"xdis","python_support":"unspecified","summary":"Python cross-version byte-code disassembler and marshal routines"},"popularity":{"monthly_downloads":661989,"position":5441,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"6.3.0"}
