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.