Python (Quart)
Requirements
Installation & Configuration
1
pip install aikido_zenexport AIKIDO_TOKEN=AIK_RUNTIME_YOUR_TOKEN_HEREimport aikido_zen
aikido_zen.protect()import aikido_zen
aikido_zen.protect()2
from quart import Quart
from aikido_zen.middleware import AikidoQuartMiddleware
app = Quart(__name__)
app.asgi_app = AikidoQuartMiddleware(app.asgi_app)from aikido_zen import set_user
set_user({"id": "123", "name": "John Doe"})3
AIKIDO_BLOCK=false AIKIDO_TOKEN=YOUR_SECRET_TOKEN quart runAIKIDO_TOKEN=AIK_RUNTIME_AIKIDO_BLOCK=false4

5


You are rate limited by Aikido firewall. (Your IP: 1.2.3.4)6
Last updated
Was this helpful?