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.
Tamil calendar Unreleased bounded Thirukanitham Gregorian/solar conversion and five-limb panchangam reports for declared TN/SL coordinates in 2024–2027. Its custom profile does not claim every publisher's Drik output; calendar fixtures remain planned.
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.0a6

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

The PyPI 0.1.0a6 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 6 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.0a6

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

Built distributions (wheels)

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

Total release size: 4.9 MB

Release files / tamil_toolkit-0.1.0a6.tar.gz

Download URL tamil_toolkit-0.1.0a6.tar.gz
Size 292.7 kB
Tags Source
SHA-256 checksum
How to use checksums
21fcd08dc53ac262038575f170850fa687b9c615a48458fb7a81af25d76bf888
BLAKE2b-256 checksum
How to use checksums
a25e9c925c318b666f88df615739523da6215044846918226f1402633f9b92b3
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 5, 2026.

Transparency log

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

Download URL tamil_toolkit-0.1.0a6-cp311-abi3-win_amd64.whl
Size 1.4 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9ae5cfba9c4cbc7d2975910c21cad1230e9a4e4bd00e67ee42ee14b16b119cd3
BLAKE2b-256 checksum
How to use checksums
284f84810f062232343daa39ffa4afff7d02fa262d196f6155b7844e6fd6129b
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 5, 2026.

Transparency log

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

Download URL tamil_toolkit-0.1.0a6-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.7 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
d0880314611f8260d200ab6ab3982ce1cb0890b25523cc85ff9efbc7bb79a2bd
BLAKE2b-256 checksum
How to use checksums
abb04c377929e351d46a0d8ee532e9dcf9b0681fe5c5d59f5732dcffb07e9cb5
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 5, 2026.

Transparency log

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

Download URL tamil_toolkit-0.1.0a6-cp311-abi3-macosx_11_0_arm64.whl
Size 1.5 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3564fc6d109260640dc625152a4857d28f28c04be09d4737b012a277a8add6b6
BLAKE2b-256 checksum
How to use checksums
2c445e41717003d69685a86912c80038a17b8e57dc812431e5cefe8b9ef00e19
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 5, 2026.

Transparency log

Security for tamil-toolkit 0.1.0a6

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.0a6.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 5, 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