Skip to main content

bun-wheel

PyPI - Version PyPI - Python Version PyPI - Downloads GitHub Actions Workflow Status

Unofficial Python wheel for Bun. Provides the bun command via pip.

Installation

pip install bun-wheel

After installation, the bun command is available in your environment:

bun --version
bun run index.ts

Supported platforms

Platform x86-64 ARM64
Linux (glibc) ✓ ✓
Linux (musl) ✓ ✓
macOS ✓ ✓
Windows ✓ ✓

Building from source

Development and the Hatch build command require Python 3.11+ and uv. The repository's .python-version selects Python 3.14 by default. Installing and running the wheel supports Python 3.10+.

uv run --locked --only-dev hatch build -t wheel

To build for a specific Bun version, update the version field in pyproject.toml to match the desired Bun release, then rebuild.

Development and testing

Install the locked development tools and run the unit tests:

uv sync --locked --only-dev
PYTHONPATH=src uv run --no-sync --only-dev python -m pytest tests/test_runtime.py tests/test_build_hook.py tests/test_update_bun.py -q

These unit tests use mocks and do not need a downloaded Bun binary or network access. --only-dev installs the tools without building the project itself.

The dev dependency group requires Python 3.11+ so Hatch can use patched filelock releases. The lightweight test group contains pytest and supports Python 3.10. CI runs the unit tests with locked dependencies on Python 3.11–3.14, builds all supported platform wheels, and installs the Linux x86-64 wheel on Python 3.10 to test the runtime, CLI, and bundled binary before publishing.

Inspiration

This project was inspired by nodejs-wheel package.

Disclaimer

This project is not affiliated with or endorsed by Oven Inc. Bun is developed and maintained by Oven.

License

This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.

The bundled Bun binary is distributed under its own MIT license - see LICENSES/MIT.txt.

Metadata

Release files for bun-wheel 1.4.5

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

Built distributions (wheels)

Table of built distributions (wheels) for bun-wheel 1.4.5
File Actions
bun_wheel-1.4.5-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for bun_wheel-1.4.5-py3-none-win_arm64.whl
bun_wheel-1.4.5-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for bun_wheel-1.4.5-py3-none-win_amd64.whl
bun_wheel-1.4.5-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for bun_wheel-1.4.5-py3-none-musllinux_1_2_x86_64.whl
bun_wheel-1.4.5-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for bun_wheel-1.4.5-py3-none-musllinux_1_2_aarch64.whl
bun_wheel-1.4.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for bun_wheel-1.4.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
bun_wheel-1.4.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for bun_wheel-1.4.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
bun_wheel-1.4.5-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for bun_wheel-1.4.5-py3-none-macosx_11_0_arm64.whl
bun_wheel-1.4.5-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details for bun_wheel-1.4.5-py3-none-macosx_10_9_x86_64.whl

Total release size: 385.5 MB

Release files / bun_wheel-1.4.5-py3-none-win_arm64.whl

Download URL bun_wheel-1.4.5-py3-none-win_arm64.whl
Size 49.1 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
bbc259d81a939c554d70d7cd3ee437d07888d0d9a8f0b543eb5f459ef5363077
BLAKE2b-256 checksum
How to use checksums
4163499546464b4dd0fa482a1241f7c8295ff917132bb2eade710680505ae774
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / bun_wheel-1.4.5-py3-none-win_amd64.whl

Download URL bun_wheel-1.4.5-py3-none-win_amd64.whl
Size 54.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
9599a0eaf0299550e9596a51a502a11487e0db05fe519e52533d6ea4187e170e
BLAKE2b-256 checksum
How to use checksums
8c4b081f2c24a7bb320793c2b9f5f19d14e0d6f21d0a51a9f1884f5cc99a2a76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / bun_wheel-1.4.5-py3-none-musllinux_1_2_x86_64.whl

Download URL bun_wheel-1.4.5-py3-none-musllinux_1_2_x86_64.whl
Size 48.3 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
0f4c44aaa18bfc98c6ee8239054f87b3b78cb58342854c599ff35f9885550963
BLAKE2b-256 checksum
How to use checksums
cf8baa813df4d30d0848dd49f71661bc3c13d08f043cdf36acb0e105e01b8c2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / bun_wheel-1.4.5-py3-none-musllinux_1_2_aarch64.whl

Download URL bun_wheel-1.4.5-py3-none-musllinux_1_2_aarch64.whl
Size 47.9 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
6162c05da0be6a0c290678fbc678ebc6986ce2b00248c12816c08e40bfccb20c
BLAKE2b-256 checksum
How to use checksums
7618c5517a58003cf0be415dab2718a77ea76292e4abf5b81265a95f91c8f4c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / bun_wheel-1.4.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL bun_wheel-1.4.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 51.3 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
76e18adcba834300465633317c72412b8908a5fc5db3791b35996fc8778aa242
BLAKE2b-256 checksum
How to use checksums
dea49c611d761f98d33a995ac054988759adb1002b0a466c406af8d7ad200d51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / bun_wheel-1.4.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL bun_wheel-1.4.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 51.1 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c18336e926179156d1cce5bb3123cda5652ee5ac94b0bcac438a719d5ae3884a
BLAKE2b-256 checksum
How to use checksums
a7206ef0bdabea0cf448bc152586533737c6b6ec6b3517bce978da09a95b19fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / bun_wheel-1.4.5-py3-none-macosx_11_0_arm64.whl

Download URL bun_wheel-1.4.5-py3-none-macosx_11_0_arm64.whl
Size 39.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c967e5032737871e11adac8dfed5f921b04660fe2fc54e671f3c2956d57434f1
BLAKE2b-256 checksum
How to use checksums
6f3ef005599fa0ba4dcc517303d07dc8b02808675d99a6611a58acdd048ca9c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / bun_wheel-1.4.5-py3-none-macosx_10_9_x86_64.whl

Download URL bun_wheel-1.4.5-py3-none-macosx_10_9_x86_64.whl
Size 43.5 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
49c140b2ce6812fc72243f31b73ace17a48df7a9d50c784d3c04822090d38455
BLAKE2b-256 checksum
How to use checksums
333610d9a5c98ad7e67e347876e51017450cfa42bf5d5167fec003656f9d5a12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for bun-wheel 1.4.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for bun_wheel-1.4.5-py3-none-win_arm64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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