Skip to content
A set of constants and utilities for describing user interfaces
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests
travertino
.gitignore
AUTHORS
CHANGELOG.rst
CONTRIBUTING.md
LICENSE
MANIFEST.in Transplant core of Colosseum to start repository. Dec 7, 2017
README.rst
beekeeper.yml
setup.cfg
setup.py

README.rst

http://pybee.org/static/images/defaultlogo.png

Travertino

https://beekeeper.beeware.org/projects/beeware/travertino/shield

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

  • colors
  • directions
  • text alignment
  • sizes

Usage

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)

Community

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.

Contributing

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.

You can’t perform that action at this time.