Skip to main content

A set of constants and base classes for describing user interface layouts.

Project description

Travertino

Python Versions BSD-3-Clause License Project status

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.parse('#dead00')
rgb(0xde, 0xad, 0x00)

# Reference a pre-defined color
>>> Color.parse('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 Toga, log them on GitHub.

If you'd like to contribute to Toga development, our contribution guide details how to set up a development environment, and other requirements we have as part of our contribution process.

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.5.5.tar.gz (49.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.5.5-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: travertino-0.5.5.tar.gz
  • Upload date:
  • Size: 49.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for travertino-0.5.5.tar.gz
Algorithm Hash digest
SHA256 85fa61517d0381674f538bd8a8686b30db1aa22b5c077604df8a2af18249755e
MD5 6238588289c69b218bf682e002a4df45
BLAKE2b-256 e094ed271f3e4690c6074efccbcc1fd8f7c4ccfa5d2e0a5fbdafadd6d755b5d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for travertino-0.5.5.tar.gz:

Publisher: publish.yml on beeware/toga

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: travertino-0.5.5-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for travertino-0.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c2260f2ceb21d1a09fc0e2e3c8c2676433cb52292f9c0d67ae79cb3c26766095
MD5 d1e5f4395969cde532dbebde95c1aa9a
BLAKE2b-256 2b66e5cb1e325388c422e2d1cce2abbab824668bad1cae35c78e68743597ac5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for travertino-0.5.5-py3-none-any.whl:

Publisher: publish.yml on beeware/toga

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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