Skip to main content

رقيم · raqeem

The easy way to use Cohere's open Arabic speech-recognition model from Python.

raqeem wraps CohereLabs/cohere-transcribe-arabic-07-2026 — the most accurate open-source Arabic ASR model (dialects + Arabic/English code-switching), Apache-2.0.

It is a compiled Rust extension, not a pure-Python wrapper: no torch, no model weights, no subprocess. Inference is delegated to an endpoint you choose — Cohere's hosted API, or your own vLLM.

pip install raqeem
import raqeem

# Cohere hosted API (reads $COHERE_API_KEY)
t = raqeem.transcribe("voice_note.ogg", lang="ar")
print(t.text)              # verbatim, for humans
print(t.text_normalized)   # Arabic-folded, for parsing
print(t.to_dict())

# your own vLLM — the Cohere key is never sent to a self-hosted endpoint
t = raqeem.transcribe(
    "clip.wav",
    provider="openai",
    endpoint="http://localhost:8000/v1/audio/transcriptions",
)

# the Arabic normalizer on its own
raqeem.normalize_ar("الطماطم بـ ١٢٫٥ جنيه")   # 'الطماطم ب 12.5 جنيه'

text_normalized folds alef/hamza, taa-marbuta, strips tatweel and diacritics, and converts Arabic-Indic and Persian digits to ASCII — note ١٢٫٥ becomes 12.5, one number rather than two, which matters if anything downstream parses prices or quantities.

Failures raise raqeem.TranscriptionError; a bad provider or a missing key/endpoint raises ValueError.

Full docs, the CLI, and the roadmap (subtitles, diarization, more bindings): https://github.com/SufficientDaikon/raqeem

All model accuracy credit belongs to Cohere Labs — this package is the ergonomics. Apache-2.0.

Metadata

Release files for raqeem 0.2.3

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

Source distribution (sdist)

Source distribution for raqeem 0.2.3
File Size Uploaded
raqeem-0.2.3.tar.gz 22.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for raqeem 0.2.3
File
raqeem-0.2.3-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
raqeem-0.2.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
raqeem-0.2.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
raqeem-0.2.3-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
raqeem-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 9.2 MB

Release files / raqeem-0.2.3.tar.gz

Download URL raqeem-0.2.3.tar.gz
Size 22.7 kB
Tags Source
SHA-256 checksum
How to use checksums
890ff195269ef300ff46ef0e12efb4ae54262c0baf6f4041ea1d1f50b727c30b
BLAKE2b-256 checksum
How to use checksums
99824562365d29db3338b268c84a47fdaeb9e3fc02c68b53a3ab474515dc20e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 27, 2026.

Transparency log

Release files / raqeem-0.2.3-cp39-abi3-win_amd64.whl

Download URL raqeem-0.2.3-cp39-abi3-win_amd64.whl
Size 1.6 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
67a9b39497770c26689e10f4060f3fce547b25b8b270baa5ef5cc7b26dc4a96d
BLAKE2b-256 checksum
How to use checksums
5dcf924454c9b244078882f6d933b00d4be7c3ae36859a35208428ce7db0680b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 27, 2026.

Transparency log

Release files / raqeem-0.2.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL raqeem-0.2.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.0 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
aa662281946c979be516ea38089fda25005b0935ef691d8356471245aa1b2f4c
BLAKE2b-256 checksum
How to use checksums
28284e4d60d2d97e3753cb8c4819c9749f3f5643d1e4022514a2b80520ffef1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 27, 2026.

Transparency log

Release files / raqeem-0.2.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL raqeem-0.2.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.0 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
0e6ea5865e9ea053879f5ff324fe135b1cf8a32faa88ef8cccfd6e7a20edb08b
BLAKE2b-256 checksum
How to use checksums
597ee7cc1c0e770306ef7f3451d6bc5f4ae258332275574335c3486ccc46628b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 27, 2026.

Transparency log

Release files / raqeem-0.2.3-cp39-abi3-macosx_11_0_arm64.whl

Download URL raqeem-0.2.3-cp39-abi3-macosx_11_0_arm64.whl
Size 1.8 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d094ca43194c82b01f983211b413ea15569b1ddef63acc01e101b1790118655c
BLAKE2b-256 checksum
How to use checksums
9b6b94698c7ec1e43e76a4efbf732400f15b301c6a5a55b84873d44856ba9317
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 27, 2026.

Transparency log

Release files / raqeem-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl

Download URL raqeem-0.2.3-cp39-abi3-macosx_10_12_x86_64.whl
Size 1.8 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
d49bd4192e3269d2d96fd6986b0810ad908022e709aa91ab3348e6949b443a3e
BLAKE2b-256 checksum
How to use checksums
3895d9eb25e6ee8489e42c2e66332a6fedc741b4d7e3546f78e8a74406f24b12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 27, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.0

6 release files

This release

0.2.3 This release

6 release files

0.2.2

6 release files

0.2.1

6 release 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