mclang


Namemclang JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/legopitstop/mclang/
SummaryRead and write to .lang files.
upload_time2025-08-27 23:55:10
maintainerNone
docs_urlNone
authorLegopitstop
requires_python>=3.9
licenseMIT
keywords minecraft: bedrock edition lang language translate
VCS
bugtrack_url
requirements deep-translator
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # mclang

![Tests](https://github.com/legopitstop/mclang/actions/workflows/tests.yml/badge.svg)
[![PyPI](https://img.shields.io/pypi/v/mclang)](https://pypi.org/project/mclang/)
[![Python](https://img.shields.io/pypi/pyversions/mclang)](https://www.python.org/downloads//)
![Downloads](https://img.shields.io/pypi/dm/mclang)
![Status](https://img.shields.io/pypi/status/mclang)
[![Issues](https://img.shields.io/github/issues/legopitstop/mclang)](https://github.com/legopitstop/mclang/issues)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

Create or open Minecraft: Bedrock Edition `.lang` files.

## Installation

Install the module with pip:

```bat
pip3 install mclang
```

Update existing installation: `pip3 install mclang --upgrade`

## Links

- [Documentation](https://docs.lpsmods.dev/mclang)
- [Source Code](https://github.com/legopitstop/mclang)

## Features

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

## Example

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

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/legopitstop/mclang/",
    "name": "mclang",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "Minecraft: Bedrock Edition, lang, language, translate",
    "author": "Legopitstop",
    "author_email": "contact@lpsmods.dev",
    "download_url": "https://files.pythonhosted.org/packages/1e/ff/347ce52e8271ccfb5b137251350b5afefb580e5a87f8ae69e424b110163b/mclang-1.1.0.tar.gz",
    "platform": null,
    "description": "# mclang\n\n![Tests](https://github.com/legopitstop/mclang/actions/workflows/tests.yml/badge.svg)\n[![PyPI](https://img.shields.io/pypi/v/mclang)](https://pypi.org/project/mclang/)\n[![Python](https://img.shields.io/pypi/pyversions/mclang)](https://www.python.org/downloads//)\n![Downloads](https://img.shields.io/pypi/dm/mclang)\n![Status](https://img.shields.io/pypi/status/mclang)\n[![Issues](https://img.shields.io/github/issues/legopitstop/mclang)](https://github.com/legopitstop/mclang/issues)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\nCreate or open Minecraft: Bedrock Edition `.lang` files.\n\n## Installation\n\nInstall the module with pip:\n\n```bat\npip3 install mclang\n```\n\nUpdate existing installation: `pip3 install mclang --upgrade`\n\n## Links\n\n- [Documentation](https://docs.lpsmods.dev/mclang)\n- [Source Code](https://github.com/legopitstop/mclang)\n\n## Features\n\n- Read and write to `.lang` files.\n- Supports comments\n- Add translation support to your Python application.\n- Translate your .lang file between different languages.\n\n## Example\n\n```Python\nlang = \"\"\"\ntest=This is cool!\ntest2=It worked!\n\"\"\"\n\ndoc = mclang.loads(lang)\nprint(doc.tl(\"test\"))\n# This is cool!\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Read and write to .lang files.",
    "version": "1.1.0",
    "project_urls": {
        "Documentation": "https://docs.lpsmods.dev/mclang",
        "Download": "https://github.com/legopitstop/mclang/releases",
        "Homepage": "https://github.com/legopitstop/mclang/",
        "Source Code": "https://github.com/legopitstop/mclang/"
    },
    "split_keywords": [
        "minecraft: bedrock edition",
        " lang",
        " language",
        " translate"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1eff347ce52e8271ccfb5b137251350b5afefb580e5a87f8ae69e424b110163b",
                "md5": "d5ea0d0555ead546b7b6a431fa824428",
                "sha256": "8a82ae6e017b62db805ea60588d1ab4af4768db7f7bdd8e3d6c9849defdffdbd"
            },
            "downloads": -1,
            "filename": "mclang-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d5ea0d0555ead546b7b6a431fa824428",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 6987,
            "upload_time": "2025-08-27T23:55:10",
            "upload_time_iso_8601": "2025-08-27T23:55:10.412268Z",
            "url": "https://files.pythonhosted.org/packages/1e/ff/347ce52e8271ccfb5b137251350b5afefb580e5a87f8ae69e424b110163b/mclang-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-27 23:55:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "legopitstop",
    "github_project": "mclang",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "deep-translator",
            "specs": [
                [
                    "==",
                    "1.11.4"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "mclang"
}
        
Elapsed time: 3.05734s