Custom pyDAL adapter for limbo (SQLite rebuild)
Project description
Limbo for pyDAL
Proof of concept pydal driver and dbapi2 implementation.
Note that the limbo python bindings are very limited, thus also limiting the pydal features!
This project is not ready yet for any real-life usage!
Example usage:
from pydal import DAL
# required to register limbo://
import pydal_limbo
db = DAL("limbo://storage.sqlite", folder="database")
# table = db.define_table(...)
# table.insert(id=1, ...)
# row = table(id=1)
# db.executesql(...)
# etc.
db should in the future support the same features the sqlite3 driver
for pyDAL does.
Limitations
Transactions are not supported in the Python driver for limbo.
There also seems to be a problem where changes are written to a WAL-file instead of the actual database, even if
PRAGMA journal_mode=OFF is used instead of PRAGMA journal_mode=WAL.
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydal_limbo-0.1.0.tar.gz.
File metadata
- Download URL: pydal_limbo-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfa7687e7807a84151342b56b735d0aa7c6ea4db24f51c9f88f0fc5f61de6cb3
|
|
| MD5 |
4fa58c1bab526fa6a8aab5296c2a06c5
|
|
| BLAKE2b-256 |
9149daf4c9c04c83a628be58db4df3fbf9705ec1abda6ecf3dce2b842f39377c
|
File details
Details for the file pydal_limbo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pydal_limbo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
849cb4a1c918cf522d05a7314054b216968e2e864f8e68cd55f2bb1004f89538
|
|
| MD5 |
a4225657322b54b97230e08567b036a7
|
|
| BLAKE2b-256 |
2866c7e1386722294e09a7f840c29dcf8282b76e7b27c2865f76d9e28c8231ec
|