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
File details
Details for the file mediawiki_langcodes-0.2.10.tar.gz
.
File metadata
- Download URL: mediawiki_langcodes-0.2.10.tar.gz
- Upload date:
- Size: 5.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24509bdb6e6d13659e6fd18ff8931ce5618032258c4f3261b9e2b4d434810fe4 |
|
MD5 | 99077938fedd80ccead09341504febc4 |
|
BLAKE2b-256 | f25004cb523ea8d4bab02b5e2c0f1077adf839b0063ddc376b7deb9aa3b7def6 |
Provenance
The following attestation bundles were made for mediawiki_langcodes-0.2.10.tar.gz
:
Publisher:
release.yml
on xxyzz/mediawiki_langcodes
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
mediawiki_langcodes-0.2.10.tar.gz
- Subject digest:
24509bdb6e6d13659e6fd18ff8931ce5618032258c4f3261b9e2b4d434810fe4
- Sigstore transparency entry: 146950134
- Sigstore integration time:
- Predicate type:
File details
Details for the file mediawiki_langcodes-0.2.10-py3-none-any.whl
.
File metadata
- Download URL: mediawiki_langcodes-0.2.10-py3-none-any.whl
- Upload date:
- Size: 5.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84becb09e8c750d9cce383afde57f8c9903062c9fd197d350b116d3348adf570 |
|
MD5 | 34f7cd5bb96edff01d343c9684b1d1fc |
|
BLAKE2b-256 | c711c06b4976c7d85b7412cb86636c243e6f819f29eeb36eb35502c580e9bd09 |
Provenance
The following attestation bundles were made for mediawiki_langcodes-0.2.10-py3-none-any.whl
:
Publisher:
release.yml
on xxyzz/mediawiki_langcodes
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
mediawiki_langcodes-0.2.10-py3-none-any.whl
- Subject digest:
84becb09e8c750d9cce383afde57f8c9903062c9fd197d350b116d3348adf570
- Sigstore transparency entry: 146950135
- Sigstore integration time:
- Predicate type: