Skip to main content

yonyon (Python)

Official Python client for the public yonyon.ai agent API, generated from the OpenAPI spec at https://yonyon.ai/.well-known/openapi.json.

The HTTP API this client wraps is public and read only. There is no key and no login. (The separate MCP server at /api/mcp has one write tool, book_intro_call, which books a real call; it is not part of this client.) Rate limit: 10 requests per IP per minute, shared across /ask, /api/chat and /api/v1.

Install

pip install yonyon

Requires Python 3.11 or newer.

Use

from yonyon import Client
from yonyon.api.default import list_projects

client = Client(base_url="https://yonyon.ai")

with client as c:
    projects = list_projects.sync(client=c)
    response = list_projects.sync_detailed(client=c)  # status code, headers, raw body

Each operation has sync, sync_detailed, asyncio and asyncio_detailed variants, except the five CORS preflight modules (*_preflight), which have only sync_detailed and asyncio_detailed (they return a Response[Any] with no parsed model). Operations live in yonyon.api.default (ask_nlweb, ask_yonatan, list_projects, batch, create_job, get_job, and the index routes); models live in yonyon.models.

API docs: https://yonyon.ai/developers. The npm CLI in the parent folder covers the same API.

Regenerate

uvx --from openapi-python-client openapi-python-client generate \
  --path openapi.json --config openapi-generator-config.yml --meta uv --output-path . --overwrite
uv build

Refresh openapi.json from https://yonyon.ai/.well-known/openapi.json first. The generator rewrites README.md and pyproject.toml, so restore both after regenerating: this README, LICENSE, and all the hand-set [project] metadata (description, authors, license, license-files, keywords, [project.urls]) plus the build-system bound.

License

MIT. See LICENSE.

Metadata

Release files for yonyon 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yonyon 0.1.0
File Size Uploaded Provenance Actions
yonyon-0.1.0.tar.gz 22.9 kB With provenance Details for yonyon-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yonyon 0.1.0
File Interpreter ABI Platform Actions
yonyon-0.1.0-py3-none-any.whl Python 3 none any Details for yonyon-0.1.0-py3-none-any.whl

Total release size: 82.4 kB

Release files / yonyon-0.1.0.tar.gz

Download URL yonyon-0.1.0.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
df6df93d2b44ad9b097b3b48545bb84e4cb80cbf2a428ee36f91bb06a3fb9f22
BLAKE2b-256 checksum
How to use checksums
ea8860a36bb8afbcd2a7b3329e43dca97257dbb936e350e3a2881e6bfe931934
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

Release files / yonyon-0.1.0-py3-none-any.whl

Download URL yonyon-0.1.0-py3-none-any.whl
Size 59.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77010c2929a973b2beb1d065085152cd56ec50006bceef6fbbc78d89d20b42e0
BLAKE2b-256 checksum
How to use checksums
d3ac5c23c51743b7c12d5c40869a73dc029576e58d7ade454ad25545ced96d62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

Security for yonyon 0.1.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for yonyon-0.1.0.tar.gz

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 Oct 26, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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