For LLM generated Python code, pydantic's monty is awesome: https://github.com/pydantic/monty
Plus, pydantic is funded so it will be well maintained.