{"id":15571317,"url":"https://github.com/wimglenn/whl","last_synced_at":"2026-04-27T02:33:00.436Z","repository":{"id":77760900,"uuid":"316977413","full_name":"wimglenn/whl","owner":"wimglenn","description":"Minimalist wheel building","archived":false,"fork":false,"pushed_at":"2023-05-06T02:52:08.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-19T06:46:08.076Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wimglenn.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-29T15:07:51.000Z","updated_at":"2023-01-17T02:21:22.000Z","dependencies_parsed_at":"2024-11-18T09:17:34.452Z","dependency_job_id":null,"html_url":"https://github.com/wimglenn/whl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wimglenn%2Fwhl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wimglenn%2Fwhl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wimglenn%2Fwhl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wimglenn%2Fwhl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wimglenn","download_url":"https://codeload.github.com/wimglenn/whl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243224549,"owners_count":20256722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T17:58:52.315Z","updated_at":"2025-12-26T02:54:08.327Z","avatar_url":"https://github.com/wimglenn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"whl\n===\n\nQuickly makes Python wheels_ from a bunch of .py files without needing a ``setup.py`` at all.\n\n**You probably don't want to use this**. It's intentionally minimal for my own use-cases, and doesn't have many features yet (no support for dependencies, extras). If all you're looking for is a fast build, then consider using ``flit build --format wheel`` with a ``pyproject.toml``, this should be nearly as fast.\n\nUsage\n-----\n\nFor a single file distribution:\n\n.. code-block:: python\n\n   python whl.py path/to/myfile.py\n\nFor a package (directory with an ``__init__.py`` file in it):\n\n.. code-block:: python\n\n   python whl.py path/to/dir\n\n``whl.py`` will look in some sensible places to autodetect the package name/version.\n\nRationale\n---------\n\nIf all you want to do is package some ``.py`` file(s) into a ``.whl``, that's essentially just making a zipfile. Executing a setuptools_ / distutils_ style installer script or a PEP517_ / PEP518_ style build system is bloated with features which you don't need, and it can be done much cheaper/faster:\n\n.. code-block:: bash\n\n   $ time python whl.py mypkg\n   ./mypkg-0.1-py2.py3-none-any.whl\n   python whl.py mypkg  0.06s user 0.02s system 86% cpu 0.091 total\n\nCompared with doing things the correct_ way:\n\n.. code-block:: bash\n\n   $ time python -m build --wheel .\n   * Creating venv isolated environment...\n   ...\n   \u003cblah blah\u003e\n   ...\n   Successfully built mypkg-0.1-py2.py3-none-any.whl\n   python -m build --wheel .  5.05s user 0.53s system 96% cpu 5.776 total\n\n.. _wheels: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#wheels\n.. _correct: https://pypi.org/project/build/\n.. _setuptools: https://setuptools.pypa.io/en/latest/\n.. _distutils: https://docs.python.org/3/library/distutils.html\n.. _PEP517: https://peps.python.org/pep-0517/\n.. _PEP518: https://peps.python.org/pep-0518/\n.. _flit: https://flit.pypa.io/en/latest/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwimglenn%2Fwhl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwimglenn%2Fwhl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwimglenn%2Fwhl/lists"}