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

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.0.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.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: minetotg-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 18242b9a475da4b37e2e1436fca2f0a679286352cecd06a6bd96bfc09619df43
MD5 ba5d36325fe995d673e2160c83b50485
BLAKE2b-256 7326428150fa3d784d03eca3598d2ac0f7597f48dfbdf422aa67bc54dd0333b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: minetotg-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1063511b0daf44d999ea08a211199c5576df8c477c870d347875f364f824e1f
MD5 6872258bfac27677efa068f64de01a40
BLAKE2b-256 ab47ef36b9a1d535874d692fb869bac9f120783e05a39a8a7097b2bd975c6f56

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