pyUAO
=====
.. image:: https://github.com/eight04/pyUAO/actions/workflows/test.yml/badge.svg
:target: https://github.com/eight04/pyUAO/actions/workflows/test.yml
Big5-UAO table in pure Python.
純 Python 的 UAO (Unicode-At-On) encoder/decoder。
Installation
------------
::
pip install uao
Usage
-----
.. code:: python
from uao import register_uao
register_uao() # register big5-uao as a builtin codecs
print("无法被Big5編碼の字串♥".encode("big5-uao").decode("big5-uao"))
Or use the standalone ``Big5UAOCodec`` class:
.. code:: python
from uao import Big5UAOCodec
uao = Big5UAOCodec()
print(uao.decode(uao.encode("无法被Big5編碼の字串♥")))
Changelog
---------
* 0.2.0 (Feb 22, 2021)
- Add: support python 3.7~3.9.
* 0.1.1 (Jun 11, 2018)
- Fix: remove a print statement.
* 0.1.0 (Jun 11, 2018)
- First release.
Raw data
{
"_id": null,
"home_page": "https://github.com/eight04/pyUAO",
"name": "uao",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "encoding,uao,big5",
"author": "eight",
"author_email": "eight04@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/fa/06/0b8d4f55d0a28ea10b470b2238e08bcaf0e008eaecfdd5fb1c99f59652ac/uao-0.2.0.tar.gz",
"platform": "",
"description": "pyUAO\n=====\n\n.. image:: https://github.com/eight04/pyUAO/actions/workflows/test.yml/badge.svg\n :target: https://github.com/eight04/pyUAO/actions/workflows/test.yml\n\nBig5-UAO table in pure Python.\n\n\u7d14 Python \u7684 UAO (Unicode-At-On) encoder/decoder\u3002\n\nInstallation\n------------\n\n::\n\n pip install uao\n\nUsage\n-----\n\n.. code:: python\n\n from uao import register_uao\n register_uao() # register big5-uao as a builtin codecs\n print(\"\u65e0\u6cd5\u88abBig5\u7de8\u78bc\u306e\u5b57\u4e32\u2665\".encode(\"big5-uao\").decode(\"big5-uao\"))\n\nOr use the standalone ``Big5UAOCodec`` class:\n\n.. code:: python\n\n from uao import Big5UAOCodec\n uao = Big5UAOCodec()\n print(uao.decode(uao.encode(\"\u65e0\u6cd5\u88abBig5\u7de8\u78bc\u306e\u5b57\u4e32\u2665\")))\n\nChangelog\n---------\n\n* 0.2.0 (Feb 22, 2021)\n\n - Add: support python 3.7~3.9.\n\n* 0.1.1 (Jun 11, 2018)\n\n - Fix: remove a print statement.\n\n* 0.1.0 (Jun 11, 2018)\n\n - First release.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Big5-UAO encoder/decoder in pure Python",
"version": "0.2.0",
"split_keywords": [
"encoding",
"uao",
"big5"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "16c992aa4ce2f334c0fa98d5acb00b54",
"sha256": "090c7dd9efa46367dda6a9f1e9719639cc12bfbeb46107363f0ee03d142dda80"
},
"downloads": -1,
"filename": "uao-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "16c992aa4ce2f334c0fa98d5acb00b54",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 229767,
"upload_time": "2021-02-22T11:32:25",
"upload_time_iso_8601": "2021-02-22T11:32:25.889762Z",
"url": "https://files.pythonhosted.org/packages/b9/1b/253bdc6c69bf2138807cdb865948a8801d9410f17554f0781f9e3fe71c67/uao-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "6f7e97ce026b8967f38b168c0bae7980",
"sha256": "acded40ed0848852c58c06c34126cec51d205a1f0cf93d3e37f9aac96cf4de85"
},
"downloads": -1,
"filename": "uao-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "6f7e97ce026b8967f38b168c0bae7980",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 229443,
"upload_time": "2021-02-22T11:32:27",
"upload_time_iso_8601": "2021-02-22T11:32:27.179335Z",
"url": "https://files.pythonhosted.org/packages/fa/06/0b8d4f55d0a28ea10b470b2238e08bcaf0e008eaecfdd5fb1c99f59652ac/uao-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2021-02-22 11:32:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "eight04",
"github_project": "pyUAO",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "Pygments",
"specs": [
[
">=",
"2.2.0"
],
[
"<",
"3"
]
]
},
{
"name": "docutils",
"specs": [
[
"~=",
"0.12"
]
]
},
{
"name": "pyxcute",
"specs": [
[
"==",
"0.6.0"
]
]
},
{
"name": "twine",
"specs": [
[
"<",
"2"
],
[
">=",
"1.6.5"
]
]
},
{
"name": "wheel",
"specs": [
[
"==",
"0.36.2"
]
]
}
],
"lcname": "uao"
}