Skip to main content

Travertino is a set of constants and utilities for describing user interfaces

Project description

Travertino Build Status Discord server

Travertino is a set of constants and utilities for describing user interfaces, including:

  • colors

  • directions

  • text alignment

  • sizes


Install Travertino:

$ pip install travertino

Then in your python code, import and use it:

>>> from travertino.colors import color, rgb,

# Define a new color as an RGB triple
>>> red = rgb(0xff, 0x00, 0x00)

# Parse a color from a string
>>> color('#dead00')
rgb(0xde, 0xad, 0x00)

# Reference a pre-defined color
>>> color('RebeccaPurple')
rgb(102, 51, 153)


Travertino is part of the BeeWare suite. You can talk to the community through:

We foster a welcoming and respectful community as described in our BeeWare Community Code of Conduct.


If you experience problems with Travertino, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.

Travertino uses Pre-commit and TownCrier to help maintain code quality. For details on how to use these tools as part of your development environment, see the Briefcase code contribution guide. Although that document is for a different project, the details about setting up your development environment are the same.

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

travertino-0.3.0.tar.gz (30.7 kB view hashes)

Uploaded Source

Built Distribution

travertino-0.3.0-py3-none-any.whl (16.1 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