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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14155f896f30324734b8e1ccc47ca59bb7b9277eede6ed7f158c35cec5e0941b
|
|
| MD5 |
072f5d31293b36c9189881d7aeb52ef6
|
|
| BLAKE2b-256 |
2f725902af926a626875636f9f3024c9213a794926ca778bc3014a853b5d0d80
|
Provenance
The following attestation bundles were made for jamolib-0.1.0.tar.gz:
Publisher:
python-publish.yml on smturtle2/jamolib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jamolib-0.1.0.tar.gz -
Subject digest:
14155f896f30324734b8e1ccc47ca59bb7b9277eede6ed7f158c35cec5e0941b - Sigstore transparency entry: 1122826026
- Sigstore integration time:
-
Permalink:
smturtle2/jamolib@72f889d23a1a4a132206883620e32465ed5e6acd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/smturtle2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@72f889d23a1a4a132206883620e32465ed5e6acd -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aa827c8ffb2ca65722e9f5e557e3c0c63f8cf99de88bf4bcae45f60e74d7473
|
|
| MD5 |
6bbeecd8fb0846575fc71aaf050a8770
|
|
| BLAKE2b-256 |
90330cfb1b14906de50e0853e1d8a79ef0c7034ae030b6204e3ca7991b18e65d
|
Provenance
The following attestation bundles were made for jamolib-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on smturtle2/jamolib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jamolib-0.1.0-py3-none-any.whl -
Subject digest:
9aa827c8ffb2ca65722e9f5e557e3c0c63f8cf99de88bf4bcae45f60e74d7473 - Sigstore transparency entry: 1122826047
- Sigstore integration time:
-
Permalink:
smturtle2/jamolib@72f889d23a1a4a132206883620e32465ed5e6acd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/smturtle2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@72f889d23a1a4a132206883620e32465ed5e6acd -
Trigger Event:
release
-
Statement type: