Skip to main content

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"

Metadata

Release files for mediawiki-langcodes 0.2.28

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mediawiki-langcodes 0.2.28
File Size Uploaded
mediawiki_langcodes-0.2.28.tar.gz 7.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mediawiki-langcodes 0.2.28
File Interpreter ABI Platform
mediawiki_langcodes-0.2.28-py3-none-any.whl Python 3 none any Details

Total release size: 14.2 MB

Release files / mediawiki_langcodes-0.2.28.tar.gz

Download URL mediawiki_langcodes-0.2.28.tar.gz
Size 7.1 MB
Tags Source
SHA-256 checksum
How to use checksums
66e8322a2afa41e1431e0853cc2bab2b5c165769bea7aec4a88dbfc803ded0d2
BLAKE2b-256 checksum
How to use checksums
c5e5bb156a14be529b76d7bb3af9f7f42ddcd940710d95ff8fe5ab6fca724057
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.

Transparency log

Release files / mediawiki_langcodes-0.2.28-py3-none-any.whl

Download URL mediawiki_langcodes-0.2.28-py3-none-any.whl
Size 7.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8311bb4b87c47660a5bfc7279489448b5bb6b5b2261f9f131b7a31623dee0ca3
BLAKE2b-256 checksum
How to use checksums
a8b0181ab82853be9c9b5328e09141785c562ed8635c3bc46da3131552be3eb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.28 This release

2 release files

0.2.27

2 release files

0.2.26

2 release files

0.2.23

2 release files

0.2.19

2 release files

0.2.17

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.11

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page