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

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.27
File Size Uploaded
mediawiki_langcodes-0.2.27.tar.gz 7.1 MB Details

Built distribution (wheel)

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

Total release size: 14.2 MB

Release files / mediawiki_langcodes-0.2.27.tar.gz

Download URL mediawiki_langcodes-0.2.27.tar.gz
Size 7.1 MB
Tags Source
SHA-256 checksum
How to use checksums
687683e2fed0af9001bdb2b29ae17d1b73bed1711f4fbdd4e25d9753bc33f7f2
BLAKE2b-256 checksum
How to use checksums
ba25663d505de335ce0354c23513f367f658c28c8f9a384c7bb71725b9b3b840
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.27-py3-none-any.whl

Download URL mediawiki_langcodes-0.2.27-py3-none-any.whl
Size 7.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8266effb7e1eb50d697c56f02b3195310dd240b6f8a9fc958e3119d86591df4d
BLAKE2b-256 checksum
How to use checksums
564fae96f2d59dd4013df1c680985d36da82ede4e2f54b1bff03e79c88ebdf86
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

This release

0.2.27 This release

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