Skip to main content

apibazzar

Python SDK for APIBazzar — a marketplace of standardized, callable Blocks (translation, OCR, summarization, and more). Instead of building a feature yourself, search for a Block and call it:

필요한 기능을 다시 만들지 말고, 가져다 조립하세요. (Don't rebuild the feature you need — find it and plug it in.)

Install

pip install apibazzar

Usage

Get an API key from your APIBazzar dashboard, then:

from apibazzar import Client

client = Client(api_key="ab_live_...")

result = client.run(
    "translation",
    data={"text": "Hello", "target_language": "Korean"},
)
print(result)  # {"translated_text": "안녕하세요"}

If you call the same Block repeatedly, client.service() saves you from repeating the slug:

translate = client.service("translation")
result = translate(data={"text": "Hello", "target_language": "Korean"})

Secrets

Some Blocks call external APIs (e.g. OpenAI) on your behalf. Register your own key once in the dashboard under Secrets, and it's used automatically — or pass it per-request if you'd rather not store it:

result = client.run(
    "summarization",
    data={"text": long_article},
    secrets={"OPENAI_API_KEY": "sk-..."},
)

Errors

Failed calls raise apibazzar.APIBazzarError with the server's error message:

from apibazzar import APIBazzarError

try:
    client.run("translation", data={"text": "Hello"})  # missing required field
except APIBazzarError as exc:
    print(exc)  # "translation: Input validation failed: 'target_language' is a required property"

Metadata

Release files for apibazzar 0.1.1

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

Source distribution (sdist)

Source distribution for apibazzar 0.1.1
File Size Uploaded Provenance Actions
apibazzar-0.1.1.tar.gz 3.5 kB With provenance Details for apibazzar-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 7.0 kB

Release files / apibazzar-0.1.1.tar.gz

Download URL apibazzar-0.1.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bb4ce1eb6a708c1e7b1feb15254097ab4903c9825893c1d3d93a817746ea6628
BLAKE2b-256 checksum
How to use checksums
033d1b0ccb1c251e204c5e2c9cdb58d71cea614b18650d3772b94f518421e50a
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 Aug 5, 2026.

Transparency log

Release files / apibazzar-0.1.1-py3-none-any.whl

Download URL apibazzar-0.1.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd7ce4e8245c95622dcc131b477fe646a5d1182f1b49677ab5dea8819c0cd017
BLAKE2b-256 checksum
How to use checksums
f2700875c14dc1af7763e87953997d945963f7c2635750664a898ecce0563396
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 Aug 5, 2026.

Transparency log

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

Full provenance

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

Select from 2 files

Attestation for apibazzar-0.1.1.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 Aug 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