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.1.5.tar.gz (71.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: langiso639-0.1.5.tar.gz
  • Upload date:
  • Size: 71.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for langiso639-0.1.5.tar.gz
Algorithm Hash digest
SHA256 9b4db0b00d496ac0bb9b3a0e06dfdc4602f0159387ba551b1ea225be93b31f37
MD5 7a37fd5964c248183a2dbe5d3441d0ff
BLAKE2b-256 d09cf966ba7af560077f0adfb2f7430afff577deee2b01696b54a4c55ddf8503

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