Latest recipes tagged "sqlite3"http://code.activestate.com/recipes/tags/sqlite3/new/2015-02-24T22:08:11-08:00ActiveState Code RecipesPublish SQLite data to PDF using named tuples (Python)
2015-02-24T22:08:11-08:00Vasudev Ramhttp://code.activestate.com/recipes/users/4173351/http://code.activestate.com/recipes/579027-publish-sqlite-data-to-pdf-using-named-tuples/
<p style="color: grey">
Python
recipe 579027
by <a href="/recipes/users/4173351/">Vasudev Ram</a>
(<a href="/recipes/tags/conversion/">conversion</a>, <a href="/recipes/tags/pdf/">pdf</a>, <a href="/recipes/tags/pdfwriter/">pdfwriter</a>, <a href="/recipes/tags/sql/">sql</a>, <a href="/recipes/tags/sqlite/">sqlite</a>, <a href="/recipes/tags/sqlite3/">sqlite3</a>, <a href="/recipes/tags/xtopdf/">xtopdf</a>).
</p>
<p>This recipe shows how to publish SQLite data to PDF, using named tuples from the collections module of Python, the sqlite3 library, and the xtopdf library for PDF generation.</p>
Python DBAPI 2 "qmark" to "named" paramstyle (Python)
2012-12-14T19:39:04-08:00Steve Howehttp://code.activestate.com/recipes/users/4184602/http://code.activestate.com/recipes/578380-python-dbapi-2-qmark-to-named-paramstyle/
<p style="color: grey">
Python
recipe 578380
by <a href="/recipes/users/4184602/">Steve Howe</a>
(<a href="/recipes/tags/dbapi/">dbapi</a>, <a href="/recipes/tags/named/">named</a>, <a href="/recipes/tags/paramstyle/">paramstyle</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/qmark/">qmark</a>, <a href="/recipes/tags/sqlite/">sqlite</a>, <a href="/recipes/tags/sqlite3/">sqlite3</a>).
</p>
<p>Allows to use "named"-style params with drivers that support only "qmark"-style, as sqlite3.</p>