Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mete0r/hypua2jamo
Convert Hanyang-PUA code (U+E0BC~U+F8F7) to unicode Hangul Jamo (U+1100~U+11FF), i.e. Syllable-Initial-Peak-Final Encoding (첫가끝 코드).
https://github.com/mete0r/hypua2jamo
Last synced: about 2 months ago
JSON representation
Convert Hanyang-PUA code (U+E0BC~U+F8F7) to unicode Hangul Jamo (U+1100~U+11FF), i.e. Syllable-Initial-Peak-Final Encoding (첫가끝 코드).
- Host: GitHub
- URL: https://github.com/mete0r/hypua2jamo
- Owner: mete0r
- License: lgpl-3.0
- Created: 2012-09-07T04:09:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-08-22T15:18:23.000Z (over 1 year ago)
- Last Synced: 2024-04-16T06:56:53.536Z (9 months ago)
- Language: SourcePawn
- Size: 2.26 MB
- Stars: 12
- Watchers: 2
- Forks: 5
- Open Issues: 13
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: COPYING
Awesome Lists containing this project
- awesome-hangul - hypua2jamo - [한양 사용(私用) 영역 코드](https://ko.wikipedia.org/wiki/%EC%98%9B_%ED%95%9C%EA%B8%80#%ED%95%9C%EC%96%91_%EC%82%AC%EC%9A%A9%EC%9E%90_%EC%A0%95%EC%9D%98_%EC%98%81%EC%97%AD_%EC%BD%94%EB%93%9C)[^한양PUA]를 [첫가끝 코드](https://ko.wikipedia.org/wiki/%EC%98%9B_%ED%95%9C%EA%B8%80#%EC%B2%AB%EA%B0%80%EB%81%9D_%EC%BD%94%EB%93%9C)로 변환하는 라이브러리 (Programming Languages / Python)
README
hypua2jamo
==========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
Supported Python versions
-------------------------- Python 2.7
- Python 3.7 or above.Documentation & Development
---------------------------- Documentation: `http://hypua2jamo.readthedocs.org `_
- GitHub: `https://github.com/mete0r/hypua2jamo `_
- Issue tracker: `https://github.com/mete0r/hypua2jamo/issues `_
- Bug reports, feedbacks and contributions are welcome!Hacking
-------Currently, development and maintenance is taking place in the Debian stable version environment. Following debian packages are required::
sudo apt install python3.9 python3.9-dev python3.9-venv
sudp apt install python2.7 python2.7-dev
sudo apt install make build-essential cmakeTo bootstrap development environment, run following commands in the project root directory::
python3.9 -m venv venv
. venv/bin/activate
pip install --upgrade setuptools pip pip-tools
make update-requirements
make testContributors
------------Maintainer: `mete0r `_
License
-------.. image:: http://www.gnu.org/graphics/lgplv3-147x51.png
:width: 147px`GNU Lesser General Public License Version 3 `_
`(text version) `_Disclosure
----------This work is based on `KTUG `_
`Hanyang PUA Table Project `_.