Travertino is a set of constants and utilities for describing user interfaces
Project description
Travertino
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
Built Distribution
File details
Details for the file travertino-0.3.0.tar.gz
.
File metadata
- Download URL: travertino-0.3.0.tar.gz
- Upload date:
- Size: 30.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51aa2ddf361ec42c0a70401b52ab0d26293fddb0d9de35555f7489ab8a296e19 |
|
MD5 | 4359dc163e63635df798d2ea98dd9350 |
|
BLAKE2b-256 | 1f2d95f95d193f38ee3925df796e31fdc6747feb2578e379def9416b51960f24 |
File details
Details for the file travertino-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: travertino-0.3.0-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f45d8102353f92c2894915e42f939ba4bc1a0be78b02fa54b640c0e674892167 |
|
MD5 | 0ab16456cd78fa49f0123d334f9023a9 |
|
BLAKE2b-256 | 25bf59fd5d89c3b0c5d897862ac83457fe82d934dde52d59a9106df6066e97b2 |