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

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

Built distribution (wheel)

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

Total release size: 13.9 MB

Release files / mediawiki_langcodes-0.2.25.tar.gz

Download URL mediawiki_langcodes-0.2.25.tar.gz
Size 6.9 MB
Tags Source
SHA-256 checksum
How to use checksums
b19bbdeaf32a0d6e5e80d0720c427ec5194e3bad4f5724365f2887b36eed1928
BLAKE2b-256 checksum
How to use checksums
167fc0529bac958cabfd25c2111a98bc9106ee0fe3d9c99d582b09b6dc8c6441
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 8, 2026.

Transparency log

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

Download URL mediawiki_langcodes-0.2.25-py3-none-any.whl
Size 6.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8990b9c1db43fc7ae35cba89bc2ae3cc64ca55a9c14ae267d79e5d8ea3f74d09
BLAKE2b-256 checksum
How to use checksums
819ccc2833db403ebae4d4cb8da7158c1206653f96d17c5533e9e6f98a604128
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 8, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.28

2 release files

0.2.27

2 release files

0.2.26

2 release files

This release

0.2.25 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