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

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.0.tar.gz (70.9 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.0-py3-none-any.whl (71.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for langcode_turner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 52f7f225538382d1243408025b0fcbe40884ac02d3a566f23d229fd6df582c12
MD5 684fc9211ac899a6d4259a91019bf6bc
BLAKE2b-256 974646abe6980f3886327019775d712b964ac929ff7810ba965d25108300d528

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langcode_turner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bcd0f6768f9f9539dd596d67b1b130863a56039f6efb479cd11d1184dc2ca08
MD5 cfc14406b4d95a9707da030aeecef794
BLAKE2b-256 f278bcdc98b2dee320067b3f03e5948b9d1ad9368580505d26be4c812e5380ea

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