Contents

sqlmodel 0.0.6

0

SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness.

SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness.

Stars: 7850, Watchers: 7850, Forks: 335, Open Issues: 236

The tiangolo/sqlmodel repo was created 11 months ago and was last updated 21 minutes ago.
The project is extremely popular with a mindblowing 7850 github stars!

How to Install sqlmodel

You can install sqlmodel using pip

pip install sqlmodel

or add it to a project with poetry

poetry add sqlmodel

Package Details

Author
Sebastián Ramírez
License
MIT
Homepage
https://github.com/tiangolo/sqlmodel
PyPi
https://pypi.org/project/sqlmodel/
GitHub Repo
https://github.com/tiangolo/sqlmodel

Classifiers

  • Database
  • Database/Database Engines/Servers
  • Internet
  • Internet/WWW/HTTP
  • Internet/WWW/HTTP/HTTP Servers
No  sqlmodel  pypi packages just yet.

Errors

A list of common sqlmodel errors.

Code Examples

Here are some sqlmodel code examples and snippets.

GitHub Issues

The sqlmodel package has 236 open issues on GitHub

  • open ended discussion: use of PEP 593 in the "model" ecosystem
  • Unable to use original type hint by defining relationship
  • Class Initialisation Validation Kwarg
  • Map attributes from link model(association table)
  • Pydantic validation doesn't work when set table=True
  • Issue using from_orm stripping Relationship data from models
  • add missing word to doc and make consistent
  • BUG: Background Task Cannot Get Database Updates
  • Update mypy requirement from ^0.910 to ^0.931
  • sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) can't adapt type 'Color'
  • How to use GenericModel with SQLmodel in Fastapi
  • I18N Internationalization
  • Pylance / VSCode cannot find sqlmodel typings correctly
  • Modify lte to le
  • lte for Query Parameters

See more issues on GitHub

Related Packages & Articles

fastapi 0.79.0

FastAPI framework, high performance, easy to learn, fast to code, ready for production

ormar 0.11.2

A simple async ORM with fastapi in mind and pydantic validation.