travertino


Nametravertino JSON
Version 0.3.0 PyPI version JSON
download
home_page
SummaryTravertino is a set of constants and utilities for describing user interfaces
upload_time2023-08-15 22:28:06
maintainer
docs_urlNone
authorRussell Keith-Magee
requires_python>=3.8
licenseNew BSD
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://beeware.org/static/images/defaultlogo.png
    :width: 72px
    :target: https://beeware.org

Travertino
==========

.. image:: https://img.shields.io/pypi/pyversions/travertino.svg
    :target: https://pypi.python.org/pypi/travertino

.. image:: https://img.shields.io/pypi/v/travertino.svg
    :target: https://pypi.python.org/pypi/travertino

.. image:: https://img.shields.io/pypi/status/travertino.svg
    :target: https://pypi.python.org/pypi/travertino

.. image:: https://img.shields.io/pypi/l/travertino.svg
    :target: https://github.com/beeware/travertino/blob/main/LICENSE

.. image:: https://github.com/beeware/travertino/workflows/CI/badge.svg?branch=main
   :target: https://github.com/beeware/travertino/actions
   :alt: Build Status

.. image:: https://img.shields.io/discord/836455665257021440?label=Discord%20Chat&logo=discord&style=plastic
   :target: https://beeware.org/bee/chat/
   :alt: 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:

* `@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`_.

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 <https://pre-commit.com/>`__ and  `TownCrier
<https://pypi.org/project/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
<https://briefcase.readthedocs.io/en/stable/how-to/contribute-code.html>`__.
Although that document is for a different project, the details about setting up
your development environment are the same.

.. _BeeWare suite: http://beeware.org
.. _Read The Docs: https://travertino.readthedocs.io
.. _@pybeeware on Twitter: https://twitter.com/pybeeware
.. _BeeWare Community Code of Conduct: http://beeware.org/community/behavior/
.. _log them on Github: https://github.com/beeware/travertino/issues
.. _fork the code: https://github.com/beeware/travertino
.. _submit a pull request: https://github.com/beeware/travertino/pulls

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "travertino",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Russell Keith-Magee",
    "author_email": "russell@keith-magee.com",
    "download_url": "https://files.pythonhosted.org/packages/1f/2d/95f95d193f38ee3925df796e31fdc6747feb2578e379def9416b51960f24/travertino-0.3.0.tar.gz",
    "platform": null,
    "description": ".. image:: https://beeware.org/static/images/defaultlogo.png\n    :width: 72px\n    :target: https://beeware.org\n\nTravertino\n==========\n\n.. image:: https://img.shields.io/pypi/pyversions/travertino.svg\n    :target: https://pypi.python.org/pypi/travertino\n\n.. image:: https://img.shields.io/pypi/v/travertino.svg\n    :target: https://pypi.python.org/pypi/travertino\n\n.. image:: https://img.shields.io/pypi/status/travertino.svg\n    :target: https://pypi.python.org/pypi/travertino\n\n.. image:: https://img.shields.io/pypi/l/travertino.svg\n    :target: https://github.com/beeware/travertino/blob/main/LICENSE\n\n.. image:: https://github.com/beeware/travertino/workflows/CI/badge.svg?branch=main\n   :target: https://github.com/beeware/travertino/actions\n   :alt: Build Status\n\n.. image:: https://img.shields.io/discord/836455665257021440?label=Discord%20Chat&logo=discord&style=plastic\n   :target: https://beeware.org/bee/chat/\n   :alt: Discord server\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`_. You can talk to the community 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`_.\n\nContributing\n------------\n\nIf you experience problems with Travertino, `log them on GitHub`_. If you\nwant to contribute code, please `fork the code`_ and `submit a pull request`_.\n\nTravertino uses `Pre-commit <https://pre-commit.com/>`__ and  `TownCrier\n<https://pypi.org/project/towncrier/>`__ to help maintain code quality. For\ndetails on how to use these tools as part of your development environment, see\nthe `Briefcase code contribution guide\n<https://briefcase.readthedocs.io/en/stable/how-to/contribute-code.html>`__.\nAlthough that document is for a different project, the details about setting up\nyour development environment are the same.\n\n.. _BeeWare suite: http://beeware.org\n.. _Read The Docs: https://travertino.readthedocs.io\n.. _@pybeeware on Twitter: https://twitter.com/pybeeware\n.. _BeeWare Community Code of Conduct: http://beeware.org/community/behavior/\n.. _log them on Github: https://github.com/beeware/travertino/issues\n.. _fork the code: https://github.com/beeware/travertino\n.. _submit a pull request: https://github.com/beeware/travertino/pulls\n",
    "bugtrack_url": null,
    "license": "New BSD",
    "summary": "Travertino is a set of constants and utilities for describing user interfaces",
    "version": "0.3.0",
    "project_urls": {
        "Funding": "https://beeware.org/contributing/membership/",
        "Source": "https://github.com/beeware/travertino",
        "Tracker": "https://github.com/beeware/travertino/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "25bf59fd5d89c3b0c5d897862ac83457fe82d934dde52d59a9106df6066e97b2",
                "md5": "0ab16456cd78fa49f0123d334f9023a9",
                "sha256": "f45d8102353f92c2894915e42f939ba4bc1a0be78b02fa54b640c0e674892167"
            },
            "downloads": -1,
            "filename": "travertino-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0ab16456cd78fa49f0123d334f9023a9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 16122,
            "upload_time": "2023-08-15T22:28:05",
            "upload_time_iso_8601": "2023-08-15T22:28:05.294076Z",
            "url": "https://files.pythonhosted.org/packages/25/bf/59fd5d89c3b0c5d897862ac83457fe82d934dde52d59a9106df6066e97b2/travertino-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1f2d95f95d193f38ee3925df796e31fdc6747feb2578e379def9416b51960f24",
                "md5": "4359dc163e63635df798d2ea98dd9350",
                "sha256": "51aa2ddf361ec42c0a70401b52ab0d26293fddb0d9de35555f7489ab8a296e19"
            },
            "downloads": -1,
            "filename": "travertino-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4359dc163e63635df798d2ea98dd9350",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 30727,
            "upload_time": "2023-08-15T22:28:06",
            "upload_time_iso_8601": "2023-08-15T22:28:06.955286Z",
            "url": "https://files.pythonhosted.org/packages/1f/2d/95f95d193f38ee3925df796e31fdc6747feb2578e379def9416b51960f24/travertino-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-15 22:28:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "beeware",
    "github_project": "travertino",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "travertino"
}
        
Elapsed time: 0.19425s