IdoKendo / to_pydantic

Generate Pydantic schema from JSON objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

to_pydantic

Generate Pydantic schema from JSON objects

Example Usage

curl https://pokeapi.co/api/v2/pokemon/charizard | python main.py > pokemon.py

Will generate the pokemon.py file with all of the relevant types from the pokeapi.

About

Generate Pydantic schema from JSON objects

License:MIT License


Languages

Language:Python 100.0%