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

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.1
File Size Uploaded
raqeem-0.2.1.tar.gz 22.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for raqeem 0.2.1
File
raqeem-0.2.1-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
raqeem-0.2.1-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.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
raqeem-0.2.1-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
raqeem-0.2.1-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.1.tar.gz

Download URL raqeem-0.2.1.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8764fdd5cf78babc9a7bb75e4564aa4265ae13ab03399a5dbf57457502a98054
BLAKE2b-256 checksum
How to use checksums
e9ea4f4e096a7ca0f7dc658b96af0f348e367a9aec90ba62eb317c5be0b1b306
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 22, 2026.

Transparency log

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

Download URL raqeem-0.2.1-cp39-abi3-win_amd64.whl
Size 1.6 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
81ea332094615d45abfa680575a634fd1cdd97b67c750100570b3c0b87c684ac
BLAKE2b-256 checksum
How to use checksums
e1ca9fbc3f0c131e1640443fc5555d45522be1844fa2477fa28ef2c21dd2930d
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 22, 2026.

Transparency log

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

Download URL raqeem-0.2.1-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
7e884a0d1411e03e1c4bda9fd037eba51288e5fb8b5dfab2e772a8f721effd28
BLAKE2b-256 checksum
How to use checksums
3c7a23d84156016f5f30af533775539017ee6e647b4401a140766d6ecded6644
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 22, 2026.

Transparency log

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

Download URL raqeem-0.2.1-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
25056a396687403f80fab867e711add55b7002f6b6ffee8c4047620948aebcbf
BLAKE2b-256 checksum
How to use checksums
6ad3d4891c6fb339d563cba191b7010ba54ea0dde7a515a6557e8967f1513fb3
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 22, 2026.

Transparency log

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

Download URL raqeem-0.2.1-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
08ea73363e1d671039438d69192d05f66aa1b8a61346cf9b6899fb0e9597f263
BLAKE2b-256 checksum
How to use checksums
2837a9627c2cf11b9331b60c13f00505349e41bf2ec6149b2899d13e78dc0cde
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 22, 2026.

Transparency log

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

Download URL raqeem-0.2.1-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
4c93781a0788e021417d2b0d2f66801f06cc115d7234419f23971749ff410e66
BLAKE2b-256 checksum
How to use checksums
470d1f38adff4ae2411720b920e993470c7f2ac350cb7941346b1004dae31b94
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 22, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.0

6 release files

0.2.3

6 release files

0.2.2

6 release files

This release

0.2.1 This release

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