Metadata-Version: 1.1
Name: pynoorm
Version: 0.1.1
Summary: Easier raw SQL, with or without an ORM.
Home-page: https://github.com/jpeyret/pynoorm
Author: JL Peyret
Author-email: jpeyret@gmail.com
License: MIT License
Description: Easier raw SQL, with or without an ORM.
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        
        The Binder class
        ----------------
        
        A Binder abstracts differences in the underlying database's bind variable syntax and also grabs bind variables
        from a list of arguments, using dict, then attribute lookup.
        
        Simple **sqlite3** example::
        
            from pynoorm.binder import Binder
            binder = Binder.factory("qmark")
        
            #just for test... assign a custid to binder for attribute lookup
            binder.custid = "AMAZON"
        
            query, parameters = binder("select * from orders where custid = %(custid)s", dict(custid="ACME"), binder)
        
        ``query`` and ``parameters`` are now in the sqlite3/qmark format::
        
        	>>> print(query)
        	select * from orders where custid = ?
        	>>> print(parameters)
        	('ACME',)
        
        
        
        =======
        History
        =======
        
        0.1.0 (2016-01-17)
        ------------------
        
        * First release on github.
        
        0.1.1 (2016-01-22)
        ------------------
        
        * Registered on PyPI
        
Keywords: sql database multiplatform
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Database :: Front-Ends
Classifier: Operating System :: OS Independent
