Fork of the open-source PgTyped project, modified to generate Python Pydantic models from PostgreSQL queries instead of TypeScript interfaces. Write annotated raw SQL, point the CLI at your running Postgres DB, get type-safe Pydantic BaseModel classes. Published to npm at v0.0.4.