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.0

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.0
File Size Uploaded Provenance Actions
floodlock_sdk-0.1.0.tar.gz 4.7 kB Without provenance Details for floodlock_sdk-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 10.3 kB

Release files / floodlock_sdk-0.1.0.tar.gz

Download URL floodlock_sdk-0.1.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c3ab266e2e6697bcbaa557af80492f90cf108ca23b431efabc3143886d23a50a
BLAKE2b-256 checksum
How to use checksums
4927f81119deb21c618f6b04b9166bd44d26957d55e574bac4c3421a7bcaffc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

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

Download URL floodlock_sdk-0.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b1ef75bebf8fe6e00bc5be3ae509f755c873ded8a20bfe82b9a4d692e4d9f35
BLAKE2b-256 checksum
How to use checksums
1607328ad8a0fdff195af650332e57b8632ea46c58e895684f005cd9b7c7d92e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for floodlock-sdk 0.1.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 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