kennethreitz/records
SQL for Humans™ observed · 2026-08-28
Health v2 · maintenance only
52/100
- Activity 66
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4270
- days_rel: n/a
- days_push: 205
- n_releases_24m: 0
Adoption not part of the score
7221 stars · 567 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Records is a Python library for making raw SQL queries to relational databases with a simple, human-friendly interface for accessing results. Built on SQLAlchemy and Tablib, it supports parameterized queries, transactions, and one-line export to CSV, JSON, YAML, HTML, XLS, or Pandas DataFrames.
Use cases
- run raw sql queries from python without an orm
- export database query results to csv or json
- query postgres with simple parameterized sql
- generate reports from database queries
- access query rows as attributes or dict keys
- run sql queries from the command line
When to choose
- you prefer writing plain SQL over ORM abstractions
- you need quick ad-hoc queries with ergonomic result access
- you want to export query results to multiple formats easily
- you want a lightweight wrapper around SQLAlchemy connections
When to avoid
- you need an ORM with models, relationships, and migrations
- you need async database access
- you need advanced connection pooling or sharding features
- your project requires a very actively maintained library
Facets
library · maturity maintenance
database database-driver orm serialization cli databases data-science developer-tools python cross-platform cli sql sqlalchemy tablib raw-sql query-results data-export postgres mysql sqlite command-line
3 sources
- readme: https://github.com/kennethreitz/records · fetched 2026-08-28 · 0b8bda5ca29b
- homepage: https://pypi.python.org/pypi/records/ · fetched 2026-08-29 · 6ad022543de8
- registry_pypi: https://pypi.org/pypi/records/json · fetched 2026-08-29 · 33e94d09ac95
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kennethreitz/records | main | 52 |
For agents
markdown · JSON · MCP: product_card(name="kennethreitz/records")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem