跳转到主要内容

Widgetastic的Patternfly5小部件库。

项目描述

widgetastic.patternfly5

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

此库为PatternFly v5提供Widgetastic小部件,是widgetastic.patternfly4的扩展迭代。

组件

图表

模式

贡献指南

# 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

测试

该库针对 Patternfly React 文档 进行了 selenium 测试。它还配置了每次发布该页面新版本时都运行测试。

测试从官方 selenium 镜像 selenium/standalone-{chrome/firefox} 启动容器。我们可以通过 vnc https://127.0.0.1:7900 检查本地运行情况。

注意:测试使用 podman 管理容器。请在运行前安装它。

可以并行运行测试以加快执行速度。请确保已安装 xdist Python 插件。

使用 -n 键指定工作进程数量

BROWSER=firefox pytest -v testing -n 4

项目详情


下载文件

下载适合您平台文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。

源代码分发

本版本没有可用的源代码分发文件。请参阅 生成分发存档 的教程。

构建分发

widgetastic.patternfly5-24.4.15.0-py3-none-any.whl (52.1 kB 查看哈希值)

上传时间 Python 3

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面