Skip to main content

Convert Hanyang-PUA code to unicode Hangul Jamo, i.e., Syllable-Initial-Peak-Final Encoding (첫가끝 코드).

Project description

Convert Hanyang-PUA code (U+E0BC~U+F8F7) to unicode Hangul Jamo (U+1100~U+11FF), i.e. Syllable-Initial-Peak-Final Encoding (첫가끝 코드).

Example

>>> from hypua2jamo import translate
>>> pua = u'\ub098\ub78f\u302e\ub9d0\u302f\uebd4\ubbf8\u302e'
>>> translate(pua)
u'\ub098\ub78f\u302e\ub9d0\u302f\u110a\u119e\ubbf8\u302e'
>>> print _
나랏말ᄊ미
>>> translate(pua, composed=False)
u'\ub098\ub78f\u302e\ub9d0\u302f\u1109\u1109\u119e\ubbf8\u302e'
>>> print _
나랏말ㅅㅅ미

Installation

from PyPI:

pip install hypua2jamo

Requirements

  • Python 2.7
  • Python 3.5 or above.

Documentation & Development

Contributors

Maintainer: mete0r

Disclosure

This work is based on KTUG Hanyang PUA Table Project.

Project details


Download files

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

Files for hypua2jamo, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size hypua2jamo-0.5.1-cp27-cp27m-win32.whl (774.5 kB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp35-cp35m-manylinux1_i686.whl (1.6 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp35-cp35m-manylinux1_x86_64.whl (2.0 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp35-cp35m-manylinux2010_i686.whl (1.6 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp35-cp35m-manylinux2010_x86_64.whl (2.0 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp35-cp35m-win32.whl (774.6 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp36-cp36m-manylinux1_i686.whl (1.6 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp36-cp36m-manylinux1_x86_64.whl (2.0 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp36-cp36m-manylinux2010_i686.whl (1.6 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp36-cp36m-manylinux2010_x86_64.whl (2.0 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp36-cp36m-win32.whl (774.8 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp37-cp37m-manylinux1_i686.whl (1.6 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp37-cp37m-manylinux1_x86_64.whl (2.0 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp37-cp37m-manylinux2010_i686.whl (1.6 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp37-cp37m-manylinux2010_x86_64.whl (2.0 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp37-cp37m-win32.whl (774.8 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp38-cp38-manylinux1_i686.whl (1.6 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp38-cp38-manylinux1_x86_64.whl (2.0 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp38-cp38-manylinux2010_i686.whl (1.6 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp38-cp38-manylinux2010_x86_64.whl (2.0 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size hypua2jamo-0.5.1-cp38-cp38-win32.whl (775.3 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size hypua2jamo-0.5.1.tar.gz (697.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page