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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iddb_system-0.2.1.tar.gz.
File metadata
- Download URL: iddb_system-0.2.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffb79dbb280cc705678ec7c018a8b4b7769a6ae5685bab46e066504cf92e101a
|
|
| MD5 |
ee1f599f97a85bf21c875c9e9d75cbd7
|
|
| BLAKE2b-256 |
e14a4aabacfaf4afa8e631b35d7bda4666d4c146358394d52d5430838466dfaa
|
File details
Details for the file iddb_system-0.2.1-py3-none-any.whl.
File metadata
- Download URL: iddb_system-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2840830ac0ff8dad855dbbede7aa018b1c05b139535b95554eaf0780f8481b23
|
|
| MD5 |
0472212cfa0d3057ace4a58d37ca5774
|
|
| BLAKE2b-256 |
a3a444f749a108dfe2e3e100772862a412b5b2bf7ea3c104ab748535861bd007
|