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.
Metadata
Release files for pydal-limbo 0.1.1
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_limbo-0.1.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydal_limbo-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / pydal_limbo-0.1.1.tar.gz
| Download URL | pydal_limbo-0.1.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08f928aca9866291c6d8adfe17aab4288e3a25f44235e60d36f8d610ae5666bd
|
|
BLAKE2b-256 checksum How to use checksums |
a0bd57ef3cbd773c51487bc8ab1d4a17d0063c84da0e958bf022c3b19bc2d2c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / pydal_limbo-0.1.1-py3-none-any.whl
| Download URL | pydal_limbo-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
082d0a67a5dd8224ced8200e3c67aabf5446f3065a1d67f227acd6309fe2cf48
|
|
BLAKE2b-256 checksum How to use checksums |
091b56a4122c20079b1e1b026cca4d5b6c399dda3aa9ff98f67fc296fcd21dbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|