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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mclang-1.1.3.tar.gz (9.8 kB view details)

Uploaded Source

File details

Details for the file mclang-1.1.3.tar.gz.

File metadata

  • Download URL: mclang-1.1.3.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for mclang-1.1.3.tar.gz
Algorithm Hash digest
SHA256 c99c407411d08cac63251901025847c76357adeace82891b15ab5123cf78e41e
MD5 14d5ef7072503beba3c029b67f9c3329
BLAKE2b-256 146ecaaa25701ef6a7e566c45eb8940b9a77fb2428fc3b08ce6fc6530fb53df1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.3 This release

1 file

1.1.2

1 file

1.1.0

1 file

1.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page