No video

A Peek Inside SQLModel from FastAPI using PyCharm

Sebastián Ramírez @tiangolo from FastAPI and Typer fame released yesterday a new package called SQLModel:
"SQLModel is a library for interacting with SQL databases from Python code, with Python objects. It is designed to be intuitive, easy to use, highly compatible, and robust...SQLModel is based on Python type annotations, and powered by Pydantic and SQLAlchemy."
For those looking to both eliminate the FastAPI duplication of Pydantic+SQLA model writing, and get better tooling and thus developer experience, it looks quite interesting.
I decided to give it a spin in PyCharm to see if autocompletion works.
sqlmodel.tiang...

Пікірлер: 3

  • @pybob
    @pybob3 жыл бұрын

    Nice video, thanks Paul, super exciting project, will use it today :)

  • @zeppelin0110
    @zeppelin01102 жыл бұрын

    Great library. I just wish Tiangolo had also uploaded a sample codebase. But I suppose copying & pasting sample code works, too. That's what I've been doing.

  • @pwrlift
    @pwrlift2 жыл бұрын

    hi, do u know how to make enums with sqlmodel?