Skip to main content

A simple library for ISO 639 language codes.

Supports

  • ISO 639-1

  • ISO 639-3

Installation

This library requires Python 3.6.

You can install it by getting it from pip:

pip3 install iso639-lang

Usage

>>> from iso639 import Lang

>>> language = Lang("fr")
>>> language.pt1
'fr'
>>> language.pt3
'fra'
>>> language.name
'French'

>>> language.pt3 = 'eng'
>>> language.pt1
'en'
>>> language.name
'English'

>>> language.name = 'German'
>>> language.pt1
'de'
>>> language.pt3
'deu'

Contains external data

License

MIT License

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iso639-lang-0.0.4.tar.gz (68.3 kB view details)

Uploaded Source

Built Distribution

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

iso639_lang-0.0.4-py3-none-any.whl (70.4 kB view details)

Uploaded Python 3

File details

Details for the file iso639-lang-0.0.4.tar.gz.

File metadata

  • Download URL: iso639-lang-0.0.4.tar.gz
  • Upload date:
  • Size: 68.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for iso639-lang-0.0.4.tar.gz
Algorithm Hash digest
SHA256 e0305d047c18164ad52ad19662c6987fbcde45a3454cbee163f8ed20ede61b41
MD5 a62a34a1057f45ef6519b9e9e3a45a2e
BLAKE2b-256 c5389802003a14159f4486e355d226986df8ff4e4ed6203f117d74ac9728ba5a

See more details on using hashes here.

File details

Details for the file iso639_lang-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: iso639_lang-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 70.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for iso639_lang-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c68bbebdfd5a28de6c4217cd840b48e09402c0c52b8b01b352843dff1a6e6b76
MD5 5495d48a9b0be7ead0851470154e14be
BLAKE2b-256 553ab6019cba45a6d4276bff9a565dd39555a814a2f5b5b9c014820b8bb97478

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