Metadata-Version: 2.4
Name: dagyan-die
Version: 1.0.8
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
Project-URL: GitHub Repository, https://github.com/dagyan-intelligence/dagyan-die
Requires-Python: >=3.8
Description-Content-Type: text/markdown

<div align="center">
  <!-- Replace with the raw GitHub URL to your DAGYAN Brutalist SVG Logo -->
  <img src="https://raw.githubusercontent.com/dagyan-intelligence/dagyan-die/main/assets/dagyan_logo.svg" alt="DAGYAN Logo" width="300"/>

  # Dagyan Insolvenz Engine (DIE)
  **Real-Time Corporate Default Intelligence for the German Banking Sector.**
  
  [![PyPI version](https://badge.fury.io/py/dagyan-die.svg)](https://badge.fury.io/py/dagyan-die)
  [![Python Versions](https://img.shields.io/pypi/pyversions/dagyan-die.svg)](https://pypi.org/project/dagyan-die/)
  [![License: Proprietary](https://img.shields.io/badge/License-Enterprise-blue.svg)](#enterprise-licensing)
  [![Status](https://img.shields.io/badge/Status-Production_Ready-success.svg)](#)
</div>

---

## 🏛 The Institutional Mandate
**Zero Latency. Zero Ambiguity.** 

In corporate finance and supply chain logistics, a 14-day delay in recognizing a client's insolvency can result in millions of euros in unrecoverable Non-Performing Loans (NPLs). Legacy credit bureaus rely on multi-day batch processing, creating a dangerous 48-to-72-hour blind spot between a court filing and a portfolio alert. 

Dagyan engineers autonomous telemetry systems that extract, vectorize, and deploy critical economic reality before it hits the public consensus. We do not guess market movements. We compute them.

## ⚡ The Competitive Moat
The Dagyan Python SDK provides enterprise developers and quantitative analysts with sub-second access to our edge-deployed NLP pipeline. 

* **Microsecond Telemetry:** Parses unstructured German insolvency notices (*Insolvenzbekanntmachungen*) and delivers structured JSON payloads in under 3 milliseconds.
* **Deterministic Risk Taxonomy:** Algorithmic categorization into four strict legal phases: `MODERATE`, `HIGH`, `CRITICAL`, and `TERMINAL`.
* **The Dagyan Ledger:** Backed by a continuously updated, proprietary archive of over 395,000+ historical German insolvency records.
* **100% DSGVO (GDPR) Compliant:** Edge-deployed and serverless. We apply a strict "Isolated Scope" security model and never pass sensitive financial data to public AI models.

---

## ⚙️ Deployment

```bash
pip install --upgrade dagyan-die
```

## 🚀 Enterprise Quickstart

The SDK is designed for zero-friction integration into existing banking infrastructures, ERPs (SAP, Ariba), or custom corporate risk monitoring systems.

```python
from dagyan_die import DagyanClient, AuthenticationError

# 1. Initialize the Secure Pipeline
# Use the public demo key or your provisioned enterprise token
client = DagyanClient(api_key="dag_demo_key_2026")

try:
    # 2. Extract Sub-Second National Telemetry
    counts = client.get_entity_counts(scope="NATION", sector="CORPORATE")
    print(f"Active Corporate Risk Entities: {counts}")

    # 3. Pull Deterministic Risk Distribution for a Target Date
    risk_matrix = client.get_risk_summary(date="2026-08-07", scope="NATION")
    print(f"Risk Index Telemetry: {risk_matrix}")

    # 4. On-Demand Forensic Isolation & NLP Extraction
    ledger = client.get_ledger_summary(date="2026-08-07", scope="STATE", target="Bayern")
    if ledger:
        target_hash = ledger[0]["primary_notice_hash"]
        dossier = client.get_notice_summary(target_hash)
        print(f"Automated AI Risk Classification: {dossier.get('risk_reason')}")

except AuthenticationError as e:
    print(f"Connection Rejected: {e}")
```

---

## 🔐 Enterprise API Keys & Licensing

Dagyan handles sensitive, legal-grade corporate restructuring telemetry data. To preserve data integrity and comply with international financial monitoring standards, production API access requires institutional entity verification.

To upgrade from the sandbox environment to a live integration pipeline, or to request a 15-minute technical benchmark against your current data providers:

* **Platform Portal:** [www.dagyan.com](https://www.dagyan.com)
* **Corporate Inquiries:** operations@dagyan.com
* **Headquarters:** Hannover, Lower Saxony, Germany

*Note: Dagyan calculates algorithmic risk classifications for assistive evaluation purposes only. Final credit risks, logistics actions, or financial write-offs remain 100% the operational liability of the subscriber.*
