sqi-sdk 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sqi_sdk-0.1.0/.gitignore +103 -0
- sqi_sdk-0.1.0/LICENSE +661 -0
- sqi_sdk-0.1.0/PKG-INFO +128 -0
- sqi_sdk-0.1.0/README.md +88 -0
- sqi_sdk-0.1.0/pyproject.toml +140 -0
- sqi_sdk-0.1.0/src/sqi_client/__init__.py +106 -0
- sqi_sdk-0.1.0/src/sqi_client/_version.py +12 -0
- sqi_sdk-0.1.0/src/sqi_client/client.py +1679 -0
- sqi_sdk-0.1.0/src/sqi_client/errors.py +209 -0
- sqi_sdk-0.1.0/src/sqi_client/events.py +326 -0
- sqi_sdk-0.1.0/src/sqi_client/models.py +967 -0
- sqi_sdk-0.1.0/src/sqi_client/py.typed +0 -0
- sqi_sdk-0.1.0/tests/__init__.py +2 -0
- sqi_sdk-0.1.0/tests/conftest.py +93 -0
- sqi_sdk-0.1.0/tests/fixtures/farm.json +8 -0
- sqi_sdk-0.1.0/tests/fixtures/job.json +16 -0
- sqi_sdk-0.1.0/tests/fixtures/job_detail.json +46 -0
- sqi_sdk-0.1.0/tests/fixtures/log_chunk.json +11 -0
- sqi_sdk-0.1.0/tests/fixtures/log_page.json +28 -0
- sqi_sdk-0.1.0/tests/fixtures/queue.json +11 -0
- sqi_sdk-0.1.0/tests/fixtures/step.json +9 -0
- sqi_sdk-0.1.0/tests/fixtures/storage_location.json +12 -0
- sqi_sdk-0.1.0/tests/fixtures/task.json +15 -0
- sqi_sdk-0.1.0/tests/fixtures/task_counts.json +10 -0
- sqi_sdk-0.1.0/tests/fixtures/usage_pool.json +10 -0
- sqi_sdk-0.1.0/tests/fixtures/version.json +6 -0
- sqi_sdk-0.1.0/tests/fixtures/worker.json +28 -0
- sqi_sdk-0.1.0/tests/fixtures/worker_detail.json +36 -0
- sqi_sdk-0.1.0/tests/integration/__init__.py +2 -0
- sqi_sdk-0.1.0/tests/integration/conftest.py +206 -0
- sqi_sdk-0.1.0/tests/integration/test_e2e.py +230 -0
- sqi_sdk-0.1.0/tests/test_client.py +396 -0
- sqi_sdk-0.1.0/tests/test_conveniences.py +163 -0
- sqi_sdk-0.1.0/tests/test_crud.py +467 -0
- sqi_sdk-0.1.0/tests/test_errors.py +217 -0
- sqi_sdk-0.1.0/tests/test_events.py +345 -0
- sqi_sdk-0.1.0/tests/test_jobs.py +362 -0
- sqi_sdk-0.1.0/tests/test_models.py +477 -0
- sqi_sdk-0.1.0/tests/test_pagination.py +169 -0
- sqi_sdk-0.1.0/tests/test_public_api.py +60 -0
- sqi_sdk-0.1.0/tests/test_retry.py +293 -0
- sqi_sdk-0.1.0/tests/test_smoke.py +22 -0
- sqi_sdk-0.1.0/tests/test_submit.py +286 -0
- sqi_sdk-0.1.0/tests/test_tasks.py +424 -0
- sqi_sdk-0.1.0/tests/test_workers.py +314 -0
sqi_sdk-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# ─── Go ───────────────────────────────────────────────────────────────────────
|
|
2
|
+
/bin/
|
|
3
|
+
/dist/
|
|
4
|
+
*.exe
|
|
5
|
+
*.exe~
|
|
6
|
+
*.dll
|
|
7
|
+
*.so
|
|
8
|
+
*.dylib
|
|
9
|
+
*.test
|
|
10
|
+
*.out
|
|
11
|
+
coverage.txt
|
|
12
|
+
coverage.html
|
|
13
|
+
cpu.prof
|
|
14
|
+
mem.prof
|
|
15
|
+
|
|
16
|
+
# Go workspace (go work)
|
|
17
|
+
go.work
|
|
18
|
+
go.work.sum
|
|
19
|
+
|
|
20
|
+
# ─── Build artefacts ──────────────────────────────────────────────────────────
|
|
21
|
+
# web/dist/index.html is tracked so that //go:embed in package web always has a
|
|
22
|
+
# file to embed on a fresh checkout. CI must run `npm run build` in web/ before
|
|
23
|
+
# `go build` so the full React bundle (assets/*) is present at embed time.
|
|
24
|
+
/web/dist/*
|
|
25
|
+
!/web/dist/index.html
|
|
26
|
+
/web/.vite/
|
|
27
|
+
/web/coverage/
|
|
28
|
+
/web/test-results/
|
|
29
|
+
/web/playwright-report/
|
|
30
|
+
/web/blob-report/
|
|
31
|
+
/web/.playwright/
|
|
32
|
+
|
|
33
|
+
# goreleaser
|
|
34
|
+
/dist/
|
|
35
|
+
|
|
36
|
+
# ─── Node / TypeScript ────────────────────────────────────────────────────────
|
|
37
|
+
node_modules/
|
|
38
|
+
web/node_modules/
|
|
39
|
+
.pnpm-store/
|
|
40
|
+
.yarn/cache/
|
|
41
|
+
.yarn/unplugged/
|
|
42
|
+
*.tsbuildinfo
|
|
43
|
+
|
|
44
|
+
# ─── Python (clients/python client library) ───────────────────────────────────
|
|
45
|
+
# The sqi-sdk library has its own toolchain. Its virtualenv and build outputs
|
|
46
|
+
# are generated by `make py-install` / `make py-build` and must never be tracked.
|
|
47
|
+
# (The repo-root /dist/ rule above is anchored, so it does not cover this path.)
|
|
48
|
+
/clients/python/.venv/
|
|
49
|
+
/clients/python/dist/
|
|
50
|
+
/clients/python/build/
|
|
51
|
+
# sqi-sdk is a library: its real constraints live in pyproject.toml ranges,
|
|
52
|
+
# and CI installs via `pip install -e` (not the lock). Tracking uv.lock only
|
|
53
|
+
# pins dev-only tools (e.g. pytest, which stays at the last 3.9-compatible
|
|
54
|
+
# release on the 3.9 leg) and surfaces false-positive Dependabot security
|
|
55
|
+
# alerts for tools consumers never install.
|
|
56
|
+
/clients/python/uv.lock
|
|
57
|
+
*.egg-info/
|
|
58
|
+
__pycache__/
|
|
59
|
+
*.py[cod]
|
|
60
|
+
.pytest_cache/
|
|
61
|
+
.mypy_cache/
|
|
62
|
+
.ruff_cache/
|
|
63
|
+
.coverage
|
|
64
|
+
.coverage.*
|
|
65
|
+
htmlcov/
|
|
66
|
+
|
|
67
|
+
# ─── Runtime data ─────────────────────────────────────────────────────────────
|
|
68
|
+
*.db
|
|
69
|
+
*.db-shm
|
|
70
|
+
*.db-wal
|
|
71
|
+
*.sqlite
|
|
72
|
+
*.sqlite-shm
|
|
73
|
+
*.sqlite-wal
|
|
74
|
+
/nats-data/
|
|
75
|
+
/data/
|
|
76
|
+
# Per-instance state for `make run-workers` (one subdir per simulated worker).
|
|
77
|
+
/.run/
|
|
78
|
+
|
|
79
|
+
# ─── Secrets and local config ─────────────────────────────────────────────────
|
|
80
|
+
.env
|
|
81
|
+
.env.*
|
|
82
|
+
!.env.example
|
|
83
|
+
*.pem
|
|
84
|
+
*.key
|
|
85
|
+
*.crt
|
|
86
|
+
|
|
87
|
+
# ─── Editor / OS ──────────────────────────────────────────────────────────────
|
|
88
|
+
.DS_Store
|
|
89
|
+
.DS_Store?
|
|
90
|
+
._*
|
|
91
|
+
.Spotlight-V100
|
|
92
|
+
.Trashes
|
|
93
|
+
Thumbs.db
|
|
94
|
+
Desktop.ini
|
|
95
|
+
.idea/
|
|
96
|
+
.vscode/
|
|
97
|
+
*.swp
|
|
98
|
+
*.swo
|
|
99
|
+
*~
|
|
100
|
+
|
|
101
|
+
# ─── Tooling ──────────────────────────────────────────────────────────────────
|
|
102
|
+
.golangci-cache/
|
|
103
|
+
.task/
|