Repository navigation
Expand file tree
/
Copy pathrequirements.txt
More file actions
60 lines (46 loc) · 1.46 KB
/
Copy pathrequirements.txt
File metadata and controls
60 lines (46 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# ============================================================
# CNSL — Python Requirements
# ============================================================
# Core engine has ZERO external dependencies (pure stdlib).
# Install extras based on what features you need.
#
# Quick install (everything):
# pip install -r requirements.txt
#
# Minimal install (core only):
# pip install -e .
# ============================================================
# Optional: Web dashboard + REST API + Notifications
aiohttp>=3.9.0
# Optional: SQLite async persistence
aiosqlite>=0.19.0
# Optional: PostgreSQL backend + migration tool (--migrate-db)
asyncpg>=0.29.0
# Optional: YAML config file support
pyyaml>=6.0.0
# Development & Testing
pytest>=7.0.0
pytest-asyncio>=0.23.0
# Optional: Dashboard JWT authentication
bcrypt>=4.0.0
PyJWT>=2.8.0
# Optional: GCP cloud identity connector's RS256 service-account
# signing (bare PyJWT above can't sign RS256 -- needs the crypto extra)
# Also required for OIDC SSO (cnsl/oidc.py) -- RS256 verification of
# the identity provider's ID token signature.
# pip install "PyJWT[crypto]>=2.8.0"
# Optional: MaxMind offline GeoIP
geoip2>=4.7.0
# Optional: Redis distributed blocklist
redis>=5.0.0
# Optional: AbuseIPDB threat intelligence
# (uses aiohttp already listed above)
# ML anomaly detection
scikit-learn>=1.4.0
numpy>=1.26.0
# Compliance PDF reports
reportlab>=4.0.0
# setuptools
setuptools
# 2FA (TOTP)
pyotp>=2.9.0