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.26

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.26
File Size Uploaded
mediawiki_langcodes-0.2.26.tar.gz 6.9 MB Details

Built distribution (wheel)

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

Total release size: 13.9 MB

Release files / mediawiki_langcodes-0.2.26.tar.gz

Download URL mediawiki_langcodes-0.2.26.tar.gz
Size 6.9 MB
Tags Source
SHA-256 checksum
How to use checksums
b1cbd6f8bbc63b2dccf78ea7614f4ea1dd5eef5456fe675386dbe42a424b6f0c
BLAKE2b-256 checksum
How to use checksums
03b70a178d90ab4d0ee3e36434a8cfd33e5c94ab1a89072436dd43bb2f8645c5
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 19, 2026.

Transparency log

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

Download URL mediawiki_langcodes-0.2.26-py3-none-any.whl
Size 7.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4f1bf061074cf3ce246a8a30b9ff9f3c5efffe0cd72af4012870aec1508925f5
BLAKE2b-256 checksum
How to use checksums
546c5d06a9a6dbd067c3ae2c8bcc955409363f7eb65984a0cd6e6e85d8023a24
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 19, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.28

2 release files

0.2.27

2 release files

This release

0.2.26 This release

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