Skip to content

v0.1.0

Choose a tag to compare

@fvckxd55 fvckxd55 released this 17 Jul 18:56

Shieldgram v0.1.0 — Initial Release

Features

  • Rate Limiter — Sliding Window + Token Bucket (Lua scripts)
  • Flood Detector — Burst + repeat content analysis
  • Threat Score Engine — Weighted scoring
  • Detection Engine — Concurrent orchestration
  • Decision Engine — Worst-case aggregation
  • Shield Middleware — aiogram 3, one-line setup
  • Redis Storage — Lua, hiredis, connection pooling

Install

pip install shieldgram

Quick Start

from shieldgram import Shield
shield = Shield(redis="redis://localhost:6379/0")
dp.message.middleware(shield)

Full Changelog: https://github.com/fvckxd55/Shieldgram/blob/master/CHANGELOG.md