- Integrate webhook alerts for admin login lockouts. - Implement detailed audit logging for login, logout, and setup actions. - Improve client revocation event tracking. - Standardize error handling in profile updates. - Enforce 'operator' role for event API access.
44 lines
1.2 KiB
Python
44 lines
1.2 KiB
Python
"""
|
|
DataStack Official Python SDK (`datastack`).
|
|
Supports automatic `config.datastack.py` configuration discovery, real-time
|
|
Socket.IO ingestion (Port 4000), automatic Heartbeat HTTP fallback (Port 3000),
|
|
offline disk spooling, and direct `.csv` / `.json` / `.jsonl` file streaming.
|
|
"""
|
|
|
|
from .client import DataStack, DataStackClient
|
|
from .config import DataStackConfig, load_config
|
|
from .exceptions import (
|
|
DataStackAuthError,
|
|
DataStackConfigError,
|
|
DataStackConnectionError,
|
|
DataStackError,
|
|
DataStackFileError,
|
|
DataStackOfflineSpoolError,
|
|
DataStackPayloadTooLargeError,
|
|
DataStackQuotaExceededError,
|
|
DataStackRateLimitError,
|
|
)
|
|
from .heartbeat import ConnectionState, HeartbeatMonitor
|
|
from .spool import DiskSpooler
|
|
|
|
__version__ = "2.2.0"
|
|
|
|
__all__ = [
|
|
"DataStack",
|
|
"DataStackClient",
|
|
"DataStackConfig",
|
|
"load_config",
|
|
"ConnectionState",
|
|
"HeartbeatMonitor",
|
|
"DiskSpooler",
|
|
"DataStackError",
|
|
"DataStackConfigError",
|
|
"DataStackAuthError",
|
|
"DataStackConnectionError",
|
|
"DataStackRateLimitError",
|
|
"DataStackPayloadTooLargeError",
|
|
"DataStackQuotaExceededError",
|
|
"DataStackFileError",
|
|
"DataStackOfflineSpoolError",
|
|
]
|