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

Total release size: 14.0 MB

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

Download URL buntuu-0.4.0-py3-none-win_amd64.whl
Size 3.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
c8f68357013b8f22755354bc18ddf012ba2b5e7270bddae1c142ac60a57882d3
BLAKE2b-256 checksum
How to use checksums
0ceabef2aee5625c951422c3c855659d60175f34d4feb3114910e2648f66841a
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 1, 2026.

Transparency log

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

Download URL buntuu-0.4.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
33415d73ce331b3337435a32b0c6d312d28e1fab341c5fe67c46e5ad780a2e68
BLAKE2b-256 checksum
How to use checksums
fde92e16f2af372c44b218d74d1bd1ac88c7a7ebb23e5d4ae4bea9f07fa322dc
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 1, 2026.

Transparency log

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

Download URL buntuu-0.4.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
a49ae313acc659d3a825c93f4cd8a424386523940bf2dff133907b932ebaf8b4
BLAKE2b-256 checksum
How to use checksums
e68e8473697fcc9f5fad9e628c1498c15d13d191be970fc537191bb3c4ffd788
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 1, 2026.

Transparency log

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

Download URL buntuu-0.4.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
b07ea41bff91f12c02c32bf6cf9b8880d6fd15355345f7c9b816ed1083e6e3df
BLAKE2b-256 checksum
How to use checksums
265bfad474eecf3e99d7ad0484886812246512e4c52377fe1a5199e6f7ae970c
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 1, 2026.

Transparency log

Security for buntuu 0.4.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.4.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 1, 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