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
mclang-1.1.3.tar.gz 9.8 kB Details

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

Release history Release notifications | RSS feed

This release

1.1.3 This release

1 release file

1.1.2

1 release file

1.1.0

1 release file

1.0.0

1 release file

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