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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

sqlitedeploy-0.2.0-py3-none-manylinux2014_x86_64.whl (17.7 MB view details)

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ x86-64

sqlitedeploy-0.2.0-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.2.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: sqlitedeploy-0.2.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 16.1 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for sqlitedeploy-0.2.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 6648fba34523d9997f48c028fd2544032caa6e3adedacf31d88a8fcffb01abb4
MD5 08e628b59e44d9dc6f4bf4b5d1c0ba8f
BLAKE2b-256 f81e675d5ee0476b264196f11ffb106f6d0ce29a7248773f467dcd43ee1dc3a0

See more details on using hashes here.

File details

Details for the file sqlitedeploy-0.2.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlitedeploy-0.2.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 18.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for sqlitedeploy-0.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 05ac7c7bad2a39f4d76a7bbd3e94ca9b37eeb21581d3423e055ba91be8b9c1d4
MD5 7d0a20aa3209e0758872101ac7b65789
BLAKE2b-256 420a6a9ac0ea2bb0814200c8aed9045e6d9ce1bcde06cb769604ab8f562c4dfb

See more details on using hashes here.

File details

Details for the file sqlitedeploy-0.2.0-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sqlitedeploy-0.2.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5b850594d51d4b990074fef7a818af58a2ab5d9e4da9323a3aea2ba02ee4f85a
MD5 4feeb58ce675e4b811bb7818a1b09f8d
BLAKE2b-256 5dee7d0ea854ff5aa981a9444f3b41dddca6dd4d517c785734b4b4c6d92ec6eb

See more details on using hashes here.

File details

Details for the file sqlitedeploy-0.2.0-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sqlitedeploy-0.2.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6a839a256e01c461e1a44906d51297ee9e162a381f3ebeaf9cbb5bf7e7c30ef9
MD5 1a3ebcd4947a67a9cd62850231bc98ae
BLAKE2b-256 2433de5e92c910935513599b9ca03d0929b1176398fcc874802b8c16fc6a019f

See more details on using hashes here.

File details

Details for the file sqlitedeploy-0.2.0-py3-none-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for sqlitedeploy-0.2.0-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 5545e252cd0dd55e0c4515e5067650d3d0ed699b93da7d1c3d3f31d39b54d593
MD5 c80a60e735bb1a21c5341e3883fb63c7
BLAKE2b-256 3d8256bc2a95dab50682e07c61c8b4edd44de32142692d43eb85a9993bcd1c69

See more details on using hashes here.

File details

Details for the file sqlitedeploy-0.2.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sqlitedeploy-0.2.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 36db3a15903cba96ef643be70371b30778334f6c86431c54b353030a35358538
MD5 9b11f5bd85b2428918417647c8940c45
BLAKE2b-256 8a605a8964eccc672d6a60248c540f30faea282205835d09b2b93920f2b2aa3a

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