SQLite Forum

Possible vulnerabilities from December 2019
Login
I think what you mean to say is that the default pysqlite2 (renamed as sqlite3) python wrapper does not expose the sqlite3_db_config interface, which is exactly correct.  This is nothing to do with the Python version, but rather the wrapper library.

This is because pysqlite2/sqlite3 is a DB-API wrapper for SQLite3.  It is designed to be "compatible" with other DB-API wrappers for other databases and provides no access to anything except the "lowest common denominator" functionality of every database system ever invented.

If you wish to use an SQLite3 wrapper for Python that implements a (nearly) complete interface to the SQLite3 database engine, then they are available.  Take a look at the most excellent APSW written and maintained by Roger Binns, Roger is/was also a frequent contributor here.

Full [Documentation](https://rogerbinns.github.io/apsw/)  is also available in contrast to the pysqlite2/sqlite3 documentation, which is rather sparse.

It can be compiled and works for all versions of CPython (not PyPy unfortunately), or you can [Download](https://rogerbinns.github.io/apsw/download.html) the pre-built versions.

APSW is *NOT* a DB-API compliant wrapper for the SQLite3 database.  It is designed to permit access to SQLite3 features that are specifically SQLite3 features.  Be sure to read the [description](https://rogerbinns.github.io/apsw/pysqlite.html) for some of the differences.