pyc-wheel


Namepyc-wheel JSON
Version 1.3.6 PyPI version JSON
download
home_pageNone
SummaryCompile all py files in a wheel to pyc files.
upload_time2025-07-10 17:40:37
maintainerAdam Karpierz
docs_urlNone
authorGrant Patten, Adam Karpierz
requires_python<4.0.0,>=3.10.0
licenseNone
keywords pyc_wheel pycwheel wheel pyc compile
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            pyc_wheel
=========

Compile all py files in a wheel to pyc files.

Overview
========

|package_bold| 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:

.. code-block:: bash

    $ 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:

.. code-block:: bash

    $ python3.12 -m pyc_wheel --rename your_wheel-1.0.0-py3-none-any.whl
    # Output: your_wheel-1.0.0-cp312-none-any.whl

or with backup:

.. code-block:: bash

    $ python3.12 -m pyc_wheel --rename --with-backup your_wheel-1.0.0-py3-none-any.whl
    # Output: your_wheel-1.0.0-cp312-none-any.whl
    #         your_wheel-1.0.0-py3-none-any.whl.bak

or with quiet:

.. code-block:: bash

    $ 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:

.. code-block:: bash

    $ python3 -m pyc_wheel --exclude "some/regex" your_wheel-1.0.0-py3-none-any.whl

To check all available processing options:

.. code-block:: bash

    $ python3 -m pyc_wheel --help

Installation
============

Prerequisites:

+ Python 3.10 or higher

  * https://www.python.org/

+ pip and setuptools

  * https://pypi.org/project/pip/
  * https://pypi.org/project/setuptools/

To install run:

  .. parsed-literal::

    python -m pip install --upgrade |package|

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:

  .. parsed-literal::

    git clone |respository| |package|

and run:

  .. parsed-literal::

    python -m pip install ./|package|

or on development mode:

  .. parsed-literal::

    python -m pip install --editable ./|package|

License
=======

  | |copyright|
  | Copyright (c) 2016 Grant Patten
  | Licensed under the MIT License
  | https://opensource.org/license/mit
  | Please refer to the accompanying LICENSE file.

Authors
=======

* Grant Patten <grant@gpatten.com>
* Adam Karpierz <adam@karpierz.net>

.. |package| replace:: pyc_wheel
.. |package_bold| replace:: **pyc_wheel**
.. |copyright| replace:: Copyright (c) 2019-2025 Adam Karpierz
.. |respository| replace:: https://github.com/karpierz/pyc_wheel.git
.. _Development page: https://github.com/karpierz/pyc_wheel
.. _PyPI record: https://pypi.org/project/pyc_wheel/
.. _Documentation: https://pyc-wheel.readthedocs.io/
.. _pycwheel: https://pypi.org/project/pycwheel/

Changelog
=========

1.3.6 (2025-07-07)
------------------
- Unittests have been added.
- 100% code coverage.
- A few minor code improvements.
- Setup (dependencies) update.

1.3.5 (2025-06-11)
------------------
- Setup (dependencies) update.

1.3.4 (2025-05-15)
------------------
- The distribution is now created using 'build' instead of 'setuptools'.
- Setup (dependencies) update (due to regressions in tox and setuptools).

1.3.2 (2025-05-10)
------------------
- Add support for Python 3.14
- Drop support for Python 3.9 (due to compatibility issues).
- Add support for PyPy 3.11
- Drop support for PyPy 3.9
- `Add --rename and --symlink options.
  <https://github.com/karpierz/pyc_wheel/pull/20>`_
- `Fix for a bug <https://github.com/karpierz/pyc_wheel/issues/21>`_
- `Fix for a bug when wheel tag rewrite processed incorrectly
  <https://github.com/karpierz/pyc_wheel/issues/19>`_
- `Fix links in README.rst
  <https://github.com/karpierz/pyc_wheel/pull/15>`_
- Update readthedocs's python to version 3.13
- Update tox's base_python to version 3.13
- Setup (dependencies) update.

1.3.0 (2025-02-10)
------------------
- Add support for Python 3.10, 3.11, 3.12 and 3.13
- Drop support for Python 3.6, 3.7 and 3.8
- Add support for PyPy 3.9 and 3.10
- `Add --optimize argument to allow setting the optimization level
  of the compiler. <https://github.com/karpierz/pyc_wheel/pull/14>`_
- `Wheel name should include Python tag.
  <https://github.com/karpierz/pyc_wheel/pull/13>`_
- `Preserve the permissions bits.
  <https://github.com/karpierz/pyc_wheel/pull/9>`_
- `Extend docs for --exclude and --help.
  <https://github.com/karpierz/pyc_wheel/pull/7>`_
- Add --log argument to allow logging.
- 100% code linting.
- Copyright year update.
- Setup update (currently based on pyproject.toml).
- | Tox configuration has been moved to pyproject.toml
  | and now based on tox >= 4.0
- Setup (dependencies) update.

1.2.7 (2021-10-14)
------------------
- Setup update.

1.2.6 (2021-07-20)
------------------
- Setup general update and improvement.

1.2.4 (2020-10-18)
------------------
- Drop support for Python 3.5.
- Fixed docs setup.

1.1.0 (2020-09-22)
------------------
- Add support for Python 3.9.
- `Fixed improper permission setting to read distribution.
  <https://github.com/karpierz/pyc_wheel/pull/4>`_
- Setup general update and cleanup.

1.0.3 (2020-01-16)
------------------
- Added ReadTheDocs config file.
- Setup update.

1.0.2 (2019-12-03)
------------------
- Added the ability to exclude files from compilation.
- Added the ability to use wildcards.

1.0.1rc3 (2019-11-30)
---------------------
- A little fix for README.rst

1.0.1rc2 (2019-11-30)
---------------------
- | Creating a fork of Grant Patten's *pycwheel* package with a fixes,
  | changes and improvements allowing to work with Python3 or higher.

Changes of the original *pycwheel*:

