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:
1 parent
367dd819f8
commit
0c2e49cd47
18 files changed
+2288
-249
No files matched your search
+2
-1
@@ -9,7 +9,8 @@ Root directory manifest for **DataStack**, an open-source, self-hosted real-time
|
||||
- `core/`: Backend TypeScript modules (`auth`, `data`, `Database`, `Storage`, `Security`, `sdk`, `adminSettings`, `apiEngine`).
|
||||
- `server/`: Dedicated Express + Socket.IO ingestion service on Port 4000 (`index.js`, `socket/handlers.js`, `workers/csvWriter.js`).
|
||||
- `storage/`: Partitioned CSV data directory (`/storage/data/{clientId}/{YYYY-MM-DD}.csv`).
|
||||
- `sdk-python/`: Official pip-installable Python client library (`datastack-sdk`).
|
||||
- `sdk/python/datastack/`: Official production Python SDK (`datastack`) featuring `config.datastack.py` auto-discovery, Heartbeat HTTP fallback, offline disk spooling, and direct `.csv`/`.json`/`.jsonl` file ingestion.
|
||||
- `sdk-python/`: Backward-compatible Python client package (`datastack-sdk`).
|
||||
- `docker/`: Production Dockerfiles (`Dockerfile.web`, `Dockerfile.server`, `Dockerfile.proxy`), Nginx config, and `docker-compose.yml`.
|
||||
- `nginx/`: Local Nginx reverse proxy configuration (`default.conf`).
|
||||
- `README.md`: Comprehensive A–Z project documentation, quickstart, architecture, and deployment guide.
|
||||
|
||||
Reference in new issue
Block a user