Skip to main content

Nepali Unicode Converter

A tool to convert Romanized text to corresponding Nepali unicode.

Installation

pip install nepali-unicode-converter

Usage

from nepali_unicode_converter.convert import Converter

converter = Converter()
mystring = 'ke chha hajura?'

print(converter.convert(mystring))  ## Output: 'के छ हजुर?'

Mapping Table

Basic vowels

Roman Unicode Roman Unicode
a अ oo ऊ
aa आ Ri ॠ
ee ई Ree ॠ
i इ e ए
u उ ai ऐ
o ओ

Basic Akaars

Roman Unicode Roman Unicode Roman Unicode
ka क Ta ट pa प
kha ख Tha ठ pha फ
ga ग Da ड fa फ
gha घ Dha ढ ba ब
Nga ङ Na ण bha भ
NGa ङ्ग ta त va भ
cha च tha थ ma म
chha छ da द ya य
ja ज dha ध ra र
jha झ na न la ल
yNa ञ pa प sha श
wa व sa स Sha ष
ha ह ksha क्ष tra त्र
gya ज्ञ gYa ग्य

Halantas

Just omit the 'a' at the end.

Kaar and other suffixes

Roman Unicode
kaa का
ki कि
kee की
ku कु
koo कू
ke के
kai कै
ko को
kau कौ
kaM कं
kaNN कँ
ka: क:
mRI मृ

Numbers

There is a natural mapping.

TODO

  • Make it more intelligent.

Metadata

Release files for nepali-unicode-converter 1.0.3

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

Built distribution (wheel)

Table of built distributions (wheels) for nepali-unicode-converter 1.0.3
File Interpreter ABI Platform Actions
nepali_unicode_converter-1.0.3-py3-none-any.whl Python 3 none any Details for nepali_unicode_converter-1.0.3-py3-none-any.whl

Release files / nepali_unicode_converter-1.0.3-py3-none-any.whl

Download URL nepali_unicode_converter-1.0.3-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9cb546cdeef58cbab9de6533e9b86501b7b7188518046bb78a85e134ef98469c
BLAKE2b-256 checksum
How to use checksums
0b4def867b19faa3b570451f6365a28f99a46362f4aff9f508fa85482238e557
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

Security for nepali-unicode-converter 1.0.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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