Skip to main content
qsqla
===============================

[![Build Status](https://travis-ci.org/blue-yonder/qsqla.svg?branch=master)](https://travis-ci.org/blue-yonder/qsqla)

qSQLA is a query builder for SQLAlchemy Core Selectables

Installation / Usage
--------------------

To install use pip:

$ pip install qsqla


Or clone the repo:

$ git clone https://github.com/blue-yonder/qsqla.git
$ python setup.py install

Example
-------


```python

from sqlalchemy import create_engine, MetaData, Table, Column, Integer, String


db = create_engine("sqlite:////:memory:")
md = MetaData(bind=db)

table = Table('user',
md,
Column('id', Integer, primary_key=True),
Column('name', String(16), nullable=False),
Column('age', Integer)
)

sel = table.select()

from qsqla.query import query, build_filters
filter = build_filters({"id__eq":1})
stm = query(sel, filter)

```

Release files for qsqla 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qsqla 0.3.2
File Size Uploaded
qsqla-0.3.2.tar.gz 17.9 kB Details

Release files / qsqla-0.3.2.tar.gz

Download URL qsqla-0.3.2.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0ba661bc168ea540ca448bdc304fc2533b363c4c43b54f6e70c6787b44806f7a
BLAKE2b-256 checksum
How to use checksums
5fe0738fe98be05cbfdcbd9e23e56531bbb2a9b2e038fb8ca546366c3fd9decd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page