Skip to main content

Pure Python wire protocol implementation for dqlite

Project description

dqlite-wire

Pure Python wire protocol implementation for dqlite, Canonical's distributed SQLite.

Installation

pip install dqlite-wire

Usage

from dqlitewire import MessageEncoder, MessageDecoder
from dqlitewire.messages import LeaderRequest, ClientRequest

# Encode a message
encoder = MessageEncoder()
data = encoder.encode(LeaderRequest())

# Decode a message
decoder = MessageDecoder()
decoder.feed(data)
message = decoder.decode()

Protocol Reference

Based on the dqlite wire protocol specification.

Development

See DEVELOPMENT.md for setup and contribution guidelines.

License

MIT

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

dqlite_wire-0.1.0.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

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

dqlite_wire-0.1.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file dqlite_wire-0.1.0.tar.gz.

File metadata

  • Download URL: dqlite_wire-0.1.0.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dqlite_wire-0.1.0.tar.gz
Algorithm Hash digest
SHA256 11777f2ff987076061c6737c77469cd07dbd016dd1dbda8225b3a71a6c3b7ac6
MD5 05a86657387041dc93ef808829b61d46
BLAKE2b-256 aa7bd88c96618b05d0d14048132671912f65c20d8886f46feaec103175b71ebc

See more details on using hashes here.

Provenance

The following attestation bundles were made for dqlite_wire-0.1.0.tar.gz:

Publisher: publish-to-pypi.yml on letsdiscodev/python-dqlite-wire

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dqlite_wire-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dqlite_wire-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dqlite_wire-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97baebaf8001478bbe9eee96c8d13ddfc46d14612fb62d7f2348c6ee47293f13
MD5 3ba6d245563ca563464bbb3542b9a031
BLAKE2b-256 1e0fb49dfe580b8d095d18585f219dd083005441cbec06c4093d7a43976bb25e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dqlite_wire-0.1.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on letsdiscodev/python-dqlite-wire

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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