Skip to main content

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

Project description

http://pybee.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 https://beekeeper.herokuapp.com/projects/pybee/travertino/shield https://badges.gitter.im/pybee/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.

Source Distribution

travertino-0.1.2.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

travertino-0.1.2-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file travertino-0.1.2.tar.gz.

File metadata

  • Download URL: travertino-0.1.2.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for travertino-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f24a5ee5a5da9f4d3d6d02ae6fac268160b703a51aee9104fdb072fcb3532f19
MD5 2e946d9e34d6822730f794b78e4afb86
BLAKE2b-256 5bc1c10a910821a1a0c0f4cb8fbd3b1fe9b5d9224c7c508c2f62e8c3e9c55b9f

See more details on using hashes here.

File details

Details for the file travertino-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for travertino-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7277f00ad6a88673ec7da3bc787e552421ab366062a09007e30d453121b5611e
MD5 0b0c22da5fc64ab67c1c0ccf168b8734
BLAKE2b-256 563ff03efe63c2bdc72763ac39777c9ebbab98605ced5c74aefe48b4fa0abb4d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page