Package: wnpp
Severity: wishlist
Owner: Václav Vinklát <[email protected]>
X-Debbugs-Cc: [email protected], [email protected]

* Package name    : python-txstore
  Version         : 0.1.4
  Upstream Author : Václav Vinklát <[email protected]>
* URL             : https://github.com/vinklat/txstore
* License         : MIT
  Programming Lang: Python
  Description     : unified object storage over multiple backends, with 
transactions

txstore gives Python code one Storage interface over a local filesystem,
S3-compatible buckets and HTTP servers, selected by URL. Reads, writes,
listings and streamed transfers behave the same on every backend.
On the filesystem and S3 it can group writes into a transaction that is
committed, discarded or reverted as one unit, keeps a transaction history
with retention, and takes a cross-process writer lock (flock on the
filesystem, conditional writes on S3). Transfers return MD5, SHA-1,
SHA-256 and SHA-512 digests in one pass.

txstore is the storage layer of debkit (https://github.com/vinklat/debkit),
a command-line tool that builds, mirrors and verifies Debian package
repositories on a local filesystem, S3-compatible storage or HTTP(S).
A repository update rewrites many files at once (packages, Packages
indices, Release and InRelease) that must change together; txstore lets
debkit stage them as one transaction, commit or discard it, and revert
the latest change from its history. Packaging txstore is a prerequisite
for packaging debkit.

Debian already ships storage abstractions such as python3-fsspec with
python3-s3fs, and python3-boto3 for S3 alone. They give file-like
access to objects but no transactions: txstore adds multi-object
commits, discard and revert, a transaction history with retention,
and a cross-process writer lock, with the same behaviour on the
filesystem and on S3.

I am the upstream author and intend to maintain this package within the
Debian Python Team; the packaging will live at
https://salsa.debian.org/python-team/packages/python-txstore.

Reply via email to