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

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.3.tar.gz (69.7 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.3-py3-none-any.whl (70.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langcode_turner-0.1.3.tar.gz
  • Upload date:
  • Size: 69.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for langcode_turner-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5a0c7f9d2f5cc0ad6a721b58316db2d5b2c85b9054b5dc3d79a710fc54f12599
MD5 24ef48828b3d431e95d93049699314e0
BLAKE2b-256 b40c62196d7f795853dbbabd100fe2b1ce530473f9e81b4d44868b8d4d67baef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langcode_turner-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1ed1d596da51a66918f91669adc3969f408f53a2b7b64423dd4dc67315a98152
MD5 bea5560deebda10a113947fda6a5d568
BLAKE2b-256 7a9771ab7a2368ad082129a8912e0520e6db92c644b54e60739617cadbdfce15

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