Skip to main content

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-2 fix a ids_id error, the ids_id type change to str.
  • v0.1.3 fix a bug, add ci/cd gitlab
  • v0.1.4 fix a language name can't find out code bug.
  • v0.1.5 fix a bug, add language code name.
  • v0.1.6 fix a bug, add language code name,add wordnet().

License

MIT License

Author

Feliks Peegel

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

langcode_turner-0.1.8.tar.gz (72.3 kB view details)

Uploaded Source

Built Distribution

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

langcode_turner-0.1.8-py3-none-any.whl (74.2 kB view details)

Uploaded Python 3

File details

Details for the file langcode_turner-0.1.8.tar.gz.

File metadata

  • Download URL: langcode_turner-0.1.8.tar.gz
  • Upload date:
  • Size: 72.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for langcode_turner-0.1.8.tar.gz
Algorithm Hash digest
SHA256 ef848ff01152a8b4832dc57bd6c9367d4addd53b9dbe530ee2ad3b1bc2dd1802
MD5 736cf6418329bb18cde993f920324fe5
BLAKE2b-256 c0e137f73ee0d8c059adb1f458ff1634a15cdf6f1bf0e7dc22ddd2d4d0652caf

See more details on using hashes here.

File details

Details for the file langcode_turner-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for langcode_turner-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7d18870c2f7594a4cc3976f21a053443c3050f7eb0bce84f1986526ba4b82497
MD5 5ab09f87148ec9215101b2bd0dfece3c
BLAKE2b-256 a3fd5773b4d9b310d04e0c72c2d968c11cd6b9a3c444e0a23441e7777c5ecf41

See more details on using hashes here.

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