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.2.tar.gz (91.8 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.2-py3-none-any.whl (90.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langiso639-0.2.2.tar.gz
  • Upload date:
  • Size: 91.8 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.2.tar.gz
Algorithm Hash digest
SHA256 ba271265a3501259140969a84f30ae44a0ee6e5ebcf59649dbea111d3beca7e2
MD5 c49be182293974d60e4dcb118d184557
BLAKE2b-256 773421cdda8a1c869e3844df19f9a9b579d7493c2477d103091ac50a20985869

See more details on using hashes here.

File details

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

File metadata

  • Download URL: langiso639-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 90.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0c55cb3916c040a3b9798ba4e8c179fc07bf66c555844eb59163ba222292ec5e
MD5 b281d51273295a10c90d3491cb3510d9
BLAKE2b-256 4dacb4fda0e734e178914e48882b1d017368b170366e1987fb1564f3e479fce6

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