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.0.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.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for kedantic-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1c11687b16a4186cc8b2c5c14105b567c3a24a740896ae6e06532d0611540cab
MD5 a52b512d21d73f49642f04b512dd29ba
BLAKE2b-256 3c2df36a0beee51dd5322cd11a8f544876d80b43dcd64ff482e5740f4b906df6

See more details on using hashes here.

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

Hashes for kedantic-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd9f99d4d24f18ba223411782214e0701ae19463ba31f93510a52abcf8dd1f40
MD5 e84851db342e71c3f7ccbfec88fbf002
BLAKE2b-256 532a7bd52b9221fb3a1a037538226b7233f165140d1210b824ad60e19f049768

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