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.0rc2-py3-none-win_arm64.whl (16.1 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ x86-64

sqlitedeploy-0.1.0rc2-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.0rc2-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for sqlitedeploy-0.1.0rc2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 a8844731b115644bd93398acb630ba4636b4c81b9c9c2c17a1284f3c62bade59
MD5 c5a1f7445a2bd751c80abe7d87a2b4b6
BLAKE2b-256 011b59df29a2c1b8825c8893291f5226725b76df92ff2a3fbff90fdb66eb5f04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqlitedeploy-0.1.0rc2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f70391f2913532820dff759e6c7a7482bafbe42d020792ca95b6fccad0b919cc
MD5 8801cffd5ecacc1cacff9ff0629bf2ac
BLAKE2b-256 8f899b06a9d56c4953e4a52d37cf89b1a53b0698ff3b9dbca4188836bde65573

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqlitedeploy-0.1.0rc2-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e0ab2c31f9d8e5e67310c18288f11188158987ac5c423ab52aef1c578edad3b4
MD5 1991db7631883c946ea45d77384130f3
BLAKE2b-256 4482e06377e087ee47821f5f8681e7b2646015bcfb78fa047ae6df4e626a297f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqlitedeploy-0.1.0rc2-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d05dc2afcd143cb09f484d97e5ca0a86994122d61ebb650c7b96302ffb6958a9
MD5 10ed698c35ec6bba6e89cb478837c711
BLAKE2b-256 175162c6ef8ca4abc11e61e14228e405cc14f7febda61ab66885d330212ad062

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqlitedeploy-0.1.0rc2-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 9c6f014d718b60738ea07e8e9afd16f9e07207015f34c954f7acf7dfb071a783
MD5 d9a19fd25d8167649011635b2385c477
BLAKE2b-256 69931e48a720f61fd2ae1f20e527b73184b218a18aa2b3bd31abfe44d388a2c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqlitedeploy-0.1.0rc2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ff1e32bd191793368de2c872f1e8a35b633c73ac2d6fd575f9f80ef5a42bcebd
MD5 4627b0a26cab362671c3f99900a196a4
BLAKE2b-256 4fa89f3aa3af423d8dffd6c5e3e70e1455c3670adabeea03e3f93b27f13028dc

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