Skip to main content

PraBorrow Python Bindings

PraBorrow is a formal distributed ownership system based on Rust's borrow checker rules, designed for high-reliability distributed consensus.

This package (praborrow) provides Python bindings for the core Sovereign<T> primitives, allowing you to leverage PraBorrow's safety guarantees in your Python applications.

Installation

pip install praborrow

Usage

from praborrow import SovereignString

# Create a domestic sovereign resource
sov = SovereignString.new("Hello World")

print(f"Domestic? {sov.is_domestic()}")  # True
print(f"Value: {sov.get_value()}")       # "Hello World"

# Annex the resource (take strict ownership/lock)
sov.annex()
# Now it might be exiled/moved depending on rules (simplified example)

Features

  • Formal Verification: Core logic verified with Z3 Prover.
  • Thread Safety: Rust-backed concurrency guarantees.
  • Type Safety: Strong typing for ownership states.

License

MIT

Metadata

Release files for praborrow 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for praborrow 1.2.3
File Size Uploaded
praborrow-1.2.3.tar.gz 45.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for praborrow 1.2.3
File Interpreter ABI Platform
praborrow-1.2.3-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details

Total release size: 105.4 kB

Release files / praborrow-1.2.3.tar.gz

Download URL praborrow-1.2.3.tar.gz
Size 45.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6794faab1729e326ff1b54d614526490945d7a0330c87e537bb051a4d65eaa6c
BLAKE2b-256 checksum
How to use checksums
3a903517865ce631477e9abdd4c86c94e23cfd6bc75197f6bc7091a21c1909ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.11.5

Release files / praborrow-1.2.3-py3-none-win_amd64.whl

Download URL praborrow-1.2.3-py3-none-win_amd64.whl
Size 59.8 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
406cc7fd055de38a739a38410af55cadbb481cfc2b1e680036b0f0e2850ebb2b
BLAKE2b-256 checksum
How to use checksums
9f42e97f82053e8413783547b417c5ba9239b8aa2edde43d98f27a2467b5732b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.11.5

Release history Release notifications | RSS feed

This release

1.2.3 This release

2 release files

1.2.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page