Skip to content

A simple library for working with ISO639-2 and ISO639-3

License

Notifications You must be signed in to change notification settings

jgarcial/iso639-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'
``

About

A simple library for working with ISO639-2 and ISO639-3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%