langcode turn, support iso 639-1, iso 639-2, iso 639-3
Project description
langcode_turner
A tool to turn language code version to other language code version.
e.g.
ISO 639-1 to ISO 639-3.
en -> eng
or
ISO 639-3 to ISO 639-1
est -> et
Support language code and Version
- ISO 639-1
- ISO 639-2
- ISO 639-3
- Baidu language code
- Ids language code (The Intercontinental Dictionary Series)
Usage
install
pip install langcode_turner
use
from langcode_turner import langcode_turner
langcode = langcode_turner("est")
print(langcode.iso_639_3)
update log
- v0.0.1 build code
- v0.0.2 - v0.0.6 fix error
- v0.0.6 a normal version
- v0.0.7 add baidu langcode
- v0.0.8-9 add ids language code support
- v0.1.0 change some function name and add unittest
- v0.1.1 fix a ids_id error, the ids_id type change to str.
License
MIT License
Author
Feliks Peegel
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
langcode_turner-0.1.1.tar.gz
(71.0 kB
view details)
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 langcode_turner-0.1.1.tar.gz.
File metadata
- Download URL: langcode_turner-0.1.1.tar.gz
- Upload date:
- Size: 71.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de8c883b775f21f00fc1fc4cfbce64761c210fc3697f2876675c72a5f5573adb
|
|
| MD5 |
ed794aa1aea95294e2ac7b87f383d3b1
|
|
| BLAKE2b-256 |
b709a84bb5ba1aff429c4e88196c03974dc45484b7714ebab663c28abbf00c74
|
File details
Details for the file langcode_turner-0.1.1-py3-none-any.whl.
File metadata
- Download URL: langcode_turner-0.1.1-py3-none-any.whl
- Upload date:
- Size: 71.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91c0c3974770b2e28a14fb02f48b91c69af403393c5d435cc5008fe0592603a1
|
|
| MD5 |
66ddc6060dfefafcc9397efad2a48ab9
|
|
| BLAKE2b-256 |
621a2902ea690f5ffacd31eed95d69670af5ca04db3e870dbf6af47b59daf379
|