Skip to main content

mclang

Tests PyPI Python Downloads Status Issues Code style: black

Create or open Minecraft: Bedrock Edition .lang files.

Installation

Install the module with pip:

pip3 install mclang

Update existing installation: pip3 install mclang --upgrade

Links

Features

  • Read and write to .lang files.
  • Supports comments
  • Add translation support to your Python application.
  • Translate your .lang file between different languages.

Example

lang = """
test=This is cool!
test2=It worked!
"""

doc = mclang.loads(lang)
print(doc.tl("test"))
# This is cool!

Road map

  • Add inline comment support.

Metadata

Release files for mclang 1.1.3

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

Source distribution (sdist)

Source distribution for mclang 1.1.3
File Size Uploaded Provenance Actions
mclang-1.1.3.tar.gz 9.8 kB Without provenance Details for mclang-1.1.3.tar.gz

Release files / mclang-1.1.3.tar.gz

Download URL mclang-1.1.3.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c99c407411d08cac63251901025847c76357adeace82891b15ab5123cf78e41e
BLAKE2b-256 checksum
How to use checksums
146ecaaa25701ef6a7e566c45eb8940b9a77fb2428fc3b08ce6fc6530fb53df1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for mclang 1.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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