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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11777f2ff987076061c6737c77469cd07dbd016dd1dbda8225b3a71a6c3b7ac6
|
|
| MD5 |
05a86657387041dc93ef808829b61d46
|
|
| BLAKE2b-256 |
aa7bd88c96618b05d0d14048132671912f65c20d8886f46feaec103175b71ebc
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dqlite_wire-0.1.0.tar.gz -
Subject digest:
11777f2ff987076061c6737c77469cd07dbd016dd1dbda8225b3a71a6c3b7ac6 - Sigstore transparency entry: 868836151
- Sigstore integration time:
-
Permalink:
letsdiscodev/python-dqlite-wire@3d4500bfbaa480698e6660f49db1f683c7ad3464 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/letsdiscodev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@3d4500bfbaa480698e6660f49db1f683c7ad3464 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97baebaf8001478bbe9eee96c8d13ddfc46d14612fb62d7f2348c6ee47293f13
|
|
| MD5 |
3ba6d245563ca563464bbb3542b9a031
|
|
| BLAKE2b-256 |
1e0fb49dfe580b8d095d18585f219dd083005441cbec06c4093d7a43976bb25e
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dqlite_wire-0.1.0-py3-none-any.whl -
Subject digest:
97baebaf8001478bbe9eee96c8d13ddfc46d14612fb62d7f2348c6ee47293f13 - Sigstore transparency entry: 868836158
- Sigstore integration time:
-
Permalink:
letsdiscodev/python-dqlite-wire@3d4500bfbaa480698e6660f49db1f683c7ad3464 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/letsdiscodev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@3d4500bfbaa480698e6660f49db1f683c7ad3464 -
Trigger Event:
push
-
Statement type: