New level of functionality and performance in data access via Python
Project description
Python Connector for SQLite
Python Connector for SQLite is a connectivity solution for accessing SQLite databases from Python applications. It fully implements the Python DB API 2.0 specification. The connector is distributed as a wheel package for Windows, macOS, and Linux.
Direct connection
The connector supports two SQLite library linking modes: static linking and dynamic linking. Static linking enables a direct connection to SQLite, so you don't have to deploy the SQLite libraries on user workstations. You can use the built-in encryption capabilities in the Direct mode to protect your data from unauthorized access?the statically linked library provides SQLite database encryption without requiring you to purchase an encryption extension.
Using the connector
To retrieve data from a database:
Import the module.
import devart.sqlite
Connect to a database using the connect()
module method and obtain a connection
object:
If you're using the Direct mode:
my_connection = devart.sqlite.connect(
Direct=True,
Database="your_database"
)
If you're using a dynamically linked SQLite client library:
my_connection = devart.sqlite.connect(
Direct=False,
Database="your_database",
ClientLibrary="your_sqlite_lib"
)
Create a cursor
object using the cursor()
connection method.
my_cursor = my_connection.cursor()
Execute the SQL statement using the execute()
cursor method.
my_cursor.execute("SELECT * FROM employees")
Retrieve the result set using one of the fetch*()
cursor methods.
for row in my_cursor.fetchall():
print(row)
Ordering and activating the license
You can purchase a license for the connector on the ordering page:
https://www.devart.com/python/sqlite/ordering.html
To activate the license, follow the instructions in the documentation:
https://docs.devart.com/python/sqlite/activate-a-license.htm
What's new
Python Connector for SQLite 1.1
- Added connection pooling
- Added activation with a license key
- Added the subscription license type
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for devart_sqlite_connector-1.1.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4bdf327d31b273b57bdc9609c6267657f700d17405e591251c32888f1ecd6c7 |
|
MD5 | 1b60281a72be297d08512a1405e6cbac |
|
BLAKE2b-256 | f35f525694e915ab53082f5279843cb2d163c52bf9c2619c02d496f1f583390c |
Hashes for devart_sqlite_connector-1.1.0-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f06de8e85694f3e47f20c403e26f8a181a84d78690f38ef1c5a4bddbea3a205 |
|
MD5 | 207e516377d9934c76087447c6bab5cb |
|
BLAKE2b-256 | 94630f78d0f055183f09d2e3c896f47bc21211d3d0370515621219cd28319bd8 |
Hashes for devart_sqlite_connector-1.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 005c391096bd518e99fe3d94b278dc253667d2dd0b2e84c810faf9cd38b94ebf |
|
MD5 | f00e5c8904895073d2db46fec5c16842 |
|
BLAKE2b-256 | e7eb8b4bddab9f75fa3bb6312b1778c8f67625ff38621764204d06aa9fe886ae |
Hashes for devart_sqlite_connector-1.1.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f5f13e98fad0411d7522b515fc8455f89975cc3ddd81597581d16271fdc9bd8 |
|
MD5 | f7e9deca957f6b273da9bec1307c3364 |
|
BLAKE2b-256 | 1959d96fcf97fda6f3b4a4e4522545e218d01639b5632af22ff2e8b2fec4eea6 |
Hashes for devart_sqlite_connector-1.1.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2dd2893248a572644c81e93d2835762a8689d8ec0f678cc5867a1edc99b4413 |
|
MD5 | 12da6fd6dd32ffa2b460021a949e9108 |
|
BLAKE2b-256 | d1dc383a70dd4684a27204bcb60f61724ea676216ff8528fad6fba174a58b1a4 |
Hashes for devart_sqlite_connector-1.1.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f857a0b2e804dfd6c7321eaae1fb17fc688b838ec8d90f29382ec5b9cc0ae1a7 |
|
MD5 | 845a18f0a90595523076d0d86088b205 |
|
BLAKE2b-256 | 958b6cbb82543247b4cbf2dd5012fbbfc50c23e8abdeeaaae4fa78576a281bef |
Hashes for devart_sqlite_connector-1.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9415e999622dc2a13614609ee456651d9a6dc7c9abcff7186371bcc8b0de22d |
|
MD5 | 95cf9b3718fdf03f456e6b2730e860e4 |
|
BLAKE2b-256 | c7964da8c4d1fefdd09daabf3f446fed3d28dbc78e643cef70c420c7d710436e |
Hashes for devart_sqlite_connector-1.1.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f695ccccce08ca469f292bbec215a83ce00c1e917b14789c27d4af331e07a3dd |
|
MD5 | 202c209557ee709f79a316ee672fecf4 |
|
BLAKE2b-256 | 14732a757d2c7ec0a92a7c170e84305f9393c83d6391c1236449296e6536d2d9 |
Hashes for devart_sqlite_connector-1.1.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e170758595b7c8f20d933dcc61b2efd7277d8d944fe05c0c1689b5a70acc15d |
|
MD5 | c55820f8490f8a9aaf10fe6f8e60f180 |
|
BLAKE2b-256 | c0195a0487affe8523f458afe0b9c6546a680a0ae6d43e082f1defd8acb6fea0 |
Hashes for devart_sqlite_connector-1.1.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f33a4ecce49ba648fbf8ead372f3a3dd4cc7abed3cd4b10f384b53692e8ce27d |
|
MD5 | 9814a74016f28a9da9d29c6ec17898b1 |
|
BLAKE2b-256 | 97a5d7375cd3a0964ee379e6ca3f0395fa7660fb461b002cbb7a2e3c0fe2c16c |
Hashes for devart_sqlite_connector-1.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c19b441f1d936d575c84b329f80d2bbabc0dd14935d98900ce4517df5af638b2 |
|
MD5 | c4bbff0690334387b6a4d73d76e1900a |
|
BLAKE2b-256 | 2f31861c5de77945c8a52030aea7f1bf004745c55ce602fa95b39f1e07a70fa9 |
Hashes for devart_sqlite_connector-1.1.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81ae3c68fbbc75a9d12537921f27eabe4aee12b4899f324286ece45de4bcb3aa |
|
MD5 | e91d83331ba610cd04b2267e5b89f5f9 |
|
BLAKE2b-256 | 088e127208d2303548571e8f8a9c7bf3c9950dfccf9b5162e84d645c5edd0a3a |
Hashes for devart_sqlite_connector-1.1.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eeb0ce7b878ba4355868c8e019e6b55262642cadb5b9de6a8e42d4152f3ed7e |
|
MD5 | f90f7694cc3699e6e89c4ba2da273e92 |
|
BLAKE2b-256 | 13cf86dafd2b3ae8e582af3dc1d84881cfa9ad4ab36cfd8106ac5ef0c3b8aede |
Hashes for devart_sqlite_connector-1.1.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b09e25878cb0134df2cc8ff9b8226adc522daa39ffe19abb574b637bc0fc9b56 |
|
MD5 | a7bcda27dad4d76b1c28063c7ce2bd40 |
|
BLAKE2b-256 | cf3f93adb69e5cac9544927bcd0c14e182c252131ed1c6f8a1aa0f82d405581e |
Hashes for devart_sqlite_connector-1.1.0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1494f7d0e0a2e03dac6681738087d6f56dc416a7e38947b230e025499282574 |
|
MD5 | 989b0b13fad1fd663da1da89fd985c72 |
|
BLAKE2b-256 | b5b3446f9fead6677ef8f1d95afe5e9e4c5216ea38c2b9c030c8d1c9b58753dc |
Hashes for devart_sqlite_connector-1.1.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4426fc02c1f8ac5b7be694289a68d7b5a45328c36820e0c51deddb2a3b064b51 |
|
MD5 | ce6172094c07f57e163d19eefa3b5a27 |
|
BLAKE2b-256 | 8217b24e2ae27277b7dda3331d6651ad13ece09efc8bd20ac5d97e9b40e679cd |
Hashes for devart_sqlite_connector-1.1.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4109d67b4eda153c892d04a16958bd4d902bef70f6660b8bc709afcc7fe3c4cc |
|
MD5 | 98d5ce5a65bde91183f1b0c225211092 |
|
BLAKE2b-256 | 1509a35268f00a38a2039cc9d898d106c2c46610d9c855edcdc52bf3dabaa700 |
Hashes for devart_sqlite_connector-1.1.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 043c7b815bd49febc18e8636ac2166affb9fd69cee6a7307b8ef9de657135b1b |
|
MD5 | 1af2588644521d745732a564ea66a21a |
|
BLAKE2b-256 | 68c9b3cab68c6d27d67d2878827cbd3cc6b401e92023b7a155efe4194d454ed6 |
Hashes for devart_sqlite_connector-1.1.0-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 706527c542a46da9ecc84de9170b0bc5ec0e9e1c1df33c2156fcb2cbce3ce2f9 |
|
MD5 | d90027d24e2bd160f016dd6b48b05a3c |
|
BLAKE2b-256 | 9ad095970198f5e0e6867a7fd256a47b4b3a675298d9fb9c09955b350c19e567 |
Hashes for devart_sqlite_connector-1.1.0-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d7a6e9c82ea095e13eb69c00273ef0eff3e6ab0393a59c09b5d709d0cafdfa1 |
|
MD5 | 87061c09ef9539b38435087ce7a83c01 |
|
BLAKE2b-256 | 2ec72cf0d7a694dd6bc6b59f719571441049d91ff531f5dbece2d3383299e74a |
Hashes for devart_sqlite_connector-1.1.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db0ad19ca28caa3833a6f17ee2d9b6e0ace8b6e744299ec0fe1a4b3925e0c87d |
|
MD5 | d4df55b2fb9f99776e73ce61041ce3cc |
|
BLAKE2b-256 | 07bc145a44391b614628e705542497b946604315676ae13d78db58a4c2c73c42 |
Hashes for devart_sqlite_connector-1.1.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7030eef84446afd318aa4bc22d878d22456eb9771b5bbe5955934671e9a314ec |
|
MD5 | 3c44ec5376235710a064f6e9c28a4c71 |
|
BLAKE2b-256 | 4f1d7b4a7fab340021392a5d74b9e340110c65831ccdfb3902e2ae5198fffa74 |
Hashes for devart_sqlite_connector-1.1.0-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 315eaa8145e8db73745bb70b41be2f7ad8b4811b096db2e862a6dce5c57af0b3 |
|
MD5 | fc5962c289f44107d515ef872f9ecbd4 |
|
BLAKE2b-256 | ff7960db066a7ef90ddeff22e36b9185e88b73a004b1f376756acc6f80f62183 |
Hashes for devart_sqlite_connector-1.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0849f59cdab9fdde383d69cb01ac283dfd90df1ddd40925264786b1b0e4c7de4 |
|
MD5 | 49182485b0ac65b0ffa7fd71ae08fe2c |
|
BLAKE2b-256 | d32b275894a559fb803334f09663492e0ef4028d481d5e4f87f1ad5de1e38108 |