A tool that reformat string with Minecraft text formatting to Telegram HTML.
Project description
minetotg
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file minetotg-1.0.1.tar.gz
.
File metadata
- Download URL: minetotg-1.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01979d8bdcdb1c46ae3f3e4e327f0928be55980f51f703faf899eff6825d0e0e |
|
MD5 | 39ac9a47f88da62c342b77d1c6c0185b |
|
BLAKE2b-256 | bf99b7aa8ed6c2d005d90df25476690c5b94d43749c4c40c4a0311505039c2d3 |
File details
Details for the file minetotg-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: minetotg-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c5199c36a95ff6126db6e0f530b5f824cd47f536505e5a6cc5b3e363cddff97 |
|
MD5 | 6596f6e3ba5fa795996834b1e3a0a360 |
|
BLAKE2b-256 | 2a74e76b4e96233dde42875f20fc6eeba3b280de1f9d68a6f0c2a844fe81c4ee |