Skip to main content

ISO639-3 support for Python.

Project description

iso639

A simple (really simple) library for working with ISO639-3 language codes. Tested for Python 2.7 & 3.4.

Includes data from Congress library: http://www.loc.gov/standards/iso639-2/php/code_list.php (+ updates)

Installation

The easiest way is using pip:

pip install langiso639

If you are using Fedora 24+, you can install iso639 using dnf:

dnf install python2-langiso639
# or
dnf install python3-langiso639

Thanks, unknown Fedora packagers :-)

Alternatives

Example usage

import langiso639

>>> langiso639.to_name('sv')
u'Swedish'

>>> langiso639.to_native('sv')
u'svenska'
``

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

langiso639-0.2.4.tar.gz (91.9 kB view details)

Uploaded Source

Built Distribution

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

langiso639-0.2.4-py3-none-any.whl (90.9 kB view details)

Uploaded Python 3

File details

Details for the file langiso639-0.2.4.tar.gz.

File metadata

  • Download URL: langiso639-0.2.4.tar.gz
  • Upload date:
  • Size: 91.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for langiso639-0.2.4.tar.gz
Algorithm Hash digest
SHA256 0f96a6d29e6581e702d26eb5502a2c77c74f8cb465346cd2da29e2bb03692d62
MD5 076c943bf33841a3bd7f358df8d5b885
BLAKE2b-256 8d500fc5095be4d9292baca566df1134d5e5eb222eb180b619fcab70da79014f

See more details on using hashes here.

File details

Details for the file langiso639-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: langiso639-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 90.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for langiso639-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ff7e0c9bf360a59e1053801ce190b93d6ac7c9345998f9a7187ecdffd74dd2b0
MD5 a41e81df4b48380875d9efbd063604d2
BLAKE2b-256 f91ab5bae6f399eded1e26d4adc7d53ca77fd979af5987e989ff28f436dadb02

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