frutebox
The official Frutebox SDK for Python — call the Frutebox network with no third-party AI library.
pip install frutebox
from frutebox import Frutebox
frutebox = Frutebox(api_key="sk_live_...") # or set FRUTEBOX_API_KEY
res = frutebox.chat.completions.create(
messages=[{"role": "user", "content": "Draft a friendly reminder email."}],
)
print(res["choices"][0]["message"]["content"])
Supports chat + streaming, tool calling, images, videos, audio, moderations and models. HTTPS is enforced, so your key is never sent in plaintext.
- Get an API key: https://frutebox.com/app/keys
- Documentation: https://frutebox.com/docs
FRUTEBOX_API_KEY is read from the environment when no api_key is passed. The older
STEVAI_API_KEY is still accepted so existing environments keep working; FRUTEBOX_API_KEY wins
when both are set.
Status
0.0.1 is an early release. The client is hand-written, and a fully typed client generated from the published API specification is planned. The surface may change before 1.0.
This release calls the OpenAI-shaped compatibility endpoint (/api/v1/chat/completions), which is
being phased out in favour of the native Frutebox API. Your code here is not affected — the move
happens behind this client — but if you are calling the HTTP API directly, prefer the native
endpoint. See https://frutebox.com/docs.
Licence
MIT — see LICENSE.
Metadata
Release files for frutebox 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| frutebox-0.0.1.tar.gz | 4.4 kB | Without provenance | Details for frutebox-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| frutebox-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for frutebox-0.0.1-py3-none-any.whl |
Total release size: 9.5 kB
Release files / frutebox-0.0.1.tar.gz
| Download URL | frutebox-0.0.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
877e62dcbfd88afdb21756da4f1a6e6216e03afbe73b0525072d3786a6b8e6dd
|
|
BLAKE2b-256 checksum How to use checksums |
11ed5ffc8429cbb72c3b3004f7c148a8b43bca3bc9494546765032635fbebd25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / frutebox-0.0.1-py3-none-any.whl
| Download URL | frutebox-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
364d22826d4975e899d304c72962e50907dcce53282b2facab3a0a930798b9a0
|
|
BLAKE2b-256 checksum How to use checksums |
146e820bb2fcde9dd58c1fd1ab34a02f0176b69a1cd89002080fc6a16faa8e1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for frutebox 0.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.