Skip to main content

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

Project description

minetotg

Pepy Total Downloads PyPI - Downloads PyPI - Version PyPI - Status GitHub - 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

Python Module

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>

CLI

python -m minetotg §kSpoiler§r§lBold§r

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.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minetotg-1.1.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file minetotg-1.1.1.tar.gz.

File metadata

  • Download URL: minetotg-1.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for minetotg-1.1.1.tar.gz
Algorithm Hash digest
SHA256 d5eaba9442f25385da69d43122f1ba1074bab0a52170eeed8d73f8f4073f6216
MD5 2237953068d3ecdf343d46c52cbcf42b
BLAKE2b-256 75e7d9b5cd84828e8c026845b8fd64a911381a2ba2d002a325e46f9294a4618b

See more details on using hashes here.

File details

Details for the file minetotg-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: minetotg-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for minetotg-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c9e94e82b576a11dcf22febdc89a6066e8121650afd5a207ed0af357a48ca2e
MD5 ccfa38ee5159925788fe8e9f57756aef
BLAKE2b-256 8acfecd454812c8608fcf1a88b1a827bde32362db64671ff8a9db5df07e7c287

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