Daktilo
Multilingual audio transcription, with Darija and Amazigh support.
Turn an audio recording into text with Sawalni API. Use it for interviews, voice notes or the transcript step of a caption workflow. Built by Omneity Labs.
Quick start
pip install daktilo
export SAWALNI_API_KEY="your-key"
daktilo transcribe interview.wav --output transcript.txt
Create an API key and enable transcription access. Requests use API credits. This package calls the hosted service; it does not run a model locally.
Python
from pathlib import Path
from daktilo import Daktilo
with Daktilo() as client:
result = client.transcribe("interview.wav")
Path("transcript.txt").write_text(result["text"], encoding="utf-8")
print(result.get("language"))
print(result.get("warnings", []))
The response preserves the service's text, detected language, segments, warnings and usage when available. Review the words before using the transcript for captions or another downstream task.
Languages
Daktilo supports Darija, Amazigh and major languages including Arabic, English, French, Spanish, German, Italian, Portuguese, Chinese, Japanese, Korean, Russian, Turkish and Dutch. Leave language unset for automatic selection, especially for Amazigh and mixed-language audio recordings.
The API currently accepts forced hints ar, ary, en, fr, es, de, it, pt, zh, ja, ko, ru, tr and nl. A forced Amazigh hint such as shi is not accepted; use automatic selection. Language availability does not imply the same accuracy for every variety, accent or audio recording.
daktilo transcribe interview.wav --language ary --json --output result.json
with Daktilo() as client:
result = client.transcribe("interview.wav", language="ary")
From transcript to timed captions
Audio recording → Daktilo → Review transcript → Sawalign → SRT captions
Need word timings or subtitles? Sawalign aligns your reviewed transcript to the same audio recording. The Python and TypeScript starter covers the full workflow.
Client reference
Daktilo(api_key=None, base_url="https://api.sawalni.com/v1", timeout=300) uses SAWALNI_API_KEY when no key is supplied. Use it as a context manager or call close().
transcribe(audio, language=None, model="daktilo") accepts a local file path and returns the response dictionary. The default model follows the service's Daktilo alias. HTTP errors raise httpx.HTTPStatusError; connection failures raise httpx.RequestError. Uploads are not automatically retried.
Audio recordings must be at most 128 MiB and 30 minutes. The service validates duration. Inspect warnings and any segment truncation flags before downstream use. Empty recognized text can be a valid result for silence. The client preserves it.
Keep API keys in your terminal or server environment. Python 3.10 or later. MIT license.
Metadata
Release files for daktilo 0.1.0
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 |
|---|---|---|---|---|
| daktilo-0.1.0.tar.gz | 5.7 kB | With provenance | Details for daktilo-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| daktilo-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for daktilo-0.1.0-py3-none-any.whl |
Total release size: 11.6 kB
Release files / daktilo-0.1.0.tar.gz
| Download URL | daktilo-0.1.0.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18e464d2f715df6954805f497bb0c5a2a88ab44aecbd81ca4eecfcf813d6abe1
|
|
BLAKE2b-256 checksum How to use checksums |
47dd13b2945fe85ee4a1d419eb6e02e620570b42b8a368f1ffb8df14193b4ff0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 14, 2026.
Transparency logRelease files / daktilo-0.1.0-py3-none-any.whl
| Download URL | daktilo-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f180b75dc2d6ed92939b639b0a0155c4aad456a917fa1c08602061429cbbab5
|
|
BLAKE2b-256 checksum How to use checksums |
5cddb9b8f53cf0466d6d3f86a1199bfb056d63b4d8ac512c660324659bd8425c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 14, 2026.
Transparency logSecurity for daktilo 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.
Attestation for daktilo-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 Nov 14, 2026.
Transparency logA 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.