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.0a4

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 4 scope

The PyPI 0.1.0a4 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 4 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.0a4

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.0a4
File Size Uploaded Provenance Actions
tamil_toolkit-0.1.0a4.tar.gz 129.3 kB With provenance Details for tamil_toolkit-0.1.0a4.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tamil-toolkit 0.1.0a4
File Interpreter ABI Platform Actions
tamil_toolkit-0.1.0a4-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for tamil_toolkit-0.1.0a4-cp311-abi3-win_amd64.whl
tamil_toolkit-0.1.0a4-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.0a4-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
tamil_toolkit-0.1.0a4-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for tamil_toolkit-0.1.0a4-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 1.4 MB

Release files / tamil_toolkit-0.1.0a4.tar.gz

Download URL tamil_toolkit-0.1.0a4.tar.gz
Size 129.3 kB
Tags Source
SHA-256 checksum
How to use checksums
26e356ee13b0d0cc720df5c3283ba289b8c97c5b50479a6e59dc905428760025
BLAKE2b-256 checksum
How to use checksums
96ae5c7111d638a5aafc747689c68bb02ebcdbfe855f7f93f514215d8ec0848c
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.0a4-cp311-abi3-win_amd64.whl

Download URL tamil_toolkit-0.1.0a4-cp311-abi3-win_amd64.whl
Size 354.7 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a0831bc03624937623cdc7f26d5ffe4b78555da84e747952c216c7d5107dc2cd
BLAKE2b-256 checksum
How to use checksums
48453bfdd8a1b10486352bcb02f7c5fd913c01311d6a986085986ea993179a19
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.0a4-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL tamil_toolkit-0.1.0a4-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 508.7 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
c386e879c6d93429212327f632fb5824b03fe45239216d63e73556c82dc9d28e
BLAKE2b-256 checksum
How to use checksums
c53cbb199ce89cdf7b2b77b83f9fda3f74007a91257a992a866c5496cf44a395
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.0a4-cp311-abi3-macosx_11_0_arm64.whl

Download URL tamil_toolkit-0.1.0a4-cp311-abi3-macosx_11_0_arm64.whl
Size 450.7 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
da6eda9966a64dda765774fa2e1751620e8ffb9c83a91f4d91e151dcde28bc7d
BLAKE2b-256 checksum
How to use checksums
69f06606a85d2a9afa5558cb65ef6c7345dc86a2a4a7f3541ead9c903ee098b1
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.0a4

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.0a4.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