Convert MediaWiki language names and codes
Project description
MediaWiki langcodes
Convert MediaWiki language names and language codes.
Build dependencies
-
php
-
wget
Build
$ python -m venv .venv
$ source .venv/bin/activate.fish
$ python -m pip install -U pip build
$ make
Usage
from mediawiki_langcodes import code_to_name, name_to_code
code_to_name("fr") # return "français"
code_to_name("fr", "en") # return "French"
name_to_code("français") # return "fr"
name_to_code("français", "fr") # return "fr"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for mediawiki_langcodes-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8dd2fa7f82a11ab27f8659e147a38f42ea0a68fd280d20605a0e0b38e8a1d98 |
|
MD5 | 7f7aebc90373216c9581e1f57ce95a03 |
|
BLAKE2b-256 | 3e4aa8de10c4600076b3b8da80ca9146559d748c3e834d05ddbd2411d172121c |
Close
Hashes for mediawiki_langcodes-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bab1a270953957a6622f08005294d6f17549d7b5c0f9f2ab145955c20c5b9613 |
|
MD5 | d5ff5b62790729e598edac65a4972cd7 |
|
BLAKE2b-256 | 6865e0116081a3f3c9726f52fb2c3db112e62c5526ddc93cd7153a3019a1e77a |