Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

tamil-toolkit for Python

Rust-backed Tamil text tools for CPython.

PyPI version Monthly downloads CI MIT license

Install · Quick start · Documentation

What’s included

Area Capabilities
Unicode and letters NFC/NFD normalization, tailored Tamil letter operations, and inspection.
Ordering Stable Mei-first Agara collation and versioned sort/search keys.
Numbers and dates Bounded TN/SL number words, exact INR/LKR amounts, fractions, and Gregorian dates.
Legacy conversion Bamini text conversion, bounded TSCII/TAB/TAM/Anjal byte profiles, and LT-TM / IndoWord 16-bit CID conversion.

Python is a thin binding to the shared Rust implementation.

Install

Python 3.11+ with GIL-enabled CPython is supported. Install the published alpha:

python -m pip install tamil-toolkit==0.1.0a3

Quick start

import tamil_toolkit as tamil

text = "தமிழ்"
print(" | ".join(tamil.get_letters(text)))  # த | மி | ழ்
print(tamil.unicode_to_bamini(text))  # jkpo;
print(tamil.format_currency(102550, "LKR", "SL"))  # LKR 1,025.50
print(tamil.format_fraction(2, 4))  # 1/2

102550 is an exact amount in minor units. The numeral APIs support bounded TN/SL profiles and INR/LKR amounts.

Alpha 3 scope

The PyPI 0.1.0a3 package includes the capabilities listed above. The shared execute API exposes lt_tm_codes_to_unicode, lt_tm_text_to_unicode, unicode_to_lt_tm_codes, and unicode_to_lt_tm_text. LT-TM conversion handles selected 16-bit code sequences; it does not parse PDFs, select font runs, or detect encodings. The profile does not claim complete historical-font coverage. APIs may change.

Other planned linguistic modules, the private PDF extraction utility, and Dart/Pub distribution are not published.

import tamil_toolkit as tamil

codes = tamil.execute({"op": "unicode_to_lt_tm_codes", "input": {"text": "தமிழ்"}})
text = tamil.execute({"op": "lt_tm_codes_to_unicode", "input": {"codes": codes}})

Documentation

The wheels target CPython 3.11+ through the stable abi3 interface. Source builds require Rust 1.85+. See the alpha 3 release record for artifact details.

License

Original code is MIT licensed. Bundled data and mappings retain their recorded terms in the third-party notices.

Metadata

Release files for tamil-toolkit 0.1.0a3

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

Source distribution (sdist)

Source distribution for tamil-toolkit 0.1.0a3
File Size Uploaded Provenance Actions
tamil_toolkit-0.1.0a3.tar.gz 126.4 kB With provenance Details for tamil_toolkit-0.1.0a3.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tamil-toolkit 0.1.0a3
File Interpreter ABI Platform Actions
tamil_toolkit-0.1.0a3-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for tamil_toolkit-0.1.0a3-cp311-abi3-win_amd64.whl
tamil_toolkit-0.1.0a3-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for tamil_toolkit-0.1.0a3-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
tamil_toolkit-0.1.0a3-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for tamil_toolkit-0.1.0a3-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 1.4 MB

Release files / tamil_toolkit-0.1.0a3.tar.gz

Download URL tamil_toolkit-0.1.0a3.tar.gz
Size 126.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a2031796d1f66472654fcb4e5fe1e9c68e71a0da0d1061c49675a598dd8e02c0
BLAKE2b-256 checksum
How to use checksums
3d40aa71c95ae056fca716a09b5c33b978d3d98958c43f7f0d9a5b324dd4e64b
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 1, 2026.

Transparency log

Release files / tamil_toolkit-0.1.0a3-cp311-abi3-win_amd64.whl

Download URL tamil_toolkit-0.1.0a3-cp311-abi3-win_amd64.whl
Size 347.8 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
bf5ab3b73a7ee4f20c76e9a85a89d456eb13cf361055b21ef9e67898b226632a
BLAKE2b-256 checksum
How to use checksums
218356705a7e05ca42cf4edcd9a3d5069a4323162a02c2aea47fc9cc3849b3dc
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 1, 2026.

Transparency log

Release files / tamil_toolkit-0.1.0a3-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL tamil_toolkit-0.1.0a3-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 503.9 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
b4079bbf2e9aec9e8ef1c0afaa11e0361cac5f02aa30ac9b0f7c7d250ee70ec7
BLAKE2b-256 checksum
How to use checksums
41526e1f22ff149a573713312d5f28eb75461f4f1225942b19c3eebb2a271368
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 1, 2026.

Transparency log

Release files / tamil_toolkit-0.1.0a3-cp311-abi3-macosx_11_0_arm64.whl

Download URL tamil_toolkit-0.1.0a3-cp311-abi3-macosx_11_0_arm64.whl
Size 444.1 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
56b99350253d99fcef2ab0055f4858efebb71303208ab90f009cf9bdd4619ea5
BLAKE2b-256 checksum
How to use checksums
a977675b38fd666ee1d15ee256834d61fcd521eb54d5bde3ea96762dcf5e82e8
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 1, 2026.

Transparency log

Security for tamil-toolkit 0.1.0a3

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

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for tamil_toolkit-0.1.0a3.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 1, 2026.

Transparency log

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

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