Skip to main content

A tool that reformat string with Minecraft text formatting to Telegram HTML.

Project description

minetotg

PyPI - Downloads PyPI - Version PyPI - Status PyPI - License PyPI - Python Version

This project was created in order to help Minecraft community to transform game text formatting to Telegram HTML format.

Installation

pip install minetotg

Usage

from minetotg import reformat

some_reformatted_string = reformat("§kSpoiler§r§lBold§r")
print(some_reformatted_string) # Output: <tg-spoiler>Spoiler</tg-spoiler><b>Bold</b>

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

minetotg-1.0.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

minetotg-1.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

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