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 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:
The pybee/general channel on Gitter.
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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f24a5ee5a5da9f4d3d6d02ae6fac268160b703a51aee9104fdb072fcb3532f19
|
|
| MD5 |
2e946d9e34d6822730f794b78e4afb86
|
|
| BLAKE2b-256 |
5bc1c10a910821a1a0c0f4cb8fbd3b1fe9b5d9224c7c508c2f62e8c3e9c55b9f
|
File details
Details for the file travertino-0.1.2-py3-none-any.whl.
File metadata
- Download URL: travertino-0.1.2-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7277f00ad6a88673ec7da3bc787e552421ab366062a09007e30d453121b5611e
|
|
| MD5 |
0b0c22da5fc64ab67c1c0ccf168b8734
|
|
| BLAKE2b-256 |
563ff03efe63c2bdc72763ac39777c9ebbab98605ced5c74aefe48b4fa0abb4d
|