Skip to main content

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.

PyPI record.

Documentation.

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:

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 Karpierz
Copyright (c) 2016 Grant Patten
Licensed under the MIT License
Please refer to the accompanying LICENSE file.

Authors

Sponsoring

If you would like to sponsor the development of this project, your contribution is greatly appreciated.
As I am now retired, any support helps me dedicate more time to maintaining and improving this work.

Donate

Metadata

Release files for pyc-wheel 2.4.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyc-wheel 2.4.5
File Size Uploaded
pyc_wheel-2.4.5.tar.gz 158.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyc-wheel 2.4.5
File Interpreter ABI Platform
pyc_wheel-2.4.5-py3-none-any.whl Python 3 none any Details

Total release size: 166.8 kB

Release files / pyc_wheel-2.4.5.tar.gz

Download URL pyc_wheel-2.4.5.tar.gz
Size 158.0 kB
Tags Source
SHA-256 checksum
How to use checksums
69abaaaaf1dcc202c67cc0b05739d890de9587d099304a988b122a401eb579bf
BLAKE2b-256 checksum
How to use checksums
93da2ae2c516da881e57d789df2e92fb35a42a4122bb76005b4fd38eae6c50d9
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.4.5-py3-none-any.whl

Download URL pyc_wheel-2.4.5-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a35c4a34fbd395252724b5a5231acbfe8bb7c347125d5cedac10fc3b1ad66c0
BLAKE2b-256 checksum
How to use checksums
39e2652db961e4e69b5b54fe059417734471b9851e65057f84778dff0647ab88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release history Release notifications | RSS feed

2.5.1

2 release files

2.5.0

2 release files

This release

2.4.5 This release

2 release files

2.4.4

2 release files

2.4.3

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.12

2 release files

2.0.8

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.4

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page