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.

61
/ 100
Established

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.

database-schema-conversion python-orm data-modeling api-development developer-tooling
Maintenance 10 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 16 / 25

How are scores calculated?

Stars

198

Forks

24

Language

Python

License

MIT

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.