Skip to main content

Distributed SQLite with sqld + bottomless replication to your own S3-compatible bucket. 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 up            # provisions storage + tunnel + starts sqld

Then connect from your app:

import sqlite3
db = sqlite3.connect(".sqlitedeploy/db.sqlite")

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.5.1-py3-none-manylinux2014_x86_64.whl (18.6 MB view details)

Uploaded Python 3

sqlitedeploy-0.5.1-py3-none-macosx_11_0_x86_64.whl (17.9 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

sqlitedeploy-0.5.1-py3-none-macosx_11_0_arm64.whl (17.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for sqlitedeploy-0.5.1-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 00fdc1bd4514bd07ffb6691edd288e8b5017cfd2cf0549428c6ccea40d50aa66
MD5 1a9b8b43d200c39be25841a466660cf2
BLAKE2b-256 d01e090756368523168f996a5bf40bddcb90d6e1b2505dbfa4cfb19aff31b457

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqlitedeploy-0.5.1-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 99b2d322247e4052e0d736f50bf6708f14b404bff602aac7e71f6d247bbf4c00
MD5 697fe24ebf34e9969e0e65236dfd3e51
BLAKE2b-256 707ae8594a483e356ac8a70f0e9684a6611d2c2467194089369b274cda337027

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqlitedeploy-0.5.1-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 5763208caa8d958dbd1c2d1700937cb23201fe38fb517c590335e79290bc4b1f
MD5 10cde48b913f0a56055c3d42c9514c0b
BLAKE2b-256 29a6df4767e256c08ee4f21d3cc186aa39dab4c2ed2093d40579354cd3bd706d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqlitedeploy-0.5.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d7dda98311cd5089ff1499ec54f5d2286289de334827753176f80d1b3f2eeeed
MD5 8c378775e1a29e45ab42d6d1cfc03076
BLAKE2b-256 2621fa638ec0b92ed2bd32cbf14e46d9566bcb019fbe3554827ee2ea620da6f8

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