A blazing-fast toolkit to generate test cases using pytest framework.
Project description
Fyre Tool Kit
介绍
一款使用pytest框架生成测试用例的便捷开发工具包.
软件架构
软件架构说明
特点:
- YAML -> Pydantic模式验证
- 强制字段检查
- 生成与pytest兼容的测试模块(每个test_suite一个模块)
- 用于将生成的测试写入磁盘的实用程序
发布包到 Gitea PyPI 包注册表
- 配置包注册表以编辑本地
~/.pypirc文件
[distutils]
index-servers = gitea
[gitea]
repository = https://gitea.example.com/api/packages/{owner}/pypi
username = {username}
password = {password}
| 占位符 | 描述 |
|---|---|
owner |
包的所有者。 |
username |
您的 Gitea 用户名。 |
password |
您的 Gitea 密码。如果您使用 2FA 或 OAuth,请使用个人访问令牌代替密码。 |
- 通过运行以下命令发布包
$ uv run python3 -m twine upload --repository gitea /path/to/files/*
- 从包注册表安装 PyPI 包,执行以下命令:
$ uv pip install --index-url https://{username}:{password}@gitea.example.com/api/packages/{owner}/pypi/simple --no-deps {package_name}
| 参数 | 描述 |
|---|---|
| username | 您的 Gitea 用户名。 |
| password | 您的 Gitea 密码或个人访问令牌。 |
| owner | 包的所有者。 |
| package_name | 包的名称。 |
| 例如: |
$ uv pip install --index-url https://xxx:xxxx@gitea.example.com/api/packages/testuser/pypi/simple --no-deps test_package
您可以使用 --extra-index-url 代替 --index-url,但这会使您容易受到依赖混淆攻击,因为 pip 在检查指定的自定义仓库之前会检查官方 PyPi 仓库中的包。阅读 pip 文档以获取更多信息。
安装包以供其他项目使用
- 以“可编辑”模式安装本地项目
$ uv pip install -e <project_dir>
- 从 VCS 以“可编辑”模式安装项目
$ uv pip install -e "fyre-toolkit@git+https://gitea.com/marc_pango/fyre_toolkit.git" # 从 git 安装
参与贡献
- 克隆本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建工单和Pull Request
参考资料表
- Gitea Package https://docs.gitea.com/usage/packages/pypi
- PIP Install https://pip.pypa.io/en/stable/cli/pip_install
- UV Build https://docs.astral.sh/uv/concepts/projects/build
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 Distribution
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 fyre_toolkit-0.1.19.tar.gz.
File metadata
- Download URL: fyre_toolkit-0.1.19.tar.gz
- Upload date:
- Size: 58.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
034b1241ec4ed24c2596484ff8dd4adf39a6dbfa7a52e5d744177efd061a42b2
|
|
| MD5 |
b1e36eeb9c141748c963745eeb2ebcfb
|
|
| BLAKE2b-256 |
8a6014255be89fab957a25142d16a0568ee9f814c365d8a3a65ac10354449f7b
|
Provenance
The following attestation bundles were made for fyre_toolkit-0.1.19.tar.gz:
Publisher:
test.yml on pxy0592/fyre_toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fyre_toolkit-0.1.19.tar.gz -
Subject digest:
034b1241ec4ed24c2596484ff8dd4adf39a6dbfa7a52e5d744177efd061a42b2 - Sigstore transparency entry: 1252464365
- Sigstore integration time:
-
Permalink:
pxy0592/fyre_toolkit@4255a830a98cf8947a002accbeda04aba320e5b4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pxy0592
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test.yml@4255a830a98cf8947a002accbeda04aba320e5b4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fyre_toolkit-0.1.19-py3-none-any.whl.
File metadata
- Download URL: fyre_toolkit-0.1.19-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b9ea622c9016c5a43b76d079aeb3aadeb04a169bec125d4886e63917211800c
|
|
| MD5 |
0d1a9c4acdaf0b1b5a720724cb07243f
|
|
| BLAKE2b-256 |
1c6fa2b6cf711f123e1056c3a556a80038450b7bf45010d1b88ca6ad4048acb5
|
Provenance
The following attestation bundles were made for fyre_toolkit-0.1.19-py3-none-any.whl:
Publisher:
test.yml on pxy0592/fyre_toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fyre_toolkit-0.1.19-py3-none-any.whl -
Subject digest:
1b9ea622c9016c5a43b76d079aeb3aadeb04a169bec125d4886e63917211800c - Sigstore transparency entry: 1252464377
- Sigstore integration time:
-
Permalink:
pxy0592/fyre_toolkit@4255a830a98cf8947a002accbeda04aba320e5b4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pxy0592
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test.yml@4255a830a98cf8947a002accbeda04aba320e5b4 -
Trigger Event:
push
-
Statement type: