From 1604a4f9a769a7713ec263b81931206e4b4f74db Mon Sep 17 00:00:00 2001 From: Friedrich Lindenberg Date: Wed, 13 Nov 2024 11:27:15 +0100 Subject: [PATCH] Update README.md --- README.md | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index cf6ff33..161c222 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,7 @@ # languagecodes -![package](https://github.com/alephdata/languagecodes/workflows/package/badge.svg) +**NOTICE** The functionality contained in `languagecoes` is now maintained as part of `rigour`, which combines data validation for several `followthemoney`-related data formats. See https://opensanctions.github.io/rigour/langs/ for details. -This library helps to normalise the ISO 639 codes used to describe languages from -two-letter codes to three letters, and vice versa. +## License -```python -import languagecodes - -assert 'eng' == languagecodes.iso_639_alpha3('en') -assert 'eng' == languagecodes.iso_639_alpha3('ENG ') -assert 'en' == languagecodes.iso_639_alpha2('ENG ') -``` - -You can install the library from the Python package index: - -```bash -pip install languagecodes -``` - -Uses data from: https://iso639-3.sil.org/ -See also: https://www.loc.gov/standards/iso639-2/php/code_list.php +Licensed under MIT terms, see the ``LICENSE`` file included in this repository.