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.11.tar.gz
.
File metadata
- Download URL: mediawiki_langcodes-0.2.11.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 | 2d944cd71004ab22686f3964b7aa476cb1bb476ddb807ba3eb99d4dd75215d9e |
|
MD5 | 4553b077fdde4c70ddf2bc00c1a5e139 |
|
BLAKE2b-256 | 3d53375ada02be39a13fd6f649dbb00de7b400357e7e5eb9abb3d9925629dfc8 |
Provenance
The following attestation bundles were made for mediawiki_langcodes-0.2.11.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.11.tar.gz
- Subject digest:
2d944cd71004ab22686f3964b7aa476cb1bb476ddb807ba3eb99d4dd75215d9e
- Sigstore transparency entry: 148030874
- Sigstore integration time:
- Predicate type:
File details
Details for the file mediawiki_langcodes-0.2.11-py3-none-any.whl
.
File metadata
- Download URL: mediawiki_langcodes-0.2.11-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 | f646ca2cdaebb42c5488a4504d62badaa04f886d62f0786b703233c99dbcd341 |
|
MD5 | b9ba6e317bb4433d31d49293565eaf91 |
|
BLAKE2b-256 | 3798fdde19ff71a645bd56d74772632b80c9a4b06f3c18ef214405c231b84df3 |
Provenance
The following attestation bundles were made for mediawiki_langcodes-0.2.11-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.11-py3-none-any.whl
- Subject digest:
f646ca2cdaebb42c5488a4504d62badaa04f886d62f0786b703233c99dbcd341
- Sigstore transparency entry: 148030879
- Sigstore integration time:
- Predicate type: