2 repository-uri
Tools that translate structured Python objects or fluent interfaces into raw SQL strings.
Distinct from Expression-Based Data Querying: Distinct from general expression querying by focusing on the construction of SQL strings from Python objects.
Explore 2 awesome GitHub repositories matching data & databases · SQL Expression Builders. Refine with filters or upvote what's useful.
This project is an asyncio database abstraction layer that provides a common interface for performing non-blocking database operations in Python. It functions as an asynchronous database driver wrapper and a SQL expression builder, allowing for the construction of raw SQL strings from structured Python objects. The library includes an asyncio connection pool manager that utilizes task-local storage to handle connection lifecycles and reduce resource overhead. It also serves as an async database transaction manager, wrapping operations in atomic transactions and savepoints to maintain data int
Ships a SQL expression builder that translates structured Python objects into raw SQL strings for execution.
Groupdate este un instrument PostgreSQL pentru agregarea seriilor temporale și gruparea datelor. Oferă un set de funcții SQL pentru a grupa și agrega înregistrările temporale în bucket-uri discrete, cum ar fi zile, săptămâni sau luni, pentru a calcula sume și medii pentru rapoarte. Proiectul se concentrează pe asigurarea unor linii temporale continue prin completarea golurilor din seriile temporale, care inserează valori implicite pentru perioadele în care nu există date. Include, de asemenea, un formator de date temporale care convertește cheile de tip dată-oră grupate în șiruri localizate sau modele de formatare personalizate. Instrumentul acoperă operațiuni vaste cu date temporale, inclusiv filtrarea intervalelor de timp și extragerea componentelor calendaristice, cum ar fi gruparea datelor pe zi a săptămânii. Suportă, de asemenea, calcule conștiente de fusul orar pentru a alinia gruparea cu zilele calendaristice locale.
Translates high-level grouping requests into raw SQL queries using date and time arithmetic.