Name | travertino JSON |
Version |
0.5.2
JSON |
| download |
home_page | None |
Summary | A set of constants and base classes for describing user interface layouts. |
upload_time | 2025-07-10 07:28:16 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
css
box model
layout
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
.. |pyversions| image:: https://img.shields.io/pypi/pyversions/travertino.svg
:target: https://pypi.python.org/pypi/travertino
:alt: Python Versions
.. |license| image:: https://img.shields.io/pypi/l/travertino.svg
:target: https://github.com/beeware/toga/blob/main/travertino/LICENSE
:alt: BSD-3-Clause License
.. |maturity| image:: https://img.shields.io/pypi/status/travertino.svg
:target: https://pypi.python.org/pypi/travertino
:alt: Project status
Travertino
==========
|pyversions| |license| |maturity|
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 <https://beeware.org>`_. You can talk to the
community through:
* `@beeware@fosstodon.org on Mastodon <https://fosstodon.org/@beeware>`__
* `Discord <https://beeware.org/bee/chat/>`__
We foster a welcoming and respectful community as described in our
`BeeWare Community Code of Conduct <https://beeware.org/community/behavior/>`__.
Contributing
------------
If you experience problems with Toga, `log them on GitHub
<https://github.com/beeware/toga/issues>`__.
If you'd like to contribute to Toga development, our `contribution guide
<https://toga.readthedocs.io/en/latest/how-to/contribute/index.html>`__
details how to set up a development environment, and other requirements we have
as part of our contribution process.
Raw data
{
"_id": null,
"home_page": null,
"name": "travertino",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "BeeWare Team <team@beeware.org>",
"keywords": "css, box model, layout",
"author": null,
"author_email": "Russell Keith-Magee <russell@keith-magee.com>",
"download_url": "https://files.pythonhosted.org/packages/07/49/ae6e4095f1912b3908f69e7a98727783074a57779a5de6378d98498ea81d/travertino-0.5.2.tar.gz",
"platform": null,
"description": ".. |pyversions| image:: https://img.shields.io/pypi/pyversions/travertino.svg\n :target: https://pypi.python.org/pypi/travertino\n :alt: Python Versions\n\n.. |license| image:: https://img.shields.io/pypi/l/travertino.svg\n :target: https://github.com/beeware/toga/blob/main/travertino/LICENSE\n :alt: BSD-3-Clause License\n\n.. |maturity| image:: https://img.shields.io/pypi/status/travertino.svg\n :target: https://pypi.python.org/pypi/travertino\n :alt: Project status\n\nTravertino\n==========\n\n|pyversions| |license| |maturity|\n\nTravertino is a set of constants and utilities for describing user\ninterfaces, including:\n\n* colors\n* directions\n* text alignment\n* sizes\n\nUsage\n-----\n\nInstall Travertino:\n\n $ pip install travertino\n\nThen in your python code, import and use it::\n\n >>> from travertino.colors import color, rgb\n\n # Define a new color as an RGB triple\n >>> red = rgb(0xff, 0x00, 0x00)\n\n # Parse a color from a string\n >>> color('#dead00')\n rgb(0xde, 0xad, 0x00)\n\n # Reference a pre-defined color\n >>> color('RebeccaPurple')\n rgb(102, 51, 153)\n\n\nCommunity\n---------\n\nTravertino is part of the `BeeWare suite <https://beeware.org>`_. You can talk to the\ncommunity through:\n\n* `@beeware@fosstodon.org on Mastodon <https://fosstodon.org/@beeware>`__\n\n* `Discord <https://beeware.org/bee/chat/>`__\n\nWe foster a welcoming and respectful community as described in our\n`BeeWare Community Code of Conduct <https://beeware.org/community/behavior/>`__.\n\nContributing\n------------\n\nIf you experience problems with Toga, `log them on GitHub\n<https://github.com/beeware/toga/issues>`__.\n\nIf you'd like to contribute to Toga development, our `contribution guide\n<https://toga.readthedocs.io/en/latest/how-to/contribute/index.html>`__\ndetails how to set up a development environment, and other requirements we have\nas part of our contribution process.\n",
"bugtrack_url": null,
"license": null,
"summary": "A set of constants and base classes for describing user interface layouts.",
"version": "0.5.2",
"project_urls": {
"Funding": "https://beeware.org/contributing/membership/",
"Homepage": "https://beeware.org/travertino",
"Source": "https://github.com/beeware/travertino",
"Tracker": "https://github.com/beeware/travertino/issues"
},
"split_keywords": [
"css",
" box model",
" layout"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "3f32a98b25be7427adff43af8646eac38df48962c5a2aa707437c6ca480e21a3",
"md5": "83aa0f4f7450ae13e739cb869df8a04a",
"sha256": "fd69ac3b14f2847e4c972198588b8a86ca3b437aaa0c8ce7259bbe5dab17aff1"
},
"downloads": -1,
"filename": "travertino-0.5.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "83aa0f4f7450ae13e739cb869df8a04a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 24492,
"upload_time": "2025-07-10T07:28:14",
"upload_time_iso_8601": "2025-07-10T07:28:14.363851Z",
"url": "https://files.pythonhosted.org/packages/3f/32/a98b25be7427adff43af8646eac38df48962c5a2aa707437c6ca480e21a3/travertino-0.5.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "0749ae6e4095f1912b3908f69e7a98727783074a57779a5de6378d98498ea81d",
"md5": "6d14a5dece476be019bb48d8360f102d",
"sha256": "5afcc673e14e16c3c04c0e3fe387062633e6bc88e87bc0bbd214a04b4dfbbcd4"
},
"downloads": -1,
"filename": "travertino-0.5.2.tar.gz",
"has_sig": false,
"md5_digest": "6d14a5dece476be019bb48d8360f102d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 45317,
"upload_time": "2025-07-10T07:28:16",
"upload_time_iso_8601": "2025-07-10T07:28:16.067276Z",
"url": "https://files.pythonhosted.org/packages/07/49/ae6e4095f1912b3908f69e7a98727783074a57779a5de6378d98498ea81d/travertino-0.5.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-10 07:28:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "beeware",
"github_project": "travertino",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "travertino"
}