Skip to main content

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

  1. Offload parameter validation to Pydantic
  2. Make unit testing of nodes simpler, due to point 1.
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kedantic-0.1.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kedantic-0.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file kedantic-0.1.1.tar.gz.

File metadata

  • Download URL: kedantic-0.1.1.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

Hashes for kedantic-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f1ce25d1431e2cdc1320e6b3feebdced7b0145ca067dbd007add667088e30c41
MD5 ea4787f259ca3147431f81dca8ec39c0
BLAKE2b-256 6ac398a096866cf0d09e05bb06ac761c3fc3450098f920d0cadd4410652138cf

See more details on using hashes here.

File details

Details for the file kedantic-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kedantic-0.1.1-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

Hashes for kedantic-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5aa74a7b98fe5a95f6067729d2b2f4728f7ba10402259ac93485e0fccb49c132
MD5 ebbf4e3bc3cf4915a30379e40df58bf4
BLAKE2b-256 b9df3282c86017dbe34b8f5b38d6b7fe6ca89d3548ef8c17a2b56d0e83cc08cc

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