This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

qSQLA is a query builder for SQLAlchemy Core Selectables

Project Description
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 History

Release History

This version
History Node

0.1.0

History Node

0.0.3

History Node

0.0.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
qsqla-0.1.0.tar.gz (14.7 kB) Copy SHA256 Checksum SHA256 Source Oct 19, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting