Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydal_limbo-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydal_limbo-0.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pydal_limbo-0.1.1.tar.gz.

File metadata

  • Download URL: pydal_limbo-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for pydal_limbo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 08f928aca9866291c6d8adfe17aab4288e3a25f44235e60d36f8d610ae5666bd
MD5 0a73da4da0abcfa9e180b92e761502e7
BLAKE2b-256 a0bd57ef3cbd773c51487bc8ab1d4a17d0063c84da0e958bf022c3b19bc2d2c7

See more details on using hashes here.

File details

Details for the file pydal_limbo-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pydal_limbo-0.1.1-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

Hashes for pydal_limbo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 082d0a67a5dd8224ced8200e3c67aabf5446f3065a1d67f227acd6309fe2cf48
MD5 c1bf5f9f298c996f7991cb1caf968f45
BLAKE2b-256 091b56a4122c20079b1e1b026cca4d5b6c399dda3aa9ff98f67fc296fcd21dbb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page