A library allowing you to use Minecraft format codes in strings.
Project description
Dahlia
Dahlia is a simple text formatting package, inspired by text formatting in the game Minecraft.
Text is formatted in a similar way to in the game. With Dahlia, it is formatted by typing a special character &
followed by a format code and finally the text to be formatted.
Installation
Dahlia is available on PyPI and can be installed with pip, or any other Python package manager:
$ pip install dahlia
(Some systems may require you to use pip3
, python -m pip
, or py -m pip
instead)
Documentation
Dahlia documentation is available at https://dahlia.readthedocs.io.
License
Dahlia is licensed under the MIT License.
Examples
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
dahlia-2.2.1.tar.gz
(6.4 kB
view hashes)
Built Distribution
dahlia-2.2.1-py3-none-any.whl
(7.9 kB
view hashes)