rqlite for pyDAL
From the rqlite docs:
rqlite is an easy-to-use, lightweight, distributed relational database, which uses SQLite as its storage engine.
See their GitHub page for more info about deploying and managing an rqlite cluster, interacting with the cli or the HTTP API directly.
Example usage:
from pydal import DAL
# required to register rqlite://
import pydal_rqlite
db = DAL("rqlite://localhost", folder="database")
# or with basic auth/custom port/https:
# db = DAL("rqlite://user:pass@localhost:4001", folder="database", driver_args={'https': True})
db should now support the same features the sqlite3 driver
for pyDAL does.
Limitations
As specified in the docs of pyrqlite (which is the driver behind
this
adapter):
Transactions are not supported
This is due to the fact rqlite does not really support transactions.
db.commit() and db.rollback() will not raise an exception, but do nothing instead (pass).
Metadata
Release files for pydal-rqlite 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pydal_rqlite-0.1.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydal_rqlite-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / pydal_rqlite-0.1.0.tar.gz
| Download URL | pydal_rqlite-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e5bbd8cdc88da15bc9fa03f101e6a37fa600325317e77a8f1509c39db594ceb
|
|
BLAKE2b-256 checksum How to use checksums |
42b2cf8f53df4130805360d1c65190d22c53cc0bec14370d07e8f997e7749375
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.2
|
Release files / pydal_rqlite-0.1.0-py3-none-any.whl
| Download URL | pydal_rqlite-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d367919aac173168e6606c747455d7898b3cf54b7be68f8f67fbb44977a19b8
|
|
BLAKE2b-256 checksum How to use checksums |
b7dde608ff4c089ed0bb308fc922c69b55933b05799df2df426690b4610fbd8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.2
|