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 Discord server

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

  • colors

  • directions

  • text alignment

  • sizes

Usage

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)

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.

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.2.0.tar.gz (30.1 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.2.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: travertino-0.2.0.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for travertino-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7c7528fa9ff7a95cb09ab9d21d80a7b5177115d6b2af4897ad907ee094b1c00f
MD5 0da90fea15969a94b3d26e77c9df86c5
BLAKE2b-256 64b74e75a8999b49381dde5f17adc4a29693ae5333d775baacac21f978a98cf1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: travertino-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for travertino-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 000b8749c95450ebcc6848f365a814f79d55cb7fd35b09b1719309a007882a88
MD5 e36d6139b51d0772b4c6876ddb3b7c79
BLAKE2b-256 e64643036e32b61a161df44f018ee5ed5bab5edc9aab690155c86754dbe1dd67

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