Skip to main content

IDDB: The next-gen Fluent Event Engine and Persistent Database for Discord Bots. Built for scale, security, and high-velocity logging.

Project description

IDDB System v0.2.0 (Beta)

Internal Discord Database System — The Enterprise Event Engine

Stop paying for expensive logging tiers. IDDB turns your Discord channels into a high-performance, structured, and machine-readable database. Designed for massive bots, it handles rate limits, data integrity, and complex event tracking with ease.

For full documentation and all features, view: IDDB GitHub Repository


Key Features

  • Fluent Coding Language: Write logs like sentences.
  • Burst Protection: Bundles multiple events into single messages to save API limits.
  • Digital Signatures: Tamper-proof logs with SHA-256 verification.
  • Action Chains: Link related events together to form a history.
  • Priority Queueing: Ensure critical security alerts skip the line.

For detailed usage examples and explanations, see the full documentation: IDDB GitHub Repository


How to Use the IDDB Language

1. Installation

pip install iddb-system

Full setup instructions available here: IDDB GitHub Repository


2. Initialization

from iddb.core import IDDBClient, Actions

# Initialize with one or more channel IDs for sharding
iddb = IDDBClient(bot, channel_ids=[1465966978618495028])
await iddb.start()

See the full documentation for advanced initialization options: IDDB GitHub Repository


3. The "Fluent" Logging Syntax

Logging is now a sentence. Use .from_context() to let the bot automatically handle IDs.

@bot.command()
async def ban(ctx, member: discord.Member, *, reason):
    await member.ban(reason=reason)
    
    # Simple, readable, professional logging:
    await iddb.entry() \
        .from_context(ctx) \
        .as_type(Actions.MODERATION) \
        .with_tags(["#ban", "#security"]) \
        .with_data({"target": member.id, "reason": reason}) \
        .high_priority() \
        .commit()

See all logging methods and examples here: IDDB GitHub Repository


4. Burst Protection

If your bot performs 100 actions in a second, IDDB will "bundle" them into groups (default 5) so you don't get rate-limited. This makes it safe for bots in 10,000+ servers.

Full explanation of burst settings available here: IDDB GitHub Repository


5. Action Chains (Relational Data)

Link a "Warn" to a "Kick" by using .linked_to(parent_id). This allows you to trace the entire history of a user's behavior.

For full relational examples, see the documentation: IDDB GitHub Repository


Operational Behavior

IDDB operates as a background worker. When you .commit(), the event is pushed to a PriorityQueue. A worker drains this queue, bundles the data, and signs it with a digital signature before persisting it to your Discord "Database" channel.

Learn more about the internal workflow and advanced operations here: IDDB GitHub Repository


For full documentation, installation instructions, examples, and advanced features, view: IDDB GitHub Repository

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iddb_system-0.2.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iddb_system-0.2.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file iddb_system-0.2.0.tar.gz.

File metadata

  • Download URL: iddb_system-0.2.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for iddb_system-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cfdaab1a300af140490a855a05125f2fe11b2112a782dbfc788968ee8b6222d9
MD5 524b606e862b2ace17c4c2c34d328eb8
BLAKE2b-256 a5a1e4044575a9aed554af0d81125e952b56d7aff3fd6b9043b679830eed9210

See more details on using hashes here.

File details

Details for the file iddb_system-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: iddb_system-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for iddb_system-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68f00328e20401d8f4051f1e249cf5d139e9b68e6c62fefac5d8940e5906fbc8
MD5 13bf1305bf0d6a8c8d1ebefba395d4bf
BLAKE2b-256 00518c37aac4d28cc09bbb9814e350338400f8a709cfa9abb06868a615770130

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page