Skip to main content

Utilities for decomposing, composing, and keyboard-mapping Korean Hangul text.

Project description

JamoLib

JamoLib는 한글 텍스트를 자모 단위로 분해하고 다시 조합하거나, 영문 키보드 입력을 한글로 변환할 때 사용할 수 있는 가벼운 파이썬 라이브러리입니다.

설치

pip install jamolib

주요 기능

  • decomposeHangul: 한글 음절 하나를 자모 단위로 분해합니다.
  • decomposeHangulText: 문자열 전체를 자모 문자열로 분해합니다.
  • composeHangul: 자모를 한글 음절 하나로 조합합니다.
  • composeHangulText: 자모 문자열을 다시 한글 문자열로 조합합니다.
  • translateEngToKor: 두벌식 영문 키 입력을 한글 문자열로 변환합니다.

사용 예시

import jamolib

print(jamolib.decomposeHangulText("한글"))
# ㅎㅏㄴㄱㅡㄹ

print(jamolib.composeHangulText("ㅎㅏㄴㄱㅡㄹ"))
# 한글

print(jamolib.translateEngToKor("dkssudgktpdy"))
# 안녕하세요

개발

python -m pip install -e .[test]
pytest
python -m build

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

jamolib-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jamolib-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file jamolib-0.1.0.tar.gz.

File metadata

  • Download URL: jamolib-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jamolib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 14155f896f30324734b8e1ccc47ca59bb7b9277eede6ed7f158c35cec5e0941b
MD5 072f5d31293b36c9189881d7aeb52ef6
BLAKE2b-256 2f725902af926a626875636f9f3024c9213a794926ca778bc3014a853b5d0d80

See more details on using hashes here.

Provenance

The following attestation bundles were made for jamolib-0.1.0.tar.gz:

Publisher: python-publish.yml on smturtle2/jamolib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jamolib-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jamolib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jamolib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9aa827c8ffb2ca65722e9f5e557e3c0c63f8cf99de88bf4bcae45f60e74d7473
MD5 6bbeecd8fb0846575fc71aaf050a8770
BLAKE2b-256 90330cfb1b14906de50e0853e1d8a79ef0c7034ae030b6204e3ca7991b18e65d

See more details on using hashes here.

Provenance

The following attestation bundles were made for jamolib-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on smturtle2/jamolib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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