Patternfly5 widget library for Widgetastic.
Project description
widgetastic.patternfly5
This library offers Widgetastic Widgets for PatternFly v5, serving as an extended itteration of widgetastic.patternfly4.
Components:
- alert
- breadcrumb
- button
- card
- chip
- clipboard-copy
- date and time
- description-list
- drawer
- dual-list-selector
- forms
- menus
- modal
- navigation
- pagination
- popover
- progress
- slider
- switch
- table
- tabs
- title
Charts:
Patterns:
Contribution guide
# clone the repo
git clone https://github.com/RedHatQE/widgetastic.patternfly5.git
cd widgetastic.patternfly5
# create a virtual environment
python3 -m venv .venv_pfy5
source .venv_pfy5/bin/activate
# update pip and its friends
pip install -U pip setuptools wheel
# install the package in editable mode
pip install -e .[dev]
pre-commit install
Testing
The library has selenium tests that are performed against Patternfly React docs. It's also configured to run the tests every time when a new version of that page is released.
Tests spawn a container from official selenium image - selenium/standalone-{chrome/firefox}.
We can check local runs via vnc http://localhost:7900
Note: Tests use podman to manage containers. Please install it before running.
It's possible to run tests in parallel to speed up the execution. Make sure that you have xdist python plugin installed.
Use -n key to specify a number
of workers:
BROWSER=firefox pytest -v testing -n 4
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 Distributions
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 widgetastic.patternfly5-24.2.26.0-py3-none-any.whl.
File metadata
- Download URL: widgetastic.patternfly5-24.2.26.0-py3-none-any.whl
- Upload date:
- Size: 50.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b845c5b2926ac48b5b05139061180427c772c4bdb231d265dfd861ac579bba63
|
|
| MD5 |
142c89924a598804e5bfe6c0ed79dd83
|
|
| BLAKE2b-256 |
b3e1fa19729111614ec6da6e211ef6e59873aadc8e3be0477eb0c9cff5c4810c
|