{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/15"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"}],"enrichment":{"capability":"Compiles all Python source files (.py) in a wheel to bytecode (.pyc) files, optionally renaming the wheel to reflect the target Python version.","skillfed_tags":["wheel-packaging","bytecode-compilation"],"use_cases":["Pre-compile wheels in CI/CD pipelines to reduce installation time on target systems","Distribute bytecode-only wheels to obscure source code while preserving functionality","Rename generic py3 wheels to version-specific cp313 wheels after compilation","Batch-process multiple wheels with selective file exclusion via regex patterns"],"what_it_does":"pyc_wheel is a command-line tool that processes wheel archives to pre-compile their Python source files into bytecode. It reads a .whl file, compiles all .py modules to .pyc, and rewrites the wheel in place or with optional renaming to indicate the Python version used for compilation. The tool supports selective compilation via regex exclusion patterns and can create backups before modification.\n\nTypical use is in build pipelines where you want to distribute pre-compiled wheels for faster installation or to obfuscate source code. It depends on typing-extensions, setuptools, and pkg-about, and runs on Python 3.11 or higher across CPython, PyPy, and GraalPy. The package is actively maintained and carries no known security vulnerabilities.","worth_installing":"Yes, if you need to pre-compile wheels in a build pipeline or distribution workflow. Low friction, no vulnerabilities, actively maintained, and permissive license. Not necessary for typical development; primarily a packaging tool for release or deployment automation."},"id":"pyc-wheel","links":{"html":"https://skillfed.io/packages/pyc-wheel","md":"https://skillfed.io/packages/pyc-wheel.md","pypi":"https://pypi.org/project/pyc-wheel/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-02","license_spdx":"MIT","license_treatment":"permissive","name":"pyc-wheel","python_support":"supports_current","summary":"Compile all py files in a wheel to pyc files."},"popularity":{"monthly_downloads":213152,"position":9442,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.4.3"}
