https://github.com/redhatqe/widgetastic.patternfly
Library of Patternfly widgets for Widgetastic.
https://github.com/redhatqe/widgetastic.patternfly
Last synced: 9 months ago
JSON representation
Library of Patternfly widgets for Widgetastic.
- Host: GitHub
- URL: https://github.com/redhatqe/widgetastic.patternfly
- Owner: RedHatQE
- License: other
- Created: 2017-03-23T13:23:17.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-12-23T18:12:05.000Z (about 1 year ago)
- Last Synced: 2025-01-09T16:58:13.116Z (about 1 year ago)
- Language: Python
- Size: 403 KB
- Stars: 13
- Watchers: 12
- Forks: 29
- Open Issues: 9
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
======================
widgetastic.patternfly
======================
.. image:: https://travis-ci.org/RedHatQE/widgetastic.patternfly.svg?branch=master
:target: https://travis-ci.org/RedHatQE/widgetastic.patternfly
.. image:: https://coveralls.io/repos/github/RedHatQE/widgetastic.patternfly/badge.svg?branch=master
:target: https://coveralls.io/github/RedHatQE/widgetastic.patternfly?branch=master
.. image:: https://readthedocs.org/projects/widgetastic-patternfly/badge/?version=latest
:target: http://widgetastic-patternfly.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
Patternfly_ widget library for Widgetastic_.
.. _Patternfly: http://www.patternfly.org
.. _Widgetastic: https://github.com/RedHatQE/widgetastic.core
Written originally by Milan Falesnik (mfalesni@redhat.com, http://www.falesnik.net/) and
other contributors since 2016.
Contributors whose contributions were squashed during the library move in order of their first commit:
- Ievgen Zapolskyi
- Pete Savage
- Dmitry Misharov
- Oleksii Tsuman
- Mike Shriver
Usage
=====
.. code-block:: python
from widgetastic.widget import View
from widgetastic_patternfly import Button
class SomeView(View):
add = Button('Add', classes=[Button.PRIMARY])
Check the ``src/widgetastic_patternfly/__init__.py`` for more documentation.
Currently all the PatternFly widgets are located in the ``widgetastic_patternfly`` package.