Navian Pulse Python SDK
pip install navian-pulse
Quick Start
from navian_pulse import PulseConfig, NavianClient
# Load TOML config — syncs SDK with engine's event types and field definitions
config = PulseConfig.from_toml_file("config/fraud-comprehensive.toml")
# Generate typed event classes (run once, check into repo)
# navian-codegen config/fraud-comprehensive.toml --output my_events.py
from my_events import PulseEventFactory
# Connect to engine
client = NavianClient("localhost:50051", config)
# Send typed events — IDE catches missing fields, SDK validates before sending
event = PulseEventFactory.cash_deposit(entity_token="cust-001", amount=9400.0)
result = client.send(event)
print(result) # SendResult(response='ALLOW', rules=25, score=1.00)
Features
- TOML config sync — parses known_types, fields, policies, agent scopes
- Code generation — typed dataclass per event type with required payload fields
- Pre-send validation — unknown event types rejected before network call
- Field protection — HMAC-SHA-256 + AES-256-GCM + HKDF (cross-SDK conformance)
- gRPC + HTTP fallback — connects via gRPC, falls back to REST
Metadata
Release files for navian-pulse 2.3.2
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 | Actions |
|---|---|---|---|---|
| navian_pulse-2.3.2.tar.gz | 38.5 kB | Without provenance | Details for navian_pulse-2.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| navian_pulse-2.3.2-py3-none-any.whl | Python 3 | none | any | Details for navian_pulse-2.3.2-py3-none-any.whl |
Total release size: 87.0 kB
Security for navian-pulse 2.3.2
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.