Skip to main content

Polyglossa

English Wiktionary's languages, language families and scripts for Python: every code Wiktionary uses, what it calls each one, and how they relate, bundled with the package so nothing is asked of the wiki.

from polyglossa import Language, LanguageFamily, Script

english = Language["en"]
english.name                              # 'English'
english.family.name                       # 'Anglic'
[a.name for a in english.ancestors]       # ['Early Modern English']
english.scripts[0].name                   # 'Latin'
Language.get("xx")                        # None: no such language
Language.named("Old English").code        # 'ang'
"ang" in Language                         # True
Language["en-ear"].full                   # English, for an etymology-only variety

LanguageFamily["ine"].proto_language.name # 'Proto-Indo-European'
Script.named("Arabic").direction          # ScriptDirection.RIGHT_TO_LEFT
Script["Deva"].name_for(Language["mr"])   # 'Balbodh'

Language["xx"] raises UnknownLanguageError, a KeyError; Language.get("xx") returns None. It needs Python 3.11 or later and nothing else.

The version is the day the data was exported from Wiktionary. The data is English Wiktionary's, under CC BY-SA 4.0; the code is under the MIT licence. See https://github.com/fenakhay/polyglossa.

Metadata

Release files for polyglossa 2026.11.6

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

Source distribution (sdist)

Source distribution for polyglossa 2026.11.6
File Size Uploaded Provenance Actions
polyglossa-2026.11.6.tar.gz 206.2 kB With provenance Details for polyglossa-2026.11.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for polyglossa 2026.11.6
File Interpreter ABI Platform Actions
polyglossa-2026.11.6-py3-none-any.whl Python 3 none any Details for polyglossa-2026.11.6-py3-none-any.whl

Total release size: 411.2 kB

Release files / polyglossa-2026.11.6.tar.gz

Download URL polyglossa-2026.11.6.tar.gz
Size 206.2 kB
Tags Source
SHA-256 checksum
How to use checksums
138cfd85212b75b4462dc1f32e4b0c4632c91574a8529644ba1285b5a884d767
BLAKE2b-256 checksum
How to use checksums
8a1074a8756e1f0a8f0396eaa414f9c599ef44cd6f4cb41cad12a3517bb012c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 6, 2026.

Transparency log

Release files / polyglossa-2026.11.6-py3-none-any.whl

Download URL polyglossa-2026.11.6-py3-none-any.whl
Size 205.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88f714e8a6f60854dadee4ec8a55158b4ba4f25c8e12108c99155685bb317d63
BLAKE2b-256 checksum
How to use checksums
91312539472efae284525c06848529341912274fb7267d90d947cdd7ef5d8628
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 6, 2026.

Transparency log

Security for polyglossa 2026.11.6

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for polyglossa-2026.11.6.tar.gz

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 Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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