APSW documentation¶
APSW 3.39.2.0 released 31 August 2022
Use with SQLite 3.39 or later, CPython 3.6 and later:
APSW provides an SQLite 3 wrapper that provides the thinnest layer over the SQLite database library possible. Everything you can do from the SQLite C API, you can do from Python. Although APSW looks vaguely similar to the PEP 249 (DBAPI), it is not compliant with that API because instead it works the way SQLite 3 does. (Read more about the differences).
In general you should use Python’s builtin sqlite3 module. Use APSW when you are intentionally using SQLite, want to use its APIs, want to control what versions are used, or want to control SQLite’s configuration (primarily done at compile time) or extensions (like JSON or FTS)
APSW is hosted at https://github.com/rogerbinns/apsw and can be downloaded from PyPI
Contents:
- Tips
- Example
- Download
- Building
- Extensions
- APSW Module
- Connections to a database
- Cursors (executing SQL)
- Blob Input/Output
- Backup
- Virtual Tables
- Virtual File System (VFS)
- Shell
- Exceptions
- Types
- Execution and tracing
- DBAPI notes
- pysqlite differences
- Benchmarking
- Copyright and License
- Change History
- 3.39.2.0
- 3.38.5-r1
- 3.38.1-r1
- 3.37.0-r1
- 3.36.0-r1
- 3.35.4-r1
- 3.34.0-r1
- 3.33.0-r1
- 3.32.2-r1
- 3.31.1-r1
- 3.30.1-r1
- 3.29.0-r1
- 3.28.0-r1
- 3.27.2-r1
- 3.26.0-r1
- 3.25.2-r1
- 3.24.0-r1
- 3.23.1-r1
- 3.22.0-r1
- 3.21.0-r1
- 3.20.1-r1
- 3.19.3-r1
- 3.18.0-r1
- 3.17.0-r1
- 3.16.2-r1
- 3.15.2-r1
- 3.15.1-r1
- 3.15.0-r1
- 3.14.1-r1
- 3.13.0-r1
- 3.12.2-r1
- 3.11.1-r1
- 3.11.0-r1
- 3.9.2-r1
- 3.8.11.1-r1
- 3.8.10.1-r1
- 3.8.9-r1
- 3.8.8.2-r1
- 3.8.8.1-r1
- 3.8.7.3-r1
- 3.8.7.2-r1
- 3.8.7.1-r1
- 3.8.6-r1
- 3.8.5-r1
- 3.8.4.3-r1
- 3.8.4.2-r1
- 3.8.4.1-r1
- 3.8.3.1-r1
- 3.8.3-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