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.
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
Contributing
Contributions are welcome!
Please open an issue before submitting a pull request (doesn't apply to minor changes like typos).
To get started:
- Clone your fork of the project.
- Install the project with uv:
uv sync
- After you're done, use the following
justrecipes to check your changes (or run the commands manually):
just check # pytest, mypy, ruff
just coverage # pytest (with coverage), interrogate (docstring coverage)
License
Dahlia is licensed under the MIT License.
If you have any questions, or would like to get in touch, join my Discord server!
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dahlia-3.1.0.tar.gz.
File metadata
- Download URL: dahlia-3.1.0.tar.gz
- Upload date:
- Size: 65.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54b99e3ca7698a02580689c84771de37fa8950d51b5f2d85163babec606e5cee
|
|
| MD5 |
1b706dfb63aa974f18f85486da339b4e
|
|
| BLAKE2b-256 |
b705437d02cba23994f2e4f1ce1228627b66a1f97b45a1065fda7b19ac3231e8
|
File details
Details for the file dahlia-3.1.0-py3-none-any.whl.
File metadata
- Download URL: dahlia-3.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58c556011904398d6bb7f24c86d4c3eb82316248014cfd284f511bedd2624804
|
|
| MD5 |
6cf5d5ca548d48a4152fa2596dd6d642
|
|
| BLAKE2b-256 |
e73b7cd6aa605471f738e97b2a0c86d69fbfb705bad5bea309a3303a5baa5c1a
|