pyc-wheel
Compile all py files in a wheel to pyc files.
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or higher; operates on wheel files, not source distributions.
- Low install friction; pure Python wheel with minimal dependencies (typing-extensions, setuptools, pkg-about).
- Actively maintained with recent release (73 days ago) and no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) allows commercial and private use with minimal restrictions; attribution required.
last release 2026-06-02 (73 days) · last repo commit 2026-06-02 · 33 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 213,152 downloads/mo, #9,442 on PyPI
Alternatives
Verify before relying
pip install pyc-wheel
python3 -m pyc_wheel your_wheel-1.0.0-py3-none-any.whl
# or with renaming:
python3.13 -m pyc_wheel --rename your_wheel-1.0.0-py3-none-any.whl- Performance impact of bytecode compilation on wheel size and import speed
- Compatibility with non-CPython implementations beyond PyPy and GraalPy
What it is and 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.
Typical 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.
Use it for
- 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
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
pyc-wheel on PyPI
Before you install
Low install friction; pure Python wheel with minimal dependencies (typing-extensions, setuptools, pkg-about). Actively maintained with recent release (73 days ago) and no known vulnerabilities.
Requires Python 3.11 or higher; operates on wheel files, not source distributions.
License in practice
MIT license (permissive) allows commercial and private use with minimal restrictions; attribution required.
Quickstart
pip install pyc-wheel
python3 -m pyc_wheel your_wheel-1.0.0-py3-none-any.whl
# or with renaming:
python3.13 -m pyc_wheel --rename your_wheel-1.0.0-py3-none-any.whl
Verify before relying
- Performance impact of bytecode compilation on wheel size and import speed
- Compatibility with non-CPython implementations beyond PyPy and GraalPy
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0.0,>=3.11.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagestyping-extensionssetuptoolspkg-about |
| Maintenance | Actively maintained 73 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 213,152 / month, #9,442 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: PolishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: GraalPyProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: UtilitiesTyping :: Typed |
Evidence: pyc_wheel-2.4.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “wheel pyc compilation”
- pyc-wheelCompiles all Python source files (.py) in a wheel to bytecode (.pyc)…
- check-wheel-contentsValidates wheel file contents before publishing, detecting common…
- pycnitePycnite provides pure Python parsers for Python bytecode (.pyc files)…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also check-wheel-contents · pyclean · pycnite · uncompyle6 · decompyle3 · auditwheel · whey · cibuildwheel · bytecode · xdis