Onlymaps is a Python micro-ORM library that enables you to interact with a database through plain SQL queries while it takes care of mapping the results back to Python objects. More specifically, it provides:

  • A minimal API that enables both sync and async query execution.
  • Fine-grained type-hinting and validation with the help of Pydantic.
  • Support for all major databases such as PostgreSQL, MySQL, MariaDB and MS SQL Server.
  • Connection pooling via custom implementation.

How to install 📦

You can install Onlymaps by running pip install onlymaps. If your virtual environment is missing any required database driver packages, an exception with an appropriate message will be raised when trying to establish a connection for the first time, f…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help