Metadata-Version: 2.1
Name: hypua2jamo
Version: 0.7
Summary: Convert Hanyang-PUA code to unicode Hangul Jamo, i.e., Syllable-Initial-Peak-Final Encoding (첫가끝 코드).
Home-page: https://github.com/mete0r/hypua2jamo
Author: mete0r
Author-email: 137794+mete0r@users.noreply.github.com
License: GNU Lesser General Public License v3 or later (LGPLv3+)
Keywords: Hanyang,PUA,Unicode,Syllable-Initial-Peak-Final Encoding
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Natural Language :: Korean
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Text Processing :: Filters
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*,!=3.6.*
Description-Content-Type: text/x-rst
License-File: COPYING
License-File: COPYING.LESSER
Requires-Dist: cffi (>=1.0.0)

hypua2jamo
==========

Convert `Hanyang-PUA code <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>`_ (U+E0BC~U+F8F7) to unicode Hangul Jamo (U+1100~U+11FF), i.e. `Syllable-Initial-Peak-Final Encoding (첫가끝 코드) <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>`_.

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 <http://pypi.python.org/pypi/hypua2jamo>`_::

   pip install hypua2jamo


Supported Python versions
-------------------------

- Python 2.7
- Python 3.7 or above.

Documentation & Development
---------------------------

- Documentation: `http://hypua2jamo.readthedocs.org <http://hypua2jamo.readthedocs.org>`_
- GitHub: `https://github.com/mete0r/hypua2jamo <https://github.com/mete0r/hypua2jamo>`_
- Issue tracker: `https://github.com/mete0r/hypua2jamo/issues <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 cmake

To 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 test

Contributors
------------

Maintainer: `mete0r <https://github.com/mete0r>`_

License
-------

.. image:: http://www.gnu.org/graphics/lgplv3-147x51.png
   :width: 147px

`GNU Lesser General Public License Version 3 <http://www.gnu.org/licenses/lgpl.html>`_
`(text version) <http://www.gnu.org/licenses/lgpl-3.0.txt>`_

Disclosure
----------

This work is based on `KTUG <http://www.ktug.or.kr>`_
`Hanyang PUA Table Project <http://faq.ktug.or.kr/faq/HanyangPuaTableProject>`_.

Changes
=======

0.7 (2023-05-22)
----------------

- Fix `hypua2jamo` script to work.


0.6 (2023-04-02)
----------------

- Build Win64 wheels.
- Add support for Python 3.9 / 3.10 / 3.11
- Drop support for Python 3.5 / Python 3.6


0.5.1 (2020-05-08)
------------------

- Re-release for Windows wheels.


0.5 (2020-05-08)
----------------

- Add support for Python 3.8


0.4.5 (2019-12-15)
------------------

- Fix wheel building for MS Windows.
- Drop support for Python 3.4


0.4.4 (2019-03-21)
------------------

- Reintroduce codes2unicode() for backward compatibility.


0.4.3 (2019-03-20)
------------------

- Fix wheel building for Python 3.5, 3.6 and 3.7.


0.4.2 (2019-03-20)
------------------

- Add support for Python 3.5, 3.6 and 3.7.


0.4.1 (2019-03-20)
------------------

- Release binary wheels.


0.4.0 (2019-03-19)
------------------

- Modernize development environment.
- encoder / decoder
