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

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

The PyPI 0.1.0a5 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 5 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.0a5

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

Built distributions (wheels)

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

Total release size: 4.8 MB

Release files / tamil_toolkit-0.1.0a5.tar.gz

Download URL tamil_toolkit-0.1.0a5.tar.gz
Size 253.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0b10494b5d51f7451927d19c97230e386256cddfc929b5b4ad3413ebe3dbfc17
BLAKE2b-256 checksum
How to use checksums
088a1bd08119cac6010e8c14c915fc243052005af5c13423f931400ac1567bbb
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 2, 2026.

Transparency log

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

Download URL tamil_toolkit-0.1.0a5-cp311-abi3-win_amd64.whl
Size 1.4 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
55eb1226d58d9b9d1e6ff475df90d9398eece1118209e3b4c19a9173cfea9768
BLAKE2b-256 checksum
How to use checksums
9d3ee5e3cc134e37f55e4ed1f6198742737682f1b5cd6372e9065e01a05ad84e
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 2, 2026.

Transparency log

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

Download URL tamil_toolkit-0.1.0a5-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
c102d2038870aef527e1075c18f8856d3be21465554abfef6eea76e67bdc2b0b
BLAKE2b-256 checksum
How to use checksums
8658329788fd97597900d029ffe935ad73a640e6fbffe0702663ec18025ed00e
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 2, 2026.

Transparency log

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

Download URL tamil_toolkit-0.1.0a5-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
a267aaa3840b0f155ef5291c23bff7c035c8436060efbf4c6dd5ac3bd6e0751b
BLAKE2b-256 checksum
How to use checksums
140ad934188fa2fa8acff5e1ebc97753b5b0ab5c3a3f74d392fd67ef94f68374
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 2, 2026.

Transparency log

Security for tamil-toolkit 0.1.0a5

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.0a5.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 2, 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