Skip to main content

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

Project description

https://beeware.org/static/images/defaultlogo.png

Travertino

https://img.shields.io/pypi/pyversions/travertino.svg https://img.shields.io/pypi/v/travertino.svg https://img.shields.io/pypi/status/travertino.svg https://img.shields.io/pypi/l/travertino.svg Build Status https://badges.gitter.im/beeware/general.svg

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.

Project details


Download files

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

Files for travertino, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size travertino-0.1.3-py3-none-any.whl (15.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size travertino-0.1.3.tar.gz (26.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page