feat: refactor Python SDK and enhance API error reporting

- Relocated Python SDK to `sdk/python/datastack` with new auto-configuration support via `config.datastack.py`
- Updated SDK installation and usage documentation
- Enhanced `/api/events` response format to include specific error codes for revoked and rotated credentials
- Updated SDK dashboard snippet generator to support new configuration pattern
This commit is contained in:
Team Dark Devil committed 2026-11-18 02:23:01 +06:00
1 parent 367dd819f8
commit 0c2e49cd47
18 files changed
+2288 -249

No files matched your search

+54
View File
@@ -0,0 +1,54 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "datastack"
version = "2.2.0"
description = "Official Python SDK for DataStack — Real-Time WebSocket & HTTP Fallback Telemetry Ingestion Engine with Auto Heartbeat Recovery, Offline Spooling, and Direct CSV/JSON File Streaming"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.8"
authors = [
{ name = "Md Anik (Vib Tools)", email = "info@vibtools.top" }
]
keywords = [
"datastack",
"telemetry",
"event-ingestion",
"websocket",
"socketio",
"csv-streaming",
"offline-spool",
"vib-tools"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Logging",
"Topic :: System :: Monitoring"
]
dependencies = [
"python-socketio[client]>=5.8.0",
"requests>=2.28.0",
"websocket-client>=1.5.0"
]
[project.urls]
Homepage = "https://vibtools.top/"
Documentation = "https://github.com/anik-d-art/datastack"
Repository = "https://github.com/anik-d-art/datastack"
Issues = "https://github.com/anik-d-art/datastack/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["datastack*"]