Skip to main content

Big5-UAO encoder/decoder in pure Python

Project description

https://github.com/eight04/pyUAO/actions/workflows/test.yml/badge.svg

Big5-UAO table in pure Python.

純 Python 的 UAO (Unicode-At-On) encoder/decoder。

Installation

pip install uao

Usage

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:

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.

Project details


Download files

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

Source Distribution

uao-0.2.0.tar.gz (229.4 kB view hashes)

Uploaded Source

Built Distribution

uao-0.2.0-py3-none-any.whl (229.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page