Skip to main content

A PyPi package for converting Nepali words to Romanized English literals. This package performs transliteration, converting Devanagari words into Roman literals.

Project description

Nepali-to-Roman 🌐

Downloads Version License

Elegantly transform Nepali text into Romanized English with precision using the powerful nepali-to-roman Python package. Overcoming the limitations of existing solutions, this package meticulously maps Nepali literals and words to their precise Romanized counterparts.

🚀 Installation

Install nepali-to-roman effortlessly using pip. Ensure you have pip installed and run:

pip install nepali-to-roman

🎨 Usage

Import the ntr module into your Python script or interactive environment:

import ntr

The ntr module exposes the nep_to_rom function, designed for transliterating Nepali text. Each word in a sentence is individually transliterated, and the results are seamlessly merged into a single string.

Syntax:

ntr.nep_to_rom(text)

Example:

import ntr
print(ntr.nep_to_rom("म नेपाल मा बस्छु ।"))
# Output: ma nepal ma baschhu .

🌱 Contributions

This package is licensed under The MIT License (MIT), details of which can be found in the LICENSE file. As an open-source project, we enthusiastically welcome contributions and feedback. If you have ideas for improvements or extensions, please feel free to contribute.

👥 About Contributors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nepali-to-roman-1.1.0.tar.gz (28.6 kB view details)

Uploaded Source

File details

Details for the file nepali-to-roman-1.1.0.tar.gz.

File metadata

  • Download URL: nepali-to-roman-1.1.0.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for nepali-to-roman-1.1.0.tar.gz
Algorithm Hash digest
SHA256 6050b0af5393540f6d40e5194812ead9ce4d45314162a094858d2e3f411bac79
MD5 180f9fe6ba8dfdf7d836511f26718504
BLAKE2b-256 c686ab4840304e4880b41bd15ff5d7ab2fd1d4a1abccf643a0b5c7a7dc5d0a88

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page