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",
    model="CohereLabs/cohere-transcribe-arabic-07-2026",
)

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

text_normalized folds alef/hamza, taa-marbuta, strips tatweel and diacritics, removes the invisible characters that come along with copied RTL text (zero-width joiners, bidi marks, a stray BOM), 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. normalize_ar is idempotent and safe on mixed Arabic/ASCII, so you can run it on both sides of a comparison.

Failures raise raqeem.TranscriptionError; a bad provider, or a missing key / endpoint / model, raises ValueError. transcribe releases the GIL for the round-trip, so it does not block other threads while the endpoint is working.

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.3.0

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.3.0
File Size Uploaded
raqeem-0.3.0.tar.gz 39.4 kB Details

Built distributions (wheels)

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

Total release size: 9.3 MB

Release files / raqeem-0.3.0.tar.gz

Download URL raqeem-0.3.0.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
71d4538a1934468df873a441cff490716208e1ff9f9c23250fbca925b68995fc
BLAKE2b-256 checksum
How to use checksums
5ef76dfda2a13d863c114fdbb506f3c07550f0326026f2a026b0dbb33144de4d
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 28, 2026.

Transparency log

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

Download URL raqeem-0.3.0-cp39-abi3-win_amd64.whl
Size 1.7 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9f40930ff63d221a722a0adc8619d14f4cb43254833ac76830d7afe7d79757b6
BLAKE2b-256 checksum
How to use checksums
1946f44639994cad97aa0f50f054e02f66ff81ef078c5f12d75a9f8b74b42546
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 28, 2026.

Transparency log

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

Download URL raqeem-0.3.0-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
5f69e7fc152bdb16eedbd9bb2ec9a2c4ac0275f1ded698ee16f9be3a42fc94f1
BLAKE2b-256 checksum
How to use checksums
18a64a9abf32f281ad06de95908bc2c21d3538b944daa319d83d8e7903680c8b
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 28, 2026.

Transparency log

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

Download URL raqeem-0.3.0-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
a941e66ebb415b5b6b1b964d9f785c4342cce1a9d99dc13c3d45f1cdd5354ee3
BLAKE2b-256 checksum
How to use checksums
b099f0d368c1bee37565c7f834170ae6db1d2956928c1b1be2ad059eb6ceecde
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 28, 2026.

Transparency log

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

Download URL raqeem-0.3.0-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
17037a299a57bfcb7425aa8cce373e929966c1818b28a2f8c20d7b133112afe2
BLAKE2b-256 checksum
How to use checksums
cfeeb9c7f6f3099f17699949009a430df8fedf20aa1caaf52538b9540512649a
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 28, 2026.

Transparency log

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

Download URL raqeem-0.3.0-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
ccfbca31f1b3c6ad6b8b09741a086bdd065e2445d7b17d375589885d84ed0d6a
BLAKE2b-256 checksum
How to use checksums
7f9f826a4150297cd3c5b804c5345081a84ba2f099d1c278ffc9e4e4550ece57
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 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

6 release files

0.2.3

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