Plugin to allow Pydantic Models as Node Inputs in Kedro
Project description
Kedantic
Overview
Kedantic allows you to specify Pydantic models as parameter inputs to your kedro nodes. This has the following benefits
- Offload parameter validation to Pydantic
- Make unit testing of nodes simpler, due to point 1.
- Better type hinting than generic dictionaries when working in an IDE with a lsp
Installation
To install, simply run
pip install kedantic
Use
To utilize, simply annotate your node's function parameters with pydantic models and kedantic will take care of the rest. Kedantic will only automatically validate inputs that are parameters into a node, i.e. the inputs name must start with "params:" on the pipeline definition.
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 kedantic-0.1.0.tar.gz.
File metadata
- Download URL: kedantic-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c11687b16a4186cc8b2c5c14105b567c3a24a740896ae6e06532d0611540cab
|
|
| MD5 |
a52b512d21d73f49642f04b512dd29ba
|
|
| BLAKE2b-256 |
3c2df36a0beee51dd5322cd11a8f544876d80b43dcd64ff482e5740f4b906df6
|
File details
Details for the file kedantic-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kedantic-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd9f99d4d24f18ba223411782214e0701ae19463ba31f93510a52abcf8dd1f40
|
|
| MD5 |
e84851db342e71c3f7ccbfec88fbf002
|
|
| BLAKE2b-256 |
532a7bd52b9221fb3a1a037538226b7233f165140d1210b824ad60e19f049768
|