sqlmodel VS geojson-pydantic

Compare sqlmodel vs geojson-pydantic and see what are their differences.

sqlmodel

SQL databases in Python, designed for simplicity, compatibility, and robustness. (by tiangolo)

geojson-pydantic

Pydantic data models for the GeoJSON spec (by developmentseed)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
sqlmodel geojson-pydantic
23 1
12,831 203
- 2.5%
8.6 8.0
7 days ago 3 months ago
Python Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of sqlmodel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-31.

geojson-pydantic

Posts with mentions or reviews of geojson-pydantic. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-24.
  • SQLModel: SQL DBs based on Python type hints. The biggest thing I've built since FastAPI and Typer. 😅
    3 projects | /r/FastAPI | 24 Aug 2021
    All I would want from SQLModel right now would be support for a geography column from GeoALchemy and then a validator which converts the EWB to GeoJSON (https://geojson.org/) (As GeoJSON is a standard for most map frameworks to consume and produce spatial data). There is a Pydantic library representing the GeoJSON spec (https://github.com/developmentseed/geojson-pydantic) - it currently doesn't work in FastAPI since it uses tuples for coordinate sequences and Tuples are not supported until OpenAPI schema v3.1 AFAIK.

What are some alternatives?

When comparing sqlmodel and geojson-pydantic you can also consider the following projects:

pydantic-sqlalchemy - Tools to convert SQLAlchemy models to Pydantic models

pydantic - Data validation using Python type hints

SQLAlchemy - The Database Toolkit for Python

ormar - python async orm with fastapi in mind and pydantic validation

sqlalchemy-hana - SQLAlchemy Dialect for SAP HANA

datamodel-code-generator - Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.

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

sqlalchemy-filters-plus - Lightweight library for providing filtering mechanism for your APIs using SQLAlchemy

sqlite-utils - Python CLI utility and library for manipulating SQLite databases

FastAPIQuickCRUD - Generate CRUD methods in FastApi from an SQLAlchemy schema

django-rest-framework - Web APIs for Django. 🎸