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
- Host: GitHub
- URL: https://github.com/argyle-engineering/pydantic2zod
- Owner: argyle-engineering
- License: mit
- Created: 2023-03-23T14:36:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-26T11:34:27.000Z (11 months ago)
- Last Synced: 2025-03-30T18:08:15.895Z (11 months ago)
- Topics: data-validation, pydantic, python, typescript, zod
- Language: Python
- Homepage:
- Size: 819 KB
- Stars: 54
- Watchers: 2
- Forks: 7
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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.

See the [docs](docs.md).
## Similar projects
* https://github.com/cs-cordero/py-ts-interfaces