Skip to main content

Read and write to .lang files.

Project description

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.

Project details


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.

Supported by

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