An open API service indexing awesome lists of open source software.

https://github.com/argyle-engineering/pydantic2zod

pydantic --> zod data models
https://github.com/argyle-engineering/pydantic2zod

data-validation pydantic python typescript zod

Last synced: 10 months ago
JSON representation

pydantic --> zod data models

Awesome Lists containing this project

README

          

# Pydantic to Zod compiler

Transfer your type safe Python data models to TypeScript:
[pydantic](pydantic-docs.helpmanual.io/) -> [zod](zod.dev/).

* Retains the class and field names, comments.
* Customize the output, etc.
* Suports both **pydantic** v1 and v2.

![example](example.gif)

See the [docs](docs.md).

## Similar projects

* https://github.com/cs-cordero/py-ts-interfaces