1.0.0 (Sep 25, 2016)
--------------------
- Initial commit.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyc-wheel",
    "maintainer": "Adam Karpierz",
    "docs_url": null,
    "requires_python": "<4.0.0,>=3.10.0",
    "maintainer_email": "adam@karpierz.net",
    "keywords": "pyc_wheel, pycwheel, wheel, pyc, compile",
    "author": "Grant Patten, Adam Karpierz",
    "author_email": "adam@karpierz.net",
    "download_url": "https://files.pythonhosted.org/packages/2f/6b/e755555b7d915597b3777d5803682de6864196cc5144dbea317cefa8afa5/pyc_wheel-1.3.6.tar.gz",
    "platform": "any",
    "description": "pyc_wheel\r\n=========\r\n\r\nCompile all py files in a wheel to pyc files.\r\n\r\nOverview\r\n========\r\n\r\n|package_bold| is a strict fork of Grant Patten's pycwheel_ package\r\nwith a fixes allowing to work with Python3 or higher and with a code\r\nreformatting and some improvements.\r\n\r\n`PyPI record`_.\r\n\r\n`Documentation`_.\r\n\r\nUsage\r\n-----\r\n\r\nProcessing the wheel in place:\r\n\r\n.. code-block:: bash\r\n\r\n    $ python3 -m pyc_wheel your_wheel-1.0.0-py3-none-any.whl\r\n    # Output: your_wheel-1.0.0-py3-none-any.whl\r\n\r\nor renaming for the python version:\r\n\r\n.. code-block:: bash\r\n\r\n    $ python3.12 -m pyc_wheel --rename your_wheel-1.0.0-py3-none-any.whl\r\n    # Output: your_wheel-1.0.0-cp312-none-any.whl\r\n\r\nor with backup:\r\n\r\n.. code-block:: bash\r\n\r\n    $ python3.12 -m pyc_wheel --rename --with-backup your_wheel-1.0.0-py3-none-any.whl\r\n    # Output: your_wheel-1.0.0-cp312-none-any.whl\r\n    #         your_wheel-1.0.0-py3-none-any.whl.bak\r\n\r\nor with quiet:\r\n\r\n.. code-block:: bash\r\n\r\n    $ python3 -m pyc_wheel --quiet your_wheel-1.0.0-py3-none-any.whl\r\n    # Output: your_wheel-1.0.0-py3-none-any.whl\r\n\r\nor skipping compilation for a file subset:\r\n\r\n.. code-block:: bash\r\n\r\n    $ python3 -m pyc_wheel --exclude \"some/regex\" your_wheel-1.0.0-py3-none-any.whl\r\n\r\nTo check all available processing options:\r\n\r\n.. code-block:: bash\r\n\r\n    $ python3 -m pyc_wheel --help\r\n\r\nInstallation\r\n============\r\n\r\nPrerequisites:\r\n\r\n+ Python 3.10 or higher\r\n\r\n  * https://www.python.org/\r\n\r\n+ pip and setuptools\r\n\r\n  * https://pypi.org/project/pip/\r\n  * https://pypi.org/project/setuptools/\r\n\r\nTo install run:\r\n\r\n  .. parsed-literal::\r\n\r\n    python -m pip install --upgrade |package|\r\n\r\nDevelopment\r\n===========\r\n\r\nPrerequisites:\r\n\r\n+ Development is strictly based on *tox*. To install it run::\r\n\r\n    python -m pip install --upgrade tox\r\n\r\nVisit `Development page`_.\r\n\r\nInstallation from sources:\r\n\r\nclone the sources:\r\n\r\n  .. parsed-literal::\r\n\r\n    git clone |respository| |package|\r\n\r\nand run:\r\n\r\n  .. parsed-literal::\r\n\r\n    python -m pip install ./|package|\r\n\r\nor on development mode:\r\n\r\n  .. parsed-literal::\r\n\r\n    python -m pip install --editable ./|package|\r\n\r\nLicense\r\n=======\r\n\r\n  | |copyright|\r\n  | Copyright (c) 2016 Grant Patten\r\n  | Licensed under the MIT License\r\n  | https://opensource.org/license/mit\r\n  | Please refer to the accompanying LICENSE file.\r\n\r\nAuthors\r\n=======\r\n\r\n* Grant Patten <grant@gpatten.com>\r\n* Adam Karpierz <adam@karpierz.net>\r\n\r\n.. |package| replace:: pyc_wheel\r\n.. |package_bold| replace:: **pyc_wheel**\r\n.. |copyright| replace:: Copyright (c) 2019-2025 Adam Karpierz\r\n.. |respository| replace:: https://github.com/karpierz/pyc_wheel.git\r\n.. _Development page: https://github.com/karpierz/pyc_wheel\r\n.. _PyPI record: https://pypi.org/project/pyc_wheel/\r\n.. _Documentation: https://pyc-wheel.readthedocs.io/\r\n.. _pycwheel: https://pypi.org/project/pycwheel/\r\n\r\nChangelog\r\n=========\r\n\r\n1.3.6 (2025-07-07)\r\n------------------\r\n- Unittests have been added.\r\n- 100% code coverage.\r\n- A few minor code improvements.\r\n- Setup (dependencies) update.\r\n\r\n1.3.5 (2025-06-11)\r\n------------------\r\n- Setup (dependencies) update.\r\n\r\n1.3.4 (2025-05-15)\r\n------------------\r\n- The distribution is now created using 'build' instead of 'setuptools'.\r\n- Setup (dependencies) update (due to regressions in tox and setuptools).\r\n\r\n1.3.2 (2025-05-10)\r\n------------------\r\n- Add support for Python 3.14\r\n- Drop support for Python 3.9 (due to compatibility issues).\r\n- Add support for PyPy 3.11\r\n- Drop support for PyPy 3.9\r\n- `Add --rename and --symlink options.\r\n  <https://github.com/karpierz/pyc_wheel/pull/20>`_\r\n- `Fix for a bug <https://github.com/karpierz/pyc_wheel/issues/21>`_\r\n- `Fix for a bug when wheel tag rewrite processed incorrectly\r\n  <https://github.com/karpierz/pyc_wheel/issues/19>`_\r\n- `Fix links in README.rst\r\n  <https://github.com/karpierz/pyc_wheel/pull/15>`_\r\n- Update readthedocs's python to version 3.13\r\n- Update tox's base_python to version 3.13\r\n- Setup (dependencies) update.\r\n\r\n1.3.0 (2025-02-10)\r\n------------------\r\n- Add support for Python 3.10, 3.11, 3.12 and 3.13\r\n- Drop support for Python 3.6, 3.7 and 3.8\r\n- Add support for PyPy 3.9 and 3.10\r\n- `Add --optimize argument to allow setting the optimization level\r\n  of the compiler. <https://github.com/karpierz/pyc_wheel/pull/14>`_\r\n- `Wheel name should include Python tag.\r\n  <https://github.com/karpierz/pyc_wheel/pull/13>`_\r\n- `Preserve the permissions bits.\r\n  <https://github.com/karpierz/pyc_wheel/pull/9>`_\r\n- `Extend docs for --exclude and --help.\r\n  <https://github.com/karpierz/pyc_wheel/pull/7>`_\r\n- Add --log argument to allow logging.\r\n- 100% code linting.\r\n- Copyright year update.\r\n- Setup update (currently based on pyproject.toml).\r\n- | Tox configuration has been moved to pyproject.toml\r\n  | and now based on tox >= 4.0\r\n- Setup (dependencies) update.\r\n\r\n1.2.7 (2021-10-14)\r\n------------------\r\n- Setup update.\r\n\r\n1.2.6 (2021-07-20)\r\n------------------\r\n- Setup general update and improvement.\r\n\r\n1.2.4 (2020-10-18)\r\n------------------\r\n- Drop support for Python 3.5.\r\n- Fixed docs setup.\r\n\r\n1.1.0 (2020-09-22)\r\n------------------\r\n- Add support for Python 3.9.\r\n- `Fixed improper permission setting to read distribution.\r\n  <https://github.com/karpierz/pyc_wheel/pull/4>`_\r\n- Setup general update and cleanup.\r\n\r\n1.0.3 (2020-01-16)\r\n------------------\r\n- Added ReadTheDocs config file.\r\n- Setup update.\r\n\r\n1.0.2 (2019-12-03)\r\n------------------\r\n- Added the ability to exclude files from compilation.\r\n- Added the ability to use wildcards.\r\n\r\n1.0.1rc3 (2019-11-30)\r\n---------------------\r\n- A little fix for README.rst\r\n\r\n1.0.1rc2 (2019-11-30)\r\n---------------------\r\n- | Creating a fork of Grant Patten's *pycwheel* package with a fixes,\r\n  | changes and improvements allowing to work with Python3 or higher.\r\n\r\nChanges of the original *pycwheel*:\r\n\r\n1.0.0 (Sep 25, 2016)\r\n--------------------\r\n- Initial commit.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Compile all py files in a wheel to pyc files.",
    "version": "1.3.6",
    "project_urls": {
        "Documentation": "https://pyc-wheel.readthedocs.io/",
        "Download": "https://pypi.org/project/pyc_wheel/",
        "Homepage": "https://pypi.org/project/pyc_wheel/",
        "Issues": "https://github.com/karpierz/pyc_wheel/issues",
        "Source": "https://github.com/karpierz/pyc_wheel"
    },
    "split_keywords": [
        "pyc_wheel",
        " pycwheel",
        " wheel",
        " pyc",
        " compile"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "56b1b5a416c73482b9fb442b4afcf7fd03b2839f88bae3832498cb4cce3902b4",
                "md5": "e679dac70de4fb958a9472ad30224725",
                "sha256": "44aa28a86e08b71665fa329c44ceffde6a7d764239e64b4793d7e3d33d2c9ba3"
            },
            "downloads": -1,
            "filename": "pyc_wheel-1.3.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e679dac70de4fb958a9472ad30224725",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0.0,>=3.10.0",
            "size": 9326,
            "upload_time": "2025-07-10T17:40:35",
            "upload_time_iso_8601": "2025-07-10T17:40:35.594860Z",
            "url": "https://files.pythonhosted.org/packages/56/b1/b5a416c73482b9fb442b4afcf7fd03b2839f88bae3832498cb4cce3902b4/pyc_wheel-1.3.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2f6be755555b7d915597b3777d5803682de6864196cc5144dbea317cefa8afa5",
                "md5": "25ff9f91a3d311a105e11ceb46694f5c",
                "sha256": "0b8c5b1d985f707c7726f9ceefa47590880fad4b2e544bfcae82c02b677cadde"
            },
            "downloads": -1,
            "filename": "pyc_wheel-1.3.6.tar.gz",
            "has_sig": false,
            "md5_digest": "25ff9f91a3d311a105e11ceb46694f5c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0.0,>=3.10.0",
            "size": 132186,
            "upload_time": "2025-07-10T17:40:37",
            "upload_time_iso_8601": "2025-07-10T17:40:37.229389Z",
            "url": "https://files.pythonhosted.org/packages/2f/6b/e755555b7d915597b3777d5803682de6864196cc5144dbea317cefa8afa5/pyc_wheel-1.3.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-10 17:40:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "karpierz",
    "github_project": "pyc_wheel",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyc-wheel"
}
        
Elapsed time: 1.23947s