pyc_wheel
Compile all py files in a wheel to pyc files.
Overview
pyc_wheel is a strict fork of Grant Patten’s pycwheel package with a fixes allowing to work with Python3 or higher and with a code reformatting and some improvements.
Usage
Processing the wheel in place:
$ python3 -m pyc_wheel your_wheel-1.0.0-py3-none-any.whl
# Output: your_wheel-1.0.0-py3-none-any.whl
or renaming for the python version:
$ python3.13 -m pyc_wheel --rename your_wheel-1.0.0-py3-none-any.whl
# Output: your_wheel-1.0.0-cp313-none-any.whl
or with backup:
$ python3.13 -m pyc_wheel --rename --with-backup your_wheel-1.0.0-py3-none-any.whl
# Output: your_wheel-1.0.0-cp313-none-any.whl
# your_wheel-1.0.0-py3-none-any.whl.bak
or with quiet:
$ python3 -m pyc_wheel --quiet your_wheel-1.0.0-py3-none-any.whl
# Output: your_wheel-1.0.0-py3-none-any.whl
or skipping compilation for a file subset:
$ python3 -m pyc_wheel --exclude "some/regex" your_wheel-1.0.0-py3-none-any.whl
To check all available processing options:
$ python3 -m pyc_wheel --help
Installation
Prerequisites:
Python 3.11 or higher
pip
To install run:
python -m pip install --upgrade pyc_wheel
Development
Prerequisites:
Development is strictly based on nox. To install it run:
python -m pip install --upgrade nox
Visit Development page.
Installation from sources:
clone the sources:
git clone https://github.com/karpierz/pyc_wheel pyc_wheel
and run:
python -m pip install ./pyc_wheel
or on development mode:
python -m pip install --editable ./pyc_wheel
License
Copyright (c) 2019-2026 Adam KarpierzCopyright (c) 2016 Grant PattenLicensed under the MIT LicensePlease refer to the accompanying LICENSE file.
Sponsoring
Metadata
Release files for pyc-wheel 2.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyc_wheel-2.5.1.tar.gz | 159.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyc_wheel-2.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 168.7 kB
Release files / pyc_wheel-2.5.1.tar.gz
| Download URL | pyc_wheel-2.5.1.tar.gz |
|---|---|
| Size | 159.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aebaa4b26b8fb3145ad92a03bddc654b9fc7cfb46fa56b392afa0d8c63055c85
|
|
BLAKE2b-256 checksum How to use checksums |
89948ad7b7e5831931e9827567bb6e527dd1a0dd1b8b999480d66f4f489bbaf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / pyc_wheel-2.5.1-py3-none-any.whl
| Download URL | pyc_wheel-2.5.1-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7d8481236df358a2db8e4d924c11082b830151312896ce76a79f5087176194b
|
|
BLAKE2b-256 checksum How to use checksums |
f7d34b6ddeefd63469618d767d7b5f54a7c07eebffc7685e2b7a97364afa9919
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for pyc-wheel 2.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.