Fleetmesh Core
Core protocol primitives, typed contracts, Negentropy reconciliation, and signed budget accounting for Fleetmesh (fleetmesh.org).
Domain Subpackages
fleetmesh_core is standard-library-only Python (zero external dependencies, no I/O, no wall clock) organized into eight domain subpackages:
fleetmesh_core.crypto:crypto.py,keys.py,curve.py,bech32.py: BIP-340 Schnorr, X25519 ECDH, Ed25519, Multikey (z6Mk...), HKDF-SHA256, ChaCha20-Poly1305.nip44.py,giftwrap.py: NIP-44 v2 padded encryption and NIP-59 gift-wrapping (kinds 1059 / 21059).zk.py: BN254 pairing and Groth16 verification forcompute:zk-verify-groth16/1.0(vectors/groth16.json).http_signatures.py: RFC 9421 HTTP Message Signatures and Digest headers for ActivityPub federation.ssb.py: Secure Scuttlebutt Secret Handshake (SHS), Box Stream framing, and V1 feed verification.
fleetmesh_core.identity:identity.py,did.py,origin.py,relaylist.py: Descriptor validation, PoW, blinded tags,did:nostr,did:key,did:peer:2, and NIP-65 relay lists.atproto.py: ATProtodid:plcgenesis operation signing,did:webresolution, and K-256 ECDSA verification.didcomm.py: DIDComm v2 ECDH-1PU / ECDH-ES envelope packing.cid.py,iroh_ticket.py: CIDv1 (bafkrei...) content addressing and IrohNodeTicketserialization.
fleetmesh_core.peering:peering.py,coverage.py,projection.py: Bilateralpeering/1.0state machine, Kind 30803 coverage claims and handovers, and NIP-85 Kind 30385 projections.complaint.py,reports.py,release.py,badpeer.py:complaint/1.0notices, Kind 30802 admissibility, Kind 9900/9901 signed releases, and synthetic adversarial peer.
fleetmesh_core.accounting:accounting.py,window.py,capacity.py,strain.py,standing.py: Monotonic receipt chains, AIMD window evaluation, capacity shedding, directional strain, andstanding/1.0.cashu.py,paidfetch.py,market.py: Cashu BDHKE (NUT-00..24), HTTP 402 PaidFetch quotes, and compute market commitments.
fleetmesh_core.storage:store.py,store_postgres.py: SQLite and PostgreSQL event store and range indexing.negentropy.py,sync.py,replication.py: NIP-77 V1 range-based set reconciliation, delivery envelopes, and blob replication.blossom_auth.py,linked_data.py: Blossom BUD-01/04 authorization and JSON-LD / Schema.org projections.car.py,mst.py: Content Addressable aRchives (CAR v1) and ATProto Merkle Search Trees (MST).
fleetmesh_core.services:compute.py,dvm.py,gossip.py,mediation.py,nsite.py,nwc.py,settlement.py,sidecar.py,ucan.py.
fleetmesh_core.wire:interfaces.py,wire_types.py,validate.py,schema_files.py: Typed contracts, strict wire parsers, and cached schema loaders.cbor.py,p2panda.py: Canonical DAG-CBOR (with Tag 42 CID links) and p2panda Ed25519 + CBOR append-only operation logs.
fleetmesh_core.conformance:runner.py: Clean-room JSON-lines conformance harness responder (python3 -m fleetmesh_core.conformance).
Installation
pip install -e .
Running Tests
PYTHONPATH=. python3 tests/test_discovery.py
PYTHONPATH=. python3 tests/test_negentropy.py
PYTHONPATH=. python3 tests/test_strain.py
Licence
Metadata
Release files for fleetmesh-core 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| fleetmesh_core-0.2.0.tar.gz | 320.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fleetmesh_core-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 583.4 kB
Release files / fleetmesh_core-0.2.0.tar.gz
| Download URL | fleetmesh_core-0.2.0.tar.gz |
|---|---|
| Size | 320.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
563ea85bb1c930727f6a263f3f8dd14e91a2bc934e37cbc6a8b7a1d382acecf5
|
|
BLAKE2b-256 checksum How to use checksums |
748222a90d5c103b0b18a79c53c32c9e493c03cd42ea102b998affd608e7a36e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / fleetmesh_core-0.2.0-py3-none-any.whl
| Download URL | fleetmesh_core-0.2.0-py3-none-any.whl |
|---|---|
| Size | 262.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1cf170d0f3abbbb7a5ff966ed8a2462deeb4dea816bbff91af115d06036c4c5
|
|
BLAKE2b-256 checksum How to use checksums |
0251b999040a6fc557ed26120698400e8bed44f7df29064168a3ae72818cc8ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for fleetmesh-core 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.