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)
| File | Size | Uploaded | |
|---|---|---|---|
| praborrow-1.2.3.tar.gz | 45.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|