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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyc_wheel-2.4.4.tar.gz (137.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyc_wheel-2.4.4-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file pyc_wheel-2.4.4.tar.gz.

File metadata

  • Download URL: pyc_wheel-2.4.4.tar.gz
  • Upload date:
  • Size: 137.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.15

File hashes

Hashes for pyc_wheel-2.4.4.tar.gz
Algorithm Hash digest
SHA256 b46a5b0473f89747b3b47666ba485905852569e9c1e2f94c44335662266c2f6f
MD5 2806689a5a270ea8a0d3326db84a44d6
BLAKE2b-256 341e5c251974b2c89398f4329647560fe9f0a52692e1075c21bef88df0b8005f

See more details on using hashes here.

File details

Details for the file pyc_wheel-2.4.4-py3-none-any.whl.

File metadata

  • Download URL: pyc_wheel-2.4.4-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.15

File hashes

Hashes for pyc_wheel-2.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a4d335f571f1c7c53a4b4dbdf6de58ae47c26e34555716710b3775d32a9cf2ee
MD5 2b821375edc1002006a45ca7bc4032ac
BLAKE2b-256 6743e8c520481e64298d69c29ce11bf8df6a38393e395571131cbf5de502a5cc

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.4.4 This release

2 files

2.4.3

2 files

2.3.0

2 files

2.2.0

2 files

2.1.0

2 files

2.0.12

2 files

2.0.8

2 files

2.0.5

2 files

2.0.4

2 files

2.0.1

2 files

2.0.0

2 files

1.5.0

2 files

1.4.1

2 files

1.3.6

2 files

1.3.5

2 files

1.3.4

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.2.7

2 files

1.2.6

2 files

1.2.4

1 file

1.2.3

1 file

1.2.2

1 file

1.2.1

1 file

1.2.0

1 file

1.1.0

1 file

1.0.3

1 file

1.0.2

1 file

1.0.1

1 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