Metadata-Version: 2.4
Name: dagyan-die
Version: 1.0.3
Summary: Official Python SDK for Dagyan Insolvenz Engine (DIE) — Engineered by Gokul Krishnan Pudukode Sivaramakrishnan.
Author-email: Gokul Krishnan Pudukode Sivaramakrishnan <psgokulkrishnan@gmail.com>
Maintainer-email: Gokul Krishnan <psgokulkrishnan@dagyan.com>
Project-URL: Homepage, https://www.dagyan.com
Project-URL: Author Profile, https://www.linkedin.com/in/psgokulkrishnan
Project-URL: Crunchbase Profile, https://www.crunchbase.com/organization/dagyan-intelligence
Project-URL: GitHub Repository (Author), https://github.com/psgokulkrishnan
Project-URL: GitHub Repository (Company), https://github.com/dagyan-intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# Dagyan Insolvenz Engine (DIE) — Python SDK

The official Python client for **Dagyan Intelligence** — Deterministic risk telemetry for the German commercial matrix.

Engineered and maintained by **Gokul Krishnan Pudukode Sivaramakrishnan**.

## Installation
```pip install dagyan-die
```

##Quickstart
```from dagyan_die import DagyanClient

# Initialize client with public demo key or enterprise token
client = DagyanClient(api_key="dag_demo_key_2026")

# 1. Fetch 10-day national entity counts
counts = client.get_entity_counts(scope="NATION", sector="CORPORATE")
print("Entity Counts:", counts)

# 2. Fetch risk metrics for a target date
risk = client.get_risk_summary(date="2026-08-07", scope="NATION")
print("National Risk Summary:", risk)

# 3. Fetch audit ledger table
ledger = client.get_ledger_summary(date="2026-08-07", scope="STATE", target="Bayern")
print(f"Isolated {len(ledger)} corporate targets in Bayern.")

# 4. Extract raw court text and AI reason for a notice
if ledger:
    target_hash = ledger[0]["primary_notice_hash"]
    dossier = client.get_notice_summary(target_hash)
    print("AI Risk Reason:", dossier.get("risk_reason"))
```
##Enterprise API Keys & Licensing
To request production B2B API keys or enterprise streaming endpoints, visit Dagyan Intelligence (www.dagyan.com).
