Skip to main content

FloodLock SDK (floodlock-sdk)

PyPI version License: MIT

Official Python SDK for MeteoFlood and FloodLock: Autonomous Planetary Compound Flood Forecasting, 70B Parameter Hydrological Ensemble & Edge-Surrogate Defense.

Developed and maintained by Lantern Mechatronics (Daksh Dahore).


⚡ Features

  • 12ms Edge Latency: Direct connectivity to global Cloudflare Edge Points of Presence with automated 3-tier mirror failover (mirror-alpha, mirror-beta, mirror-gamma).
  • 70B Parameter Neural Ensemble: Spatial-temporal flood risk scoring with 94.2% empirical accuracy.
  • Deterministic Physical Safety Floor: Manning-Strickler shallow water equations prevent AI false negatives.
  • Zero Configuration: Works out of the box with zero setup required for public perimeter monitoring.

📦 Installation

pip install floodlock-sdk

🚀 Quick Start

1. Perimeter Radius Check (Zero Setup)

from floodlock_sdk import FloodLockClient

client = FloodLockClient()
result = client.check_radius(lat=19.076, lon=72.877, radius_km=150)

print(f"Danger Level: {result.danger_level}")
print(f"In Danger Zone: {result.in_danger_zone}")
print(f"Alert: {result.alert_title}")
print(f"Details: {result.alert_message}")

2. High-Precision Forecast with API Key

from floodlock_sdk import MeteoFloodClient

# Initialize with production API key
client = MeteoFloodClient(api_key="flk_live_your_key_here")

forecast = client.get_forecast(lat=19.076, lon=72.877)
print(f"Risk Score: {forecast.risk_score}/100")
print(f"Threat Level: {forecast.threat_level}")
print(f"Physical Floor Triggered: {forecast.safety_floor_triggered}")

🛡️ License

MIT License. © 2026 Lantern Mechatronics / Daksh Dahore.

Metadata

Release files for floodlock-sdk 0.1.1

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

Source distribution (sdist)

Source distribution for floodlock-sdk 0.1.1
File Size Uploaded Provenance Actions
floodlock_sdk-0.1.1.tar.gz 4.8 kB Without provenance Details for floodlock_sdk-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for floodlock-sdk 0.1.1
File Interpreter ABI Platform Actions
floodlock_sdk-0.1.1-py3-none-any.whl Python 3 none any Details for floodlock_sdk-0.1.1-py3-none-any.whl

Total release size: 10.5 kB

Release files / floodlock_sdk-0.1.1.tar.gz

Download URL floodlock_sdk-0.1.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ebf113691f9526df523e169e379557c476bc887d2e63a41cef5b7075d71bd2bc
BLAKE2b-256 checksum
How to use checksums
84d3e2af9c440b15bd694bfd7e5116c4c57d25477087bcf49d4b788005a679e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / floodlock_sdk-0.1.1-py3-none-any.whl

Download URL floodlock_sdk-0.1.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7babfc19fea4179332df0cd1e2b755658e513a871c093f6a29a774404eb222a4
BLAKE2b-256 checksum
How to use checksums
761c842cb9c66008b31a26ea960fdf2a35d9ed6b6200f025ec5cd9d77befccc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for floodlock-sdk 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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