Contents

sqlmodel 0.0.22

0

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

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

Stars: 14262, Watchers: 14262, Forks: 632, Open Issues: 235

The fastapi/sqlmodel repo was created 3 years ago and the last code push was 14 hours ago.
The project is extremely popular with a mindblowing 14262 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
None
License
None
Homepage
None
PyPi:
https://pypi.org/project/sqlmodel/
Documentation:
https://sqlmodel.tiangolo.com
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 235 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.115.0

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

ormar 0.20.1

An async ORM with fastapi in mind and pydantic validation.

datasette 0.65

An open source multi-tool for exploring and publishing data