A DB-API 2.0 interface for SQLCipher 3.x, providing encrypted SQLite databases. The 'wheels' variant includes precompiled SQLCipher binaries for easier installation. Current version: 0.5.7.
pip install sqlcipher3-binaryNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create an encrypted SQLite database, set the encryption key with PRAGMA key, and execute a query.
pip install sqlcipher3-binary
Use 'with sqlite.connect('db') as conn:' or ensure conn.close() is called.Always run 'PRAGMA key = ...' as the first operation on the connection.
Check the SQLCipher version and use consistent settings if sharing databases with other applications.
Ensure you have installed 'sqlcipher3-binary' and use 'from sqlcipher3 import dbapi2'.
Immediately after conn = sqlite.connect(...), execute conn.execute("PRAGMA key = 'your_key'").Upgrade cffi: pip install --upgrade cffi. If using a custom build, ensure the SQLCipher library is installed.