Skip to content

libindic/payyans

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LibIndic Payyans

Build Status Coverage Status

LibIndic's Payyans module may be used to convert texts encoded in ASCII format to Unicode and vice-versa. More fonts can be added by placing their maps in libindic/payyans/maps folder.

Installation

  1. Clone the repository git clone https://github.com/libindic/payyans.git
  2. Change to the cloned directory cd payyans
  3. Run setup.py to create installable source python setup.py sdist
  4. Install using pip pip install dist/libindic-payyans*.tar.gz

Usage

>>> from libindic.payyans import Payyans
>>> instance = Payyans()
>>> result = instance.ASCII2Unicode("aebmfw", "ambili")
>>> print(result)
മലയാളം
>>> result2 = instance.Unicode2ASCII(u"കേരളം", "ambili")
>>> print(result2)
tIcfw

Watch this video to know more about what ASCII and Unicode encodings are

Ask a question about this library

About

This library helps to convert ascii texts to unicode.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published