Skip to content

An aiohttp_sqlalchemy library for sqlmodel things in asyncio.

License

Notifications You must be signed in to change notification settings

Vizonex/aiohttp_sqlmodel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Aiohttp_Sqlmodel

A Build-off from aiohttp_sqlalchemy for sqlmodel/sqlalchemy things. This library attempts to make Sqlachemy's Mapping typehints to be regained making it easier for users using aiohttp_sqlalchemy to migrate to sqlmodel or vice-versa if and when required.

Pros/Cons of SQLModel

Pros

  • Easiest Static Typechecking and easiest management of dataclass fields.
  • Compatable with sqlalchemy since it's built on top of it as is mine with aiohttp_sqlalchemy to aiohttp_sqlmodel
  • aiohttp is a lot less heavy than fastapi when it comes to quite a few things hence my willingness to write this library.

Cons

  • Pydantic can be a very bulky choice to compile with pyinstaller leading to alot of unwanted sizes and bulk during the production of any application that requires the creation of a server.

TODOS

  • Fix View Types and implement my own web.View Types for fixing these problems and thier short-comings.
  • Provide examples on how to use (You will find it is very simillar to aiohttp_sqlalchemy)

About

An aiohttp_sqlalchemy library for sqlmodel things in asyncio.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages