qmetrics.net

AIOPG

Asyncio PostgreSQL database access library

DatabasesDesktop/CLI app
AIOPG screenshot

aiopg lets Python asyncio programs talk to PostgreSQL using an async DBAPI-style API built on Psycopg, with optional SQLAlchemy helpers.

Overview

aiopg is a Python library for accessing PostgreSQL from the asyncio framework. It wraps the asynchronous capabilities of the Psycopg driver so application code uses await on connection and cursor methods while keeping familiar DBAPI-shaped objects.

The core surface includes connection pools, cursors, and streaming row iteration. Internally it relies on psycopg2-binary connections in asynchronous mode; methods must be awaited, while properties behave synchronously. Documentation notes autocommit defaults in that async mode and points readers to Psycopg transaction guidance.

An optional aiopg.sa module adds SQLAlchemy-oriented engines and query execution for teams that prefer SQLAlchemy table and expression builders over raw SQL strings. Installation is via pip; the SQLAlchemy extra is installed separately when needed, and libpq development packages may be required on some systems.

The project supports Python 3.6 and newer in the published docs, with async/await syntax required. It implements LISTEN/NOTIFY, transaction helpers, and type translation extensions in its API reference.

Key features

  • Asyncio DBAPI-like PostgreSQL API
  • Connection pool support
  • Async cursors and row iteration
  • Psycopg2-binary async wrapper
  • Optional SQLAlchemy integration
  • LISTEN and NOTIFY support
  • Transaction helper utilities
  • Extension type translations

Use cases

  • Async web apps on PostgreSQL
  • High-concurrency database pools
  • SQLAlchemy queries under asyncio
  • Postgres notifications in async code

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift