Records is a Python library designed to make direct SQL querying convenient without introducing a full object-relational mapper. It supports relational databases including PostgreSQL, MySQL, SQLite, Oracle, Microsoft SQL Server, and Amazon Redshift through SQLAlchemy. Query results are exposed as friendly Record objects whose fields can be accessed by attribute, key, or numeric index. Queries support safe parameterization, SQL files, transactions, and bulk operations. Result collections can be converted into dictionaries or exported through Tablib to formats such as CSV, JSON, Excel, HTML, YAML, and Pandas DataFrames. A command-line utility allows SQL queries and exports to be performed outside Python code. The library focuses on keeping raw SQL workflows concise and readable.

Features

  • Direct raw SQL querying
  • Multiple relational database backends
  • Attribute, key, and index-based row access
  • Parameterized queries and transactions
  • CSV, JSON, Excel, YAML, and DataFrame export
  • Command-line SQL query and export tools

Project Samples

Project Activity

See All Activity >

Categories

SQL Clients

License

ISC License

Follow Records

Records Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Records!

Additional Project Details

Programming Language

Python

Related Categories

Python SQL Clients

Registered

56 minutes ago