Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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

Project description


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

  • colors
  • directions
  • text alignment
  • sizes


Install Travatino:

$ pip install travertino

Then in your python code, import and use it:

>>> from travertino 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.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
travertino-0.1.2-py3-none-any.whl (15.2 kB) Copy SHA256 hash SHA256 Wheel py3
travertino-0.1.2.tar.gz (22.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page