Skip to main content

A library allowing you to use Minecraft format codes in strings.

Project description

Supported Python Versions PyPI version Documentation Status

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

Screen Shot 2022-10-05 at 22 56 57

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

dahlia-2.2.1.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

dahlia-2.2.1-py3-none-any.whl (7.9 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