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

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.2
File Size Uploaded
raqeem-0.2.2.tar.gz 22.6 kB Details

Built distributions (wheels)

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

Download URL raqeem-0.2.2.tar.gz
Size 22.6 kB
Tags Source
SHA-256 checksum
How to use checksums
377fc86b420173f4fee87774ecd3f44d0eb372de24c5f9aad11bd926c0466c06
BLAKE2b-256 checksum
How to use checksums
5ee710a249b655e2e0f1a46ad4fa712287fba0c95f57774b95b210fbba8dbef8
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 24, 2026.

Transparency log

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

Download URL raqeem-0.2.2-cp39-abi3-win_amd64.whl
Size 1.6 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9f67bb5fbc5efbd8f86df39d07ee38a33f886350bab0fd2b8fd4fc8c85f441a8
BLAKE2b-256 checksum
How to use checksums
fe3b4158531656e9e580fc1bf7ac6cf5f8243d60440af470051dbcecf2c1c368
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 24, 2026.

Transparency log

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

Download URL raqeem-0.2.2-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
5bc912c9e9a411d4bd3770bf5fa1d154a372382ac55060729ecd74c0ec5c4e02
BLAKE2b-256 checksum
How to use checksums
e8f3ced4daca8a9c2e5ece3114f1b477aab7e5debcf8e4e18364413e5d6d4ceb
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 24, 2026.

Transparency log

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

Download URL raqeem-0.2.2-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
129d2385f9273b1eb15b75f0fd545aec608007a0f7a7f61ded8208b47d852252
BLAKE2b-256 checksum
How to use checksums
e75c6cb512b3d6c89e43262d2820fc326459cac5752422dc9c6dc6b02ed734bf
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 24, 2026.

Transparency log

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

Download URL raqeem-0.2.2-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
9845d44ed63d43eae7b92faa8fd743f44b8398e0d240a4c5917739930eb9944b
BLAKE2b-256 checksum
How to use checksums
99792ec1b010b7b7f6fb582d6b2b07ccc72defd7e92c5126fd5389be6d58dc88
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 24, 2026.

Transparency log

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

Download URL raqeem-0.2.2-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
dcfb1801897e6c732a3272f6f02a3e0c5d6b648221cc0b89cdcd0bbfe894f535
BLAKE2b-256 checksum
How to use checksums
522d4b23e6ef3d57580d251d40c8b99f352ce211e7c630a50dcfb22704d42ced
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 24, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.0

6 release files

0.2.3

6 release files

This release

0.2.2 This release

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