xnuinside/omymodels
O!My Models (omymodels) is a library to generate Pydantic, Dataclasses, GinoORM Models, SqlAlchemy ORM, SqlAlchemy Core Table, Models from SQL DDL. And convert one models to another.
This tool helps software developers quickly create data models for their applications. You provide a SQL database schema (DDL), and it automatically generates code for various Python data model types like Pydantic, Dataclasses, or ORM models for SQLAlchemy and Gino. This is designed for Python developers building applications that interact with relational databases.
198 stars. Available on PyPI.
Use this if you are a Python developer needing to generate or convert Python data models from existing SQL database schemas or between different model types.
Not ideal if you are not a Python developer or are looking for a GUI-based database design tool rather than a code generation utility.
Stars
198
Forks
24
Language
Python
License
MIT
Category
Last pushed
Jan 18, 2026
Commits (30d)
0
Dependencies
5
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/xnuinside/omymodels"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
googleapis/gapic-generator-python
Generate Python API client libraries from Protocol Buffers.
zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
omissis/go-jsonschema
A tool to generate Go data types from JSON Schema definitions.
openconfig/ygot
A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
mailru/easyjson
Fast JSON serializer for golang.