{"repo":"manoss96/onlymaps","free":true,"listed":false,"github":"https://github.com/manoss96/onlymaps","clone":"git clone https://github.com/manoss96/onlymaps.git","description":"A Python micro-ORM","language":"Python","stars":333,"topics":["database","orm","python","sql","mariadb","mysql","postgresql","sqlite","sqlserver"],"license":"MIT","category":"databases-storage","readme_excerpt":"[![Python Version][python-shield]][python-url] [![MIT License][license-shield]][license-url] [![Coverage][coverage-shield]][coverage-url] Onlymaps is a Python micro-ORM library that lets you interact with a database through plain SQL while it takes care of mapping any query 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, MS SQL Server and more. - 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, for example: Documentation 📖 - Connecting to a database + Establishing a connection + Building the connection string + Using unsupported drivers + Enabling connection pooling - Running queries + Query execution + Passing arguments to queries + Query parameter wrappers + Managing transactions - Mapping query results - Single-column queries - Multi-column queries Connecting to a database This chapter explains how to access the Database and AsyncDatabase APIs. Establishing a connection Onlymaps exposes a single entrypoint to its sync API, i.e. the function onlymaps.connect : Similarly, onlymaps.asyncio.connec","default_branch":null,"files":null,"tree":[],"storefront":"/r/manoss96","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/manoss96/onlymaps/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}