Skip to main content

A tool for creating colorful, formatted command line output

Project description

Lilies

Build Status Code Coverage

Lilies is currently in beta. Parts of the API are subject to change.

Lilies is a cross-platform, CLI text formatting and coloring tool for python. It automatically adjusts support for any console, including old Windows support powered by colorama. Lilies will attempt to reproduce the original colors as close as possible, regardless of the current terminal's capabilities.

Lilies is supported on python 3.5, 3.6, 3.7, and 3.8.

Console demo

Getting started

Install us via pip!

pip install lilies

To test color support in your console:

>>> import lilies
>>> lilies.print_test()

Here's what that looks like in true color terminals:

Console demo true color

And in 256 color terminals:

Console demo 256 color

Alternatives

Library 256 Color Support True Color Support Windows Support Platform-specific coloring len() adjustments Formatting tools
lilies
colorful ⚠️
colored
colorama
termcolor

⚠️: colorful has newer Windows 10 support, but no support for old versions.

Contributing

You can find information about contributing here

License

MIT

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

lilies-0.3.2.tar.gz (29.0 kB view hashes)

Uploaded source

Built Distribution

lilies-0.3.2-py3-none-any.whl (40.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page