Skip to main content

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

Project description

Dahlia spec Poetry Ruff

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:

  1. Clone your fork of the project.
  2. Install the project with uv:
uv sync
  1. After you're done, use the following just recipes 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dahlia-3.1.0.tar.gz (65.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dahlia-3.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

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

Hashes for dahlia-3.1.0.tar.gz
Algorithm Hash digest
SHA256 54b99e3ca7698a02580689c84771de37fa8950d51b5f2d85163babec606e5cee
MD5 1b706dfb63aa974f18f85486da339b4e
BLAKE2b-256 b705437d02cba23994f2e4f1ce1228627b66a1f97b45a1065fda7b19ac3231e8

See more details on using hashes here.

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

Hashes for dahlia-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58c556011904398d6bb7f24c86d4c3eb82316248014cfd284f511bedd2624804
MD5 6cf5d5ca548d48a4152fa2596dd6d642
BLAKE2b-256 e73b7cd6aa605471f738e97b2a0c86d69fbfb705bad5bea309a3303a5baa5c1a

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