Skip to main content

Compile all py files in a wheel to pyc files.

Reason this release was yanked:

Failed

Project description

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 tox. To install it run:

    python -m pip install --upgrade tox

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

Project details


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.0.12.tar.gz (132.3 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.0.12-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyc_wheel-2.0.12.tar.gz
  • Upload date:
  • Size: 132.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for pyc_wheel-2.0.12.tar.gz
Algorithm Hash digest
SHA256 ea5f726b6cdf218ebe4f595201e3015fdfbde2a4c8f450806c576a4bd884fca9
MD5 d558d2c5872579a6e8bdaf97f7b9b791
BLAKE2b-256 1af3b4dd1d11f8d2eae16556d71c5f3e7c648255634563462e26bc25ce388f45

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyc_wheel-2.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 3f409664512b9fd4289e5d58e90d65368ef78e87b20e0f31868e582d90660aa4
MD5 7463864f27929af244e72e2f63b31917
BLAKE2b-256 7a2aefceed9ba3f566fc167014af9ec8e1a564c79b5d3e4c0f9c60189cff42e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page