Skip to main content

🔍 Demon Cry Python SDK

License: MIT Python 3.12+

Python SDK для Demon Cry — автономного OSINT-агента, который использует LLM для проведения расследований в открытых источниках.


✨ Возможности

  • 🔎 Автоматический сбор данных из открытых источников
  • 🧠 Использование LLM для анализа и построения гипотез
  • 🛠️ Динамический выбор инструментов для расследования
  • 📊 Детальная статистика по использованным токенам и инструментам

📦 Установка

pip install demon-cry-python-sdk

🚀 Быстрый старт

import asyncio
from demon_cry_python_sdk import DemonCryClient


async def main():
    async with DemonCryClient(base_url="http://localhost:8000") as client:
        result = await client.investigations.create(target="fazzyt")
        print(result.result)


asyncio.run(main())

💰 Расчёт стоимости запроса

Тарифы взяты из документации DeepSeek.

result = await client.investigations.create(target="example.com")

tokens = result.tokens

# Тарифы DeepSeek (за 1 токен)
INPUT_COST_PER_TOKEN = 0.14 / 1_000_000       # cache miss
INPUT_CACHED_COST = 0.0028 / 1_000_000        # cache hit
OUTPUT_COST_PER_TOKEN = 0.28 / 1_000_000

input_cost = tokens.cache_hit * INPUT_CACHED_COST + tokens.cache_miss * INPUT_COST_PER_TOKEN
output_cost = tokens.completion * OUTPUT_COST_PER_TOKEN
total_cost = input_cost + output_cost

print(f"Всего токенов: {tokens.total}")
print(f"  Prompt:      {tokens.prompt}")
print(f"  Completion:  {tokens.completion}")
print(f"  Cache hit:   {tokens.cache_hit}")
print(f"  Cache miss:  {tokens.cache_miss}")
print(f"Стоимость:     ${total_cost:.6f}")

📄 Лицензия

MIT © Mooncore Inc

Metadata

Release files for demon-cry-python-sdk 0.3.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 demon-cry-python-sdk 0.3.0
File Size Uploaded
demon_cry_python_sdk-0.3.0.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for demon-cry-python-sdk 0.3.0
File Interpreter ABI Platform
demon_cry_python_sdk-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.0 kB

Release files / demon_cry_python_sdk-0.3.0.tar.gz

Download URL demon_cry_python_sdk-0.3.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1083e6d1012cd373e7a9dd9ba7a0ebaae8f61fe29ef8f51b79c7c48581a32d33
BLAKE2b-256 checksum
How to use checksums
112d2a852c5b17cb2a024054cf3eb2de567a2183b1e155e8527b13834b25227f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

Release files / demon_cry_python_sdk-0.3.0-py3-none-any.whl

Download URL demon_cry_python_sdk-0.3.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1bcb47be8b16c1bc42c8518aab9dc5e17d006c15437ccf99b19ecf6b6df81310
BLAKE2b-256 checksum
How to use checksums
20d5197e93e44616d71d26520db543a64000496de68a2cefb0e179bd34e3dfa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

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