Skip to main content

voiceblender-python

[!IMPORTANT] This library is auto-generated. Models, request/response/event types, and method bindings are produced by tools/generate.py from the OpenAPI/AsyncAPI specs (see Code generation). Do not edit the generated sources directly — your changes will be overwritten on the next run. Open pull requests against the generator (tools/generate.py) and/or the upstream specs only.

Python client for the VoiceBlender API.

VoiceBlender bridges SIP and WebRTC voice calls with multi-party audio mixing, real-time speech-to-text, text-to-speech, AI agent integration, recording, and webhook-based event delivery.

This is a Python port of voiceblender-go. Models, request types, response types, event types, and method bindings are code-generated from ../VoiceBlender/openapi.yaml + asyncapi.yaml by tools/generate.py — the same spec-driven pattern as the Go SDK.

Installation

pip install voiceblender

Quick start (async)

import asyncio
import voiceblender

async def main():
    async with voiceblender.Client(base_url="http://localhost:8080/v1") as c:
        leg = await c.create_leg(voiceblender.CreateLegRequest(
            type=voiceblender.LegType.SIP_OUTBOUND,
            to="sip:alice@example.com",
        ))
        print("Created leg:", leg.id)

asyncio.run(main())

Quick start (sync)

from voiceblender.sync import SyncClient
import voiceblender

with SyncClient(base_url="http://localhost:8080/v1") as c:
    leg = c.create_leg(voiceblender.CreateLegRequest(
        type=voiceblender.LegType.SIP_OUTBOUND,
        to="sip:alice@example.com",
    ))
    print("Created leg:", leg.id)

Code generation

make generate   # regenerate from openapi.yaml + asyncapi.yaml
make test       # run pytest
make lint       # ruff check
make typecheck  # mypy --strict

License

MIT. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voiceblender-0.12.2.tar.gz (104.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voiceblender-0.12.2-py3-none-any.whl (67.4 kB view details)

Uploaded Python 3

File details

Details for the file voiceblender-0.12.2.tar.gz.

File metadata

  • Download URL: voiceblender-0.12.2.tar.gz
  • Upload date:
  • Size: 104.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for voiceblender-0.12.2.tar.gz
Algorithm Hash digest
SHA256 98fe1f1267f7ba67ad3eeee0e3e0b463eab57dfffe3b0c8ae3245a75cda3c521
MD5 c6b2dfd2ac640237e1e31c9b97ae3756
BLAKE2b-256 daec4fbcdcb089eb7bb009e13d86a1fc63b1f710ad550ac59d4cceef220aaf5a

See more details on using hashes here.

File details

Details for the file voiceblender-0.12.2-py3-none-any.whl.

File metadata

  • Download URL: voiceblender-0.12.2-py3-none-any.whl
  • Upload date:
  • Size: 67.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for voiceblender-0.12.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e0984ab3fda8d03c7200f63a74dc01d86976e8c0e63f1dec37695cbe1bc67fbd
MD5 7c6580fee31ba4e52c844de07d88a52d
BLAKE2b-256 3d604b77ee8a9cbfd11aa4e8cdfa9bbdb26e09502733aaa3c22fcd8480321461

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.0

2 files

0.13.0

2 files

This release

0.12.2 This release

2 files

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