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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file lilies-0.3.2.tar.gz.

File metadata

  • Download URL: lilies-0.3.2.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for lilies-0.3.2.tar.gz
Algorithm Hash digest
SHA256 c7a2c991343a89e572074043fce39af1df5b8047d281ffcd5d9b44d96e7e911c
MD5 bba646a67d99601ff51e209b9f36d25d
BLAKE2b-256 fefe37cd50967e61a0da14b49bacc8edc8b813788e5ec9be14beece107d38889

See more details on using hashes here.

File details

Details for the file lilies-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: lilies-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 40.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for lilies-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff05cf1fd4fd137647744dc2e932c4914c2718a46d550755a3145e739b51d46d
MD5 322237885d0c19e438aa6129eabc2f17
BLAKE2b-256 f2961cd979cdfad249a4c3768e37845acb61a279f426a29f603da2e3fd2e8061

See more details on using hashes here.

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