Python bindings for PraBorrow: A formal distributed ownership system.
Project description
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
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 praborrow-1.2.3.tar.gz.
File metadata
- Download URL: praborrow-1.2.3.tar.gz
- Upload date:
- Size: 45.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6794faab1729e326ff1b54d614526490945d7a0330c87e537bb051a4d65eaa6c
|
|
| MD5 |
46cc78982d98322973b804c62e9fbc8e
|
|
| BLAKE2b-256 |
3a903517865ce631477e9abdd4c86c94e23cfd6bc75197f6bc7091a21c1909ec
|
File details
Details for the file praborrow-1.2.3-py3-none-win_amd64.whl.
File metadata
- Download URL: praborrow-1.2.3-py3-none-win_amd64.whl
- Upload date:
- Size: 59.8 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
406cc7fd055de38a739a38410af55cadbb481cfc2b1e680036b0f0e2850ebb2b
|
|
| MD5 |
3a6d5443551a37c18e78d3ead6c50b5f
|
|
| BLAKE2b-256 |
9f42e97f82053e8413783547b417c5ba9239b8aa2edde43d98f27a2467b5732b
|