robotframework-pydantic
Robot Framework keyword library for validating data with Pydantic models and creating model objects dynamically.
Usage
*** Settings ***
Library PydanticLibrary models=${CURDIR}/models.py
*** Test Cases ***
Validate Model
&{item}= Create Dictionary product_id=101 name=Apple quantity=3 unit_price=0.50
@{items}= Create List ${item}
&{data}= Create Dictionary cart_id=1 customer_name=Alice items=${items}
${cart}= Validate ShoppingCart ${data}
Create Object
${obj}= Create ShoppingCart cart_id=1 customer_name=Alice items=${items}
Log ${obj}
Model source
models can be either:
- a path to a Python file (
/path/to/models.py) - a Python module import path (
my_project.models)
All classes in that module inheriting from pydantic.BaseModel are exposed as dynamic Validate <ModelName> and Create <ModelName> keywords.
Run tests
# Unit/integration tests
uv run pytest
# Robot acceptance tests
uv run robot --pythonpath src tests/acceptance
Metadata
Release files for robotframework-pydantic 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robotframework_pydantic-0.1.0.tar.gz | 4.6 kB | With provenance | Details for robotframework_pydantic-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| robotframework_pydantic-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for robotframework_pydantic-0.1.0-py3-none-any.whl |
Total release size: 10.6 kB
Release files / robotframework_pydantic-0.1.0.tar.gz
| Download URL | robotframework_pydantic-0.1.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e23935f87908c8f83190d3867ab4e6da663ef9f92f0527630980bf0646e6f4fe
|
|
BLAKE2b-256 checksum How to use checksums |
a21716f043b540fb8a224da255c47d081f1f639435d94bac6b211cc8291ca10e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 31, 2026.
Transparency logRelease files / robotframework_pydantic-0.1.0-py3-none-any.whl
| Download URL | robotframework_pydantic-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
11458246bd73bea5595c6e488f347ce52906841e8c0ed625fca2d247c29f5bbb
|
|
BLAKE2b-256 checksum How to use checksums |
dd848fc500b672b9833a4aebb5cc7c547bb4ebdb2665ad7badb198dd0516e3ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 31, 2026.
Transparency logSecurity for robotframework-pydantic 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for robotframework_pydantic-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 31, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.