Inko.py
Open Source Library, Converting Misspelled English characters into Korean letters (& vice versa)
Python implementation of Inko.js
Getting Started
Requirements
- Python >= 3.6
Installation
python -m pip install inko-py
Usage
import inko
myInko = inko.Inko()
or
from inko import Inko
myInko = Inko()
영어(en) -> 한글(ko)
print(myInko.ko2en('ㅗ디ㅣㅐ 재깅!'))
# output: hello world!
한글(ko) -> 영어(en)
print(myInko.en2ko('dkssudgktpdy tptkd!'))
# output: 안녕하세요 세상!
Optional parameter
| Key | Type | Value | Description |
|---|---|---|---|
| allowDoubleConsonant | Boolean | True or False | 복자음 설정여부 |
설정을 부여하는 방법은 아래의 세 가지 방법으로 지원합니다.
- 인스턴스 생성할 때 생성자의 인자로 설정 부여
from inko import Inko
myInko = Inko(allowDoubleConsonant=True)
config함수로 설정 부여
myInko.config(allowDoubleConsonant=True)
en2ko함수의 인자로 설정 부여
myInko.en2ko('rtrt', allowDoubleConsonant=True);
# output: ㄳㄳ
myInko.en2ko('rtrt', {allowDoubleConsonant=False);
# output: ㄱㅅㄱㅅ
Related
- inko-js - Inko javascript library
- inko-cli - Use inko on the command line
- inko-web - Inko official website
- inko-chrome-extension - Inko chrome extension
- alfred-inko - Alfred 3 workflow to convert misspelled English characters into Korean letters (& vice versa)
Contributing
이 오픈소스 프로젝트에 누구나 기여할 수 있습니다. 기여하고 싶은 분들은 이 레포지토리를 포크한 후 풀리퀘스트 요청해주세요!
License
Inko.py is released under the MIT License. See LICENSE file for details.
Credits
Thanks to Jon Jee(738), the original author of Inko.js
Metadata
Release files for inko-py 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| inko-py-1.0.0.tar.gz | 5.0 kB | Without provenance | Details for inko-py-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inko_py-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for inko_py-1.0.0-py3-none-any.whl |
Total release size: 10.9 kB
Release files / inko-py-1.0.0.tar.gz
| Download URL | inko-py-1.0.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3a3cf65bac36af6a9c998b0e3b128d9c463459fdd0c5b60e7da129c4bbb0daf
|
|
BLAKE2b-256 checksum How to use checksums |
ed3abec14abf1d04df911f8d7e818df974b4ff8d6f78a155fabfd3923eff2df9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|
Release files / inko_py-1.0.0-py3-none-any.whl
| Download URL | inko_py-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48ce1efe0e14879a50ea8220b043d1d6ed578fce8ea97c554e3d5afbf78185bd
|
|
BLAKE2b-256 checksum How to use checksums |
160ba15b9c33098d5866873022a45b37baf6662d698a5be2da8248821b8a59d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|
Security for inko-py 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.