Skip to main content

buntuu

buNtu depuis Python, sans serveur à gérer : ce paquet embarque le binaire signé de la passerelle et le démarre pour vous.

pip install buntuu openai
import buntuu
from openai import OpenAI

with buntuu.serve(config="buntu.toml") as gateway:
    client = OpenAI(base_url=gateway.base_url + "/v1", api_key="local")
    completion = client.chat.completions.create(
        model="chat",  # alias de route défini dans buntu.toml
        messages=[{"role": "user", "content": "Bonjour"}],
    )
    print(completion.choices[0].message.content)
  • serve() démarre buNtu sur un port libre, attend qu'il soit prêt et l'arrête à la sortie du bloc with. La base est temporaire, sauf si vous passez database="buntu.sqlite".
  • La commande buntu (ou python -m buntuu) lance le binaire directement : buntu serve --config buntu.toml.
  • Plateformes : Linux x86-64 et ARM64, macOS ARM64, Windows x86-64.

Pour un serveur partagé (Docker, production), remplacez gateway.base_url par son adresse : le reste du code ne change pas. Documentation : appeler buNtu depuis n'importe quel langage. Licence Apache 2.0.

Metadata

Release files for buntuu 0.5.0

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 buntuu 0.5.0
File Actions
buntuu-0.5.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for buntuu-0.5.0-py3-none-win_amd64.whl
buntuu-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl Python 3 none Linux musl 1.1+ x86-64, Linux glibc 2.17+ x86-64 Details for buntuu-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl
buntuu-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64, Linux musl 1.1+ ARM64 Details for buntuu-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
buntuu-0.5.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for buntuu-0.5.0-py3-none-macosx_11_0_arm64.whl

Total release size: 14.1 MB

Release files / buntuu-0.5.0-py3-none-win_amd64.whl

Download URL buntuu-0.5.0-py3-none-win_amd64.whl
Size 3.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
ebaa5f875805beba6be8b5e9441b804448dd2eb023fd4cd42bf1231db7d8847c
BLAKE2b-256 checksum
How to use checksums
cb62c198dac77e1b25879478e5360d2a327cbe7b65237fac101c342af0a87462
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 Dec 5, 2026.

Transparency log

Release files / buntuu-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl

Download URL buntuu-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl
Size 3.9 MB
Tags Linux glibc 2.17+ x86-64 Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
12dd74bdb33e3ce3bd7a883d88de54675dce109a8f17c5a10319704253d6e29d
BLAKE2b-256 checksum
How to use checksums
8f77f281ee13e3743f6e86ff035ad795058e3209b40db8f481cea65cddfc4063
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 Dec 5, 2026.

Transparency log

Release files / buntuu-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl

Download URL buntuu-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Size 3.7 MB
Tags Linux glibc 2.17+ ARM64 Linux musl 1.1+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b326b338b8d50661b0b9603b6750871ba99796bc5db629569ea3ca02c594183b
BLAKE2b-256 checksum
How to use checksums
84919d63b0a0460443ddaf6d56951293ece51e3c1164534c5d6bda03dfcc48db
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 Dec 5, 2026.

Transparency log

Release files / buntuu-0.5.0-py3-none-macosx_11_0_arm64.whl

Download URL buntuu-0.5.0-py3-none-macosx_11_0_arm64.whl
Size 3.3 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
649f74d4a970c66825a7d8649ddabab6bd40d15049383b7de473bff80fb450d2
BLAKE2b-256 checksum
How to use checksums
7cb65a5f37a4a619886dcbb4b149d70edc0ce9d99f805d888ced0f4238d79937
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 Dec 5, 2026.

Transparency log

Security for buntuu 0.5.0

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 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for buntuu-0.5.0-py3-none-win_amd64.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 Dec 5, 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