Skip to main content

Distributed SQLite with Litestream-backed object-storage replication. Installs the platform-native sqlitedeploy CLI binary.

Project description

sqlitedeploy

Distributed SQLite in one terminal command. Your master lives in your own object-storage bucket (Cloudflare R2 / Backblaze B2 / S3); your working copy lives next to your application. Any language with a SQLite driver connects to it natively.

This package installs the prebuilt platform-native binary and exposes it as the sqlitedeploy command.

Install

pip install sqlitedeploy

PyPI serves a platform-tagged wheel with the matching binary baked in — no compilation, no postinstall scripts.

Quick start

sqlitedeploy auth login    # one-time Cloudflare R2 setup
sqlitedeploy init          # creates ./data/app.db + ./.sqlitedeploy/
sqlitedeploy run           # foreground replication loop

Then connect from your app:

import sqlite3
db = sqlite3.connect("data/app.db")

You can also invoke as a module:

python -m sqlitedeploy --help

Supported platforms

linux x86_64, linux aarch64, macOS x86_64, macOS arm64, Windows x86_64, Windows arm64.

For unsupported platforms (e.g. linux-riscv64, FreeBSD) download a binary from https://github.com/Khangdang1690/sqlitedeploy/releases.

Documentation

Full CLI reference, architecture, and limitations: https://github.com/Khangdang1690/sqlitedeploy.

License

Apache-2.0.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

sqlitedeploy-0.1.0rc3-py3-none-win_arm64.whl (16.1 MB view details)

Uploaded Python 3Windows ARM64

sqlitedeploy-0.1.0rc3-py3-none-win_amd64.whl (18.0 MB view details)

Uploaded Python 3Windows x86-64

sqlitedeploy-0.1.0rc3-py3-none-macosx_11_0_x86_64.whl (18.0 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

sqlitedeploy-0.1.0rc3-py3-none-macosx_11_0_arm64.whl (17.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file sqlitedeploy-0.1.0rc3-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for sqlitedeploy-0.1.0rc3-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 7da52bf5d75a49f25cd273122517876ef914eaff40bd27cc0ae55a1185702fa2
MD5 0edac5a150536d0edbd1e185aafe2d55
BLAKE2b-256 55a31eb164465bb49915690ae4d93f623a7454d5e3631da1b93d95937bad97d8

See more details on using hashes here.

File details

Details for the file sqlitedeploy-0.1.0rc3-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for sqlitedeploy-0.1.0rc3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8c86a580a55844817a95bcf670caf03a74ab6970a21e91de46c0aab892c7ecb4
MD5 acde43a01f3996d77911e620b562bd5b
BLAKE2b-256 cf25adee16684322b7ee244072206df6c5be2b2c7ce63a8e046e1b2b18e925d6

See more details on using hashes here.

File details

Details for the file sqlitedeploy-0.1.0rc3-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sqlitedeploy-0.1.0rc3-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c352c876c3140dcfd1edf748d10fe0e83d06016c307206ceae70067b5751d6cf
MD5 c6926b39c9ff145cd6f5de50e04b2324
BLAKE2b-256 fc777445c9d5a896730c278a7f2acc2f44474199166f9a5c95341a8d8e373147

See more details on using hashes here.

File details

Details for the file sqlitedeploy-0.1.0rc3-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sqlitedeploy-0.1.0rc3-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eaf07048a9545b1b443d108dc2e6f4cbdd8f736e175df8fd6d0fb6120055aec8
MD5 163eb97d7d1dafb19e8090c5bca14c84
BLAKE2b-256 5b4b6040a952caef84585e313a3e199cfe8d8b7f95e5cf2f1289647616809451

See more details on using hashes here.

File details

Details for the file sqlitedeploy-0.1.0rc3-py3-none-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for sqlitedeploy-0.1.0rc3-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 b46584f3e9fb48bd2820654b28b6f78beb148502e53f73fa10a98a7cb6e60df8
MD5 9c7db7d6f7bf2d87ea9469af91994ebd
BLAKE2b-256 b3443d4cfd6fae68ffa37403ab2a4e49c1e73c50c6f4b1ed71c94bc19c1cda05

See more details on using hashes here.

File details

Details for the file sqlitedeploy-0.1.0rc3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sqlitedeploy-0.1.0rc3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6eddf698f1c49749b6cd26e06265269f04c41fba50eed48cd19ef7ef4677b5ed
MD5 d6af2c8ce6eb45a2764347b275aa6e1d
BLAKE2b-256 fb4736865232e99760ec4aceea99115add9ea76a4f2670b1334954cb62a2e0a8

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