Skip to main content

Patternfly4 widget library for Widgetastic.

Project description

widgetastic.patternfly4

Build status codecov PyPI version Documentation status

Library of Patternfly v4 (aka Next) components for Widgetastic.

Components list

Alert - https://www.patternfly.org/v4/components/alert

Breadcrumb - https://www.patternfly.org/v4/components/breadcrumb

Button - https://www.patternfly.org/v4/components/button

Bullet Chart - https://www.patternfly.org/v4/charts/bullet-chart

Card - https://www.patternfly.org/v4/components/card

Chip Group - https://www.patternfly.org/v4/components/chip-group

Context Selector - https://www.patternfly.org/v4/components/context-selector

Donut Chart - https://www.patternfly.org/v4/charts/donut-chart

Dropdown - https://www.patternfly.org/v4/components/dropdown

FormSelect - https://www.patternfly.org/v4/components/form-select

Menu - https://www.patternfly.org/v4/components/menu

Modal - https://www.patternfly.org/v4/components/modal

Nav - https://www.patternfly.org/v4/components/navigation

Options Menu - https://www.patternfly.org/v4/components/options-menu

Pagination - https://www.patternfly.org/v4/components/pagination

Pie Chart - https://www.patternfly.org/v4/charts/pie-chart

Popover - https://www.patternfly.org/v4/components/popover

Progress - https://www.patternfly.org/v4/components/progress

Select - https://www.patternfly.org/v4/components/select

Slider - https://www.patternfly.org/v4/components/slider

Switch - https://www.patternfly.org/v4/components/switch

Table - https://www.patternfly.org/v4/components/table

Tabs - https://www.patternfly.org/v4/components/tabs

Contribution guide

# create a virtual environment
python3 -m venv /path/to/your/virtualenv/wt.pf4
source /path/to/your/virtualenv/wt.pf4/bin/activate

# update pip and its friends
pip install -U pip setuptools wheel

# clone the repo
git clone https://github.com/RedHatQE/widgetastic.patternfly4.git

# install pre-commit
cd widgetastic.patternfly4
# 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 quay.io/redhatqe/selenium-standalone image. It has configured Selenium standalone server and the browsers (Chrome and Firefox).

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. Use -n key tp 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_patternfly4-1.1.1-py3-none-any.whl (46.7 kB view details)

Uploaded Python 3

File details

Details for the file widgetastic_patternfly4-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for widgetastic_patternfly4-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8940538c7e9faeb0ef0c319b2803fc0f128a1487d03496efe8d3363baf83835d
MD5 8f03734e576fb27e21e303067e8b996a
BLAKE2b-256 8154f7718d7f336e926a30ced281eb0f870c1ae6c7f0d443291bed87dfd66e58

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