iso639
======
A simple (really simple) library for working with ISO639-2 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 iso639
Alternatives
------------
* **pycountry**: https://bitbucket.org/flyingcircus/pycountry - a more-featured package
* **iso639**: https://github.com/noumar/iso639 - another package with the same name
Example usage
-------------
```python
import iso639
>>> iso639.to_name('sv')
u'Swedish'
>>> iso639.to_native('sv')
u'svenska'
```
For more examples, see doctests in the source code.
Acknowledgments
---------------
@hosford42 - adding the native language support
======
A simple (really simple) library for working with ISO639-2 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 iso639
Alternatives
------------
* **pycountry**: https://bitbucket.org/flyingcircus/pycountry - a more-featured package
* **iso639**: https://github.com/noumar/iso639 - another package with the same name
Example usage
-------------
```python
import iso639
>>> iso639.to_name('sv')
u'Swedish'
>>> iso639.to_native('sv')
u'svenska'
```
For more examples, see doctests in the source code.
Acknowledgments
---------------
@hosford42 - adding the native language support
Metadata
Release files for iso639 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iso639-0.1.4.tar.gz | 11.0 kB | Details |
Release files / iso639-0.1.4.tar.gz
| Download URL | iso639-0.1.4.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88b70cf6c64ee9c2c2972292818c8beb32db9ea6f4de1f8471a9b081a3d92e98
|
|
BLAKE2b-256 checksum How to use checksums |
d5236aecf85ed735ff017af073d1da764b8f24822f8ec17798fc83816d166826
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |