sqlmodel
pydantic-sqlalchemy
Our great sponsors
- Onboard AI - Learn any GitHub repo in 59 seconds
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- SaaSHub - Software Alternatives and Reviews
sqlmodel | pydantic-sqlalchemy | |
---|---|---|
23 | 1 | |
11,584 | 1,048 | |
- | - | |
8.8 | 0.0 | |
1 day ago | 1 day ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sqlmodel
-
I wrote okjson - A fast, simple, and pythonic JSON Schema Validator
I had a requirement to process and validate large payloads of JSON concurrently for a web service, initially I implemented it using jsonschema and fastjsonschema but I found the whole JSON Schema Specification to be confusing at times and on top of that wanted better performance. Albeit there are ways to compile/cache the schema, I wanted to move away from the schema specification so I wrote a validation library inspired by the design of tiangolo/sqlmodel (type hints) to solve this problem easier.
- Django Ninja – Fast Django REST Framework for Building APIs
-
Trending Python Projects of the Week
Github Repository
-
The hand-picked selection of the best Python libraries released in 2021
SQLModel.
-
If you managed the Django project, what would you focus on in the next 12 months?
Have you seen SQLModel? It dropped two weeks ago.
- SQLModel: SQL DBs based on Python type hints. The biggest thing I've built since FastAPI and Typer. 😅
-
SQLModel – SQL Databases in FastAPI
This bit looks like async support: https://github.com/tiangolo/sqlmodel/blob/0.0.3/sqlmodel/ext...
pydantic-sqlalchemy
-
SQLModel – SQL Databases in FastAPI
The main benefit is actually being able to have statically typed models instead of dynamic, to get autocompletion, error checks, etc.
In fact, I made a small utility library some time ago to create dynamic Pydantic models from SQLAlchemy models (https://github.com/tiangolo/pydantic-sqlalchemy), but that's only useful in a few cases, e.g. for response_model in FastAPI.
What are some alternatives?
pydantic - Data validation using Python type hints
ormar - python async orm with fastapi in mind and pydantic validation
geojson-pydantic - Pydantic data models for the GeoJSON spec
sqlalchemy-hana - SQLAlchemy Dialect for SAP HANA
SQLAlchemy - The Database Toolkit for Python
pyright - Static Type Checker for Python
datamodel-code-generator - Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
sqlalchemy-filters-plus - Lightweight library for providing filtering mechanism for your APIs using SQLAlchemy
FastAPIQuickCRUD - Generate CRUD methods in FastApi from an SQLAlchemy schema
sqlite-utils - Python CLI utility and library for manipulating SQLite databases
django-rest-framework - Web APIs for Django. 🎸
graphql-sqlalchemy - Generate GraphQL Schemas from your SQLAlchemy models