Skip to main content

Patternfly5 widget library for Widgetastic.

Project description

widgetastic.patternfly5

Python Versions PyPI version github actions Code style: black pre: black

This library offers Widgetastic Widgets for PatternFly v5, serving as an extended itteration of widgetastic.patternfly4.

Components:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

widgetastic.patternfly5-24.2.15.0-py3-none-any.whl (50.6 kB view details)

Uploaded Python 3

File details

Details for the file widgetastic.patternfly5-24.2.15.0-py3-none-any.whl.

File metadata

File hashes

Hashes for widgetastic.patternfly5-24.2.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4374806b1f5316138bedfbfa4b6b3d64e28b25e458595b1fbbb38ba9da5a5055
MD5 5efd03077fca4e88f7a1f0a42891d561
BLAKE2b-256 76eacce13185748c18251b71eff1c545fc623d2b34ab869f5b73c407730b1239

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page