Auto-generated Python client for the ARBI-TR transcription API
Project description
arbi-tr
Auto-generated Python client for the ARBI-TR transcription API
(faster-whisper + pyannote diarization), generated from the service's OpenAPI spec by
openapi-python-client.
This package is generated. Do not edit it by hand — run
./scripts/generate-client.shin the ARBI-TR repo to regenerate it from the current API.
Install
pip install -e client/ # local, from a generated checkout
Usage
Create a client pointed at your ARBI-TR deployment:
from arbi_tr_client import Client
client = Client(base_url="http://localhost:8000")
Async job API (transcribe → poll)
from arbi_tr_client.api.default import (
transcribe_audio_endpoint_transcribe_post as submit,
get_task_status_task_status_session_id_get as status,
)
from arbi_tr_client.models import BodyTranscribeAudioEndpointTranscribePost
from arbi_tr_client.types import File
with open("meeting.mp3", "rb") as fh:
body = BodyTranscribeAudioEndpointTranscribePost(
file=File(payload=fh, file_name="meeting.mp3", mime_type="audio/mpeg"),
task_str="transcribe",
)
submitted = submit.sync(client=client, body=body)
result = status.sync(client=client, session_id=submitted.session_id)
OpenAI-compatible endpoint
The service also exposes POST /v1/audio/transcriptions, so the standard OpenAI SDK works as a
drop-in client. Use transcribe_openai_v1_audio_transcriptions_post from this package for a typed call.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arbi_tr-0.1.0.tar.gz.
File metadata
- Download URL: arbi_tr-0.1.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f0c2a03ba1b09d207ac56ff9a43616c66b11df9fed66a5681824e9bdb0ab498
|
|
| MD5 |
00340ec572e7e0a0192203fb5ee36d91
|
|
| BLAKE2b-256 |
f2595c38def4279a5215357547e14192c0381be75884efd35cfd8e2d23bbedab
|
File details
Details for the file arbi_tr-0.1.0-py3-none-any.whl.
File metadata
- Download URL: arbi_tr-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad7445ae3498dcbe9cffa8e1827a1a5fc87061d9012b33f82cee5bd6109c5913
|
|
| MD5 |
f9396869a7e65d8ad85e4815377bc2e6
|
|
| BLAKE2b-256 |
d528ca174a54d3ce90652d80a479c4ab504c6947a48acb47fff9fbcf78a4a435
|