Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

qsqla

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qsqla

qSQLA is a query builder for SQLAlchemy Core Selectables

  • 0.3.2
  • PyPI
  • Socket score

Maintainers
1

qsqla

Build Status

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


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)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc