sqlmodel
Installation
SKILL.md
SQLModel
SQLModel is a Python library for SQL databases built on top of SQLAlchemy and Pydantic. It uses Python type annotations to define both database table schemas and API data schemas in a single class hierarchy.
Installation
pip install sqlmodel
For PostgreSQL or MySQL, install the appropriate driver alongside SQLModel:
pip install sqlmodel psycopg2-binary # PostgreSQL
pip install sqlmodel pymysql # MySQL