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

Total release size: 14.0 MB

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

Download URL buntuu-0.3.0-py3-none-win_amd64.whl
Size 3.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3d168f8811dd295e1b7f70621932618a1081ecc1a0a83dcebb7659f430122ecd
BLAKE2b-256 checksum
How to use checksums
b380b906e5840ad5f3eb1f92192ddabbf74eabba5f592aa25d4a5a952e6ba8e9
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 30, 2026.

Transparency log

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

Download URL buntuu-0.3.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
cc413f78fd95928e2ee41d8ae015009a91c0a61c53ed7be67444658638aeea91
BLAKE2b-256 checksum
How to use checksums
ac55bbb49defbf123b014ec25ef71f41f48627106e44d522b23eb67b86427b9a
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 30, 2026.

Transparency log

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

Download URL buntuu-0.3.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
7c71ce1d84a6134b9733e1ca3ca0594fb668dbb7631dac3cba336f2019bbea4c
BLAKE2b-256 checksum
How to use checksums
19905ed8791e0859d51b3412ad015d47f6fc6f6519b524da4d79208fc141c8fe
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 30, 2026.

Transparency log

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

Download URL buntuu-0.3.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
6b96c662edfd09da54ff469b59b69465c88df82d8dacb88339137050a3846257
BLAKE2b-256 checksum
How to use checksums
c5ca7b304b42f53fb54bb5e3e270b881f4d83c328ac719ffbd60926c5866902d
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 30, 2026.

Transparency log

Security for buntuu 0.3.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.3.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 Nov 30, 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