Show HN: Onlymaps, a Python Micro-ORM
github.com·17h·
Flag this post

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...