<div dir="ltr"><div>Active Data Objects Data-Base Application Program Interface is a PEP-249 compliant SQL database package which will work with a large number of tabular data sources.  It is tested using a Microsoft SQL Server database, along with PostgreSQL, MySQL and Jet (Microsoft ACCESS) databases.  An included example manipulates an .xls spreadsheet using SQL commands.<br>

<br>Although adodbapi continues to lead in development and standardization of API extensions (such as referencing data columns by name), version 2.6 is mostly a maintenance release with some refactoring, and only a few new features:<br>

<br></div><div>It now supports prepared SQL statements using a simple interface. For example...<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">

<div>conn = adodbapi.connect('your connection string here')<br></div><div>crsr = conn.cursor()<br>crsr.prepare('some SQL statement where ? = ?')<br></div><div>for parameters in sequence_of_parameter_sequences:<br>

</div></blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div>    crsr.execute(crsr.command, parameters)<br></div></blockquote><div> </div>

<div>In addition to the conjectured db-api version 3 standard of requiring SQL parameter "paramstyles" of 'qmark' and 'numeric' , version 2.6 extends the list to ['qmark', 'numeric', 'format', 'pyformat', 'dynamic'].  Switching between sequences of parameters, and dictionaries of parameters, is dynamic for some paramstyles.  [If you don't know what a 'paramstyle' is, it might be better to remain oblivious.  ;-)   ]<br>

<br></div><div>Lightweight documentation at<a href="http://adodbapi.sourceforge.net/quick_reference.pdf"> http://adodbapi.sourceforge.net/quick_reference.pdf</a><br><br></div><div>Project at <a href="https://sourceforge.net/projects/adodbapi">https://sourceforge.net/projects/adodbapi</a><br>

</div><div><br></div></div>