Skip to main content

A lightweight SQL Querying package.

Project description

BreezeBlocks

BreezeBlocks is a query abstraction layer that takes advantage of some of the features of the Python language more than DBAPI 2.0 modules, but provides more lightweight result objects and more flexible querying than many ORMs for the language.

Most available SQL abstractions are ORMs implementing something similar to the Active Record pattern. A class is defined for each table, with class-level properties representing the columns. Rows in the table become instances of their class.

BreezeBlocks is designed as a query builder rather than an ORM. SQL Syntax is exposed in Python classes which are passed into methods for query construction. Query results are plain-old-data types similar to a C struct. They provide access to fields of the row by name, but are still compact and don’t have as much usage overhead as most Python objects.

This package is meant to help you use databases, not manage databases. The current focus of the project is on querying. Functionality for insertion, updating, and deleting are expected to be developed in time. However, defining schemas and creating tables are not with the scope of the project.

Version History

0.1.1

Introduces the Column Collection concept to the code, and starts using its implementation in tables, joins, and queries.

0.1.0

Query functionality covers enough possibilities of the SQL language to meet most anticipated developer needs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

breezeblocks-0.1.1.tar.gz (16.8 kB view details)

Uploaded Source

File details

Details for the file breezeblocks-0.1.1.tar.gz.

File metadata

  • Download URL: breezeblocks-0.1.1.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for breezeblocks-0.1.1.tar.gz
Algorithm Hash digest
SHA256 09c8005c98ad16027d6287671c86fc7311d8a0a3e6bd3a70c5dc08770717eac5
MD5 3a5db8ded9bd9f6506315b64c221f2c1
BLAKE2b-256 437d77af8e97538ec6d634362a0cadd45f8038698bb06a803a128cd1c5cbb791

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page