Akebi
Akebi allows Python programs to manage Bun installations. It is intended for programs that need to install or run Node.js packages but do not wish to depend on the end user having an appropriate runtime or package manager installed.
Installation
pip install akebi
Usage
First, create an akebi.Bun object:
from akebi import Bun
bun = Bun()
bun = Bun(version="1.3.14") # use a specific version of Bun
bun = Bun(version="latest") # use the latest version of Bun
You can then invoke Bun by calling the Bun object you just created. A Bun object takes a subprocess.run-esque list or string
containing command-line arguments.
bun(["run", "index.ts"])
bun(["add", "next"])
bun(["create", "docusaurus"])
Akebi will automatically install Bun when you invoke it, but you can also install it explicitly with Bun.setup:
bun.setup()
# or, to forcibly overwrite existing installations of the same version:
bun.setup(force=True)
Under the hood, Akebi uses subprocess.run to invoke Bun. Keyword arguments passed to Bun objects will be passed
through to subprocess.run, e.g.:
bun("update tailwindcss", shell=True, capture_output=True, text=True)
Isolated installations
If you want to ensure the Bun installations used by your program aren't touched by anything else that uses
Akebi, you can set Bun.app_name:
bun = Bun(app_name="com.example.myapp")
Bun installations created by your program will be located under an app_name subdirectory. You should choose
an app name that's consistent within your program and not likely be taken by other programs that use
Akebi.
Metadata
Release files for akebi 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| akebi-0.1.3.tar.gz | 480.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| akebi-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 488.0 kB
Release files / akebi-0.1.3.tar.gz
| Download URL | akebi-0.1.3.tar.gz |
|---|---|
| Size | 480.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81bc009e474d0ad4b12c11cb4b04f2b403e853865ff19134e8f82c64547a4970
|
|
BLAKE2b-256 checksum How to use checksums |
c96e337fba59a28d888135d11ac10d95a052699d50e2c7d059392a1bbbd89004
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 10, 2026.
Transparency logRelease files / akebi-0.1.3-py3-none-any.whl
| Download URL | akebi-0.1.3-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fc52a1ad8bbe80982162ba177ed0f18c30287c9e3bb608474403a634f10fc6f
|
|
BLAKE2b-256 checksum How to use checksums |
2de5b207cf361c307426d21f22019775d10a85a640200f614d731ca47fe9e757
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 10, 2026.
Transparency log