schift 0.2.0__tar.gz → 0.3.3__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.
Files changed (165) hide show
  1. schift-0.3.3/.github/workflows/publish.yml +52 -0
  2. schift-0.3.3/PKG-INFO +681 -0
  3. {schift-0.2.0/python → schift-0.3.3}/README.md +30 -1
  4. {schift-0.2.0/python → schift-0.3.3}/pyproject.toml +1 -1
  5. {schift-0.2.0/python → schift-0.3.3}/schift/_http.py +4 -0
  6. schift-0.3.3/schift/aggregate.py +18 -0
  7. schift-0.3.3/schift/artifacts.py +31 -0
  8. schift-0.3.3/schift/benchmark_suites.py +29 -0
  9. schift-0.3.3/schift/buckets.py +124 -0
  10. schift-0.3.3/schift/completions.py +25 -0
  11. schift-0.3.3/schift/drift.py +33 -0
  12. schift-0.3.3/schift/jobs.py +31 -0
  13. {schift-0.2.0/python → schift-0.3.3}/schift/schift_client.py +46 -1
  14. schift-0.3.3/schift/tasks.py +41 -0
  15. schift-0.3.3/schift/workflows.py +116 -0
  16. schift-0.2.0/.gitignore +0 -70
  17. schift-0.2.0/PKG-INFO +0 -15
  18. schift-0.2.0/README.md +0 -281
  19. schift-0.2.0/cli/README.md +0 -303
  20. schift-0.2.0/cli/pyproject.toml +0 -30
  21. schift-0.2.0/cli/schift_cli/__init__.py +0 -1
  22. schift-0.2.0/cli/schift_cli/client.py +0 -119
  23. schift-0.2.0/cli/schift_cli/commands/auth.py +0 -68
  24. schift-0.2.0/cli/schift_cli/commands/bench.py +0 -65
  25. schift-0.2.0/cli/schift_cli/commands/catalog.py +0 -74
  26. schift-0.2.0/cli/schift_cli/commands/db.py +0 -96
  27. schift-0.2.0/cli/schift_cli/commands/embed.py +0 -104
  28. schift-0.2.0/cli/schift_cli/commands/migrate.py +0 -127
  29. schift-0.2.0/cli/schift_cli/commands/query.py +0 -66
  30. schift-0.2.0/cli/schift_cli/commands/skill.py +0 -110
  31. schift-0.2.0/cli/schift_cli/commands/usage.py +0 -50
  32. schift-0.2.0/cli/schift_cli/config.py +0 -58
  33. schift-0.2.0/cli/schift_cli/data/schift-best-practices/AGENTS.md +0 -77
  34. schift-0.2.0/cli/schift_cli/data/schift-best-practices/CLAUDE.md +0 -1
  35. schift-0.2.0/cli/schift_cli/data/schift-best-practices/SKILL.md +0 -89
  36. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/bucket-organization.md +0 -126
  37. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/bucket-upload.md +0 -116
  38. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/chatbot-widget.md +0 -238
  39. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/cost-batching.md +0 -179
  40. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/cost-storage-tiers.md +0 -183
  41. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/deploy-cloudrun.md +0 -140
  42. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/embed-batch-processing.md +0 -86
  43. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/embed-error-handling.md +0 -155
  44. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/embed-multimodal.md +0 -100
  45. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/embed-task-types.md +0 -135
  46. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/rag-chunking.md +0 -173
  47. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/rag-workflow-builder.md +0 -205
  48. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/sdk-async-patterns.md +0 -103
  49. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/sdk-auth-patterns.md +0 -76
  50. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/search-collection-design.md +0 -229
  51. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/search-hybrid.md +0 -163
  52. schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/search-similarity-tuning.md +0 -134
  53. schift-0.2.0/cli/schift_cli/display.py +0 -85
  54. schift-0.2.0/cli/schift_cli/main.py +0 -39
  55. schift-0.2.0/pyproject.toml +0 -18
  56. schift-0.2.0/src/schift/__init__.py +0 -26
  57. schift-0.2.0/src/schift/async_client.py +0 -82
  58. schift-0.2.0/src/schift/bucket.py +0 -153
  59. schift-0.2.0/src/schift/client.py +0 -87
  60. schift-0.2.0/src/schift/collection.py +0 -85
  61. schift-0.2.0/src/schift/models.py +0 -25
  62. schift-0.2.0/src/schift/workflow.py +0 -273
  63. schift-0.2.0/src/schift/workflow_engine.py +0 -332
  64. schift-0.2.0/src/schift/workflow_models.py +0 -215
  65. schift-0.2.0/src/schift/workflow_nodes.py +0 -828
  66. schift-0.2.0/src/schift/workflow_yaml.py +0 -264
  67. schift-0.2.0/swift/Package.swift +0 -27
  68. schift-0.2.0/swift/Sources/Schift/Errors.swift +0 -39
  69. schift-0.2.0/swift/Sources/Schift/HTTP.swift +0 -184
  70. schift-0.2.0/swift/Sources/Schift/Projection.swift +0 -68
  71. schift-0.2.0/swift/Sources/Schift/SchiftClient.swift +0 -258
  72. schift-0.2.0/swift/Sources/Schift/Types.swift +0 -281
  73. schift-0.2.0/swift/Tests/SchiftTests/SchiftClientTests.swift +0 -158
  74. schift-0.2.0/tests/test_async_client.py +0 -19
  75. schift-0.2.0/tests/test_bucket.py +0 -62
  76. schift-0.2.0/tests/test_client.py +0 -49
  77. schift-0.2.0/tests/test_workflow.py +0 -109
  78. schift-0.2.0/tests/test_workflow_engine.py +0 -834
  79. schift-0.2.0/tests/test_workflow_yaml.py +0 -434
  80. schift-0.2.0/ts/.github/workflows/publish.yml +0 -45
  81. schift-0.2.0/ts/README.md +0 -254
  82. schift-0.2.0/ts/package-lock.json +0 -2517
  83. schift-0.2.0/ts/package.json +0 -76
  84. schift-0.2.0/ts/src/__tests__/tools.test.ts +0 -153
  85. schift-0.2.0/ts/src/client.ts +0 -423
  86. schift-0.2.0/ts/src/errors.ts +0 -25
  87. schift-0.2.0/ts/src/index.ts +0 -87
  88. schift-0.2.0/ts/src/tools.ts +0 -321
  89. schift-0.2.0/ts/src/types.ts +0 -175
  90. schift-0.2.0/ts/src/workflow/__tests__/engine.test.ts +0 -820
  91. schift-0.2.0/ts/src/workflow/__tests__/workflow.test.ts +0 -502
  92. schift-0.2.0/ts/src/workflow/__tests__/yaml.test.ts +0 -406
  93. schift-0.2.0/ts/src/workflow/builder.ts +0 -214
  94. schift-0.2.0/ts/src/workflow/client.ts +0 -243
  95. schift-0.2.0/ts/src/workflow/engine.ts +0 -349
  96. schift-0.2.0/ts/src/workflow/index.ts +0 -66
  97. schift-0.2.0/ts/src/workflow/nodes.ts +0 -904
  98. schift-0.2.0/ts/src/workflow/types.ts +0 -244
  99. schift-0.2.0/ts/src/workflow/yaml.ts +0 -409
  100. schift-0.2.0/ts/src/workflow-editor/adapter.ts +0 -111
  101. schift-0.2.0/ts/src/workflow-editor/components/BlockConfigPanel.tsx +0 -315
  102. schift-0.2.0/ts/src/workflow-editor/components/BlockPalette.tsx +0 -138
  103. schift-0.2.0/ts/src/workflow-editor/components/SchemaBuilder.tsx +0 -354
  104. schift-0.2.0/ts/src/workflow-editor/components/WorkflowBuilder.tsx +0 -449
  105. schift-0.2.0/ts/src/workflow-editor/components/WorkflowCanvas.tsx +0 -377
  106. schift-0.2.0/ts/src/workflow-editor/components/WorkflowEditor.tsx +0 -37
  107. schift-0.2.0/ts/src/workflow-editor/components/WorkflowList.tsx +0 -303
  108. schift-0.2.0/ts/src/workflow-editor/context.tsx +0 -80
  109. schift-0.2.0/ts/src/workflow-editor/defaults.tsx +0 -190
  110. schift-0.2.0/ts/src/workflow-editor/examples.ts +0 -411
  111. schift-0.2.0/ts/src/workflow-editor/index.ts +0 -70
  112. schift-0.2.0/ts/src/workflow-editor/types.ts +0 -141
  113. schift-0.2.0/ts/src/workflow-editor/utils/workflow-graph.ts +0 -58
  114. schift-0.2.0/ts/tsconfig.json +0 -18
  115. schift-0.2.0/ts/tsup.config.ts +0 -24
  116. schift-0.2.0/uv.lock +0 -474
  117. /schift-0.2.0/cli/schift_cli/commands/__init__.py → /schift-0.3.3/.nojekyll +0 -0
  118. {schift-0.2.0/python → schift-0.3.3}/bench_report.html +0 -0
  119. {schift-0.2.0/python → schift-0.3.3}/docs/ADAPTER_INTERFACE_CONTRACT.md +0 -0
  120. {schift-0.2.0/python → schift-0.3.3}/docs/CLIENT_AUTH_CONTRACT.md +0 -0
  121. {schift-0.2.0/python → schift-0.3.3}/docs/DB_CONTRACT.md +0 -0
  122. {schift-0.2.0/python → schift-0.3.3}/docs/DB_RECORD_SCHEMA.md +0 -0
  123. {schift-0.2.0/python → schift-0.3.3}/docs/EMBED_CONTRACT.md +0 -0
  124. {schift-0.2.0/python → schift-0.3.3}/docs/MIGRATE_BENCH_CONTRACT.md +0 -0
  125. {schift-0.2.0/python → schift-0.3.3}/docs/MIGRATE_FIT_CONTRACT.md +0 -0
  126. {schift-0.2.0/python → schift-0.3.3}/docs/MIGRATE_RUN_CONTRACT.md +0 -0
  127. {schift-0.2.0/python → schift-0.3.3}/docs/MODEL_CATALOG_CONTRACT.md +0 -0
  128. {schift-0.2.0/python → schift-0.3.3}/docs/ROUTING_DECISION_SCHEMA.md +0 -0
  129. {schift-0.2.0/python → schift-0.3.3}/docs/ROUTING_EVENTS_CONTRACT.md +0 -0
  130. {schift-0.2.0/python → schift-0.3.3}/docs/ROUTING_POLICY_CONTRACT.md +0 -0
  131. {schift-0.2.0/python → schift-0.3.3}/docs/SDK_FUNCTION_INVENTORY.md +0 -0
  132. {schift-0.2.0/python → schift-0.3.3}/docs/SDK_MODULE_BOUNDARIES.md +0 -0
  133. {schift-0.2.0/python → schift-0.3.3}/docs/SEARCH_CONTRACT.md +0 -0
  134. {schift-0.2.0/python → schift-0.3.3}/docs/SEARCH_QUERY_SCHEMA.md +0 -0
  135. {schift-0.2.0/python → schift-0.3.3}/docs/USAGE_CONTRACT.md +0 -0
  136. {schift-0.2.0/python → schift-0.3.3}/schift/__init__.py +0 -0
  137. {schift-0.2.0/python → schift-0.3.3}/schift/_migrate_module.py +0 -0
  138. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/__init__.py +0 -0
  139. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/base.py +0 -0
  140. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/chroma.py +0 -0
  141. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/elasticsearch.py +0 -0
  142. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/file.py +0 -0
  143. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/milvus.py +0 -0
  144. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/mongodb.py +0 -0
  145. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/pgvector.py +0 -0
  146. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/pinecone.py +0 -0
  147. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/qdrant.py +0 -0
  148. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/redis.py +0 -0
  149. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/registry.py +0 -0
  150. {schift-0.2.0/python → schift-0.3.3}/schift/adapters/weaviate.py +0 -0
  151. {schift-0.2.0/python → schift-0.3.3}/schift/bench.py +0 -0
  152. {schift-0.2.0/python → schift-0.3.3}/schift/catalog.py +0 -0
  153. {schift-0.2.0/python → schift-0.3.3}/schift/chat.py +0 -0
  154. {schift-0.2.0/python → schift-0.3.3}/schift/client.py +0 -0
  155. {schift-0.2.0/python → schift-0.3.3}/schift/db.py +0 -0
  156. {schift-0.2.0/python → schift-0.3.3}/schift/embed.py +0 -0
  157. {schift-0.2.0/python → schift-0.3.3}/schift/migrate.py +0 -0
  158. {schift-0.2.0/python → schift-0.3.3}/schift/projection.py +0 -0
  159. {schift-0.2.0/python → schift-0.3.3}/schift/query.py +0 -0
  160. {schift-0.2.0/python → schift-0.3.3}/schift/report.py +0 -0
  161. {schift-0.2.0/python → schift-0.3.3}/schift/rerank.py +0 -0
  162. {schift-0.2.0/python → schift-0.3.3}/schift/routing.py +0 -0
  163. {schift-0.2.0/python → schift-0.3.3}/schift/search.py +0 -0
  164. {schift-0.2.0/python → schift-0.3.3}/schift/tools.py +0 -0
  165. {schift-0.2.0/python → schift-0.3.3}/schift/usage.py +0 -0
@@ -0,0 +1,52 @@
1
+ name: Publish schift to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ publish:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v4
18
+
19
+ - name: Setup Python
20
+ uses: actions/setup-python@v5
21
+ with:
22
+ python-version: "3.11"
23
+
24
+ - name: Install build tools
25
+ run: python -m pip install --upgrade build twine
26
+
27
+ - name: Set pyproject version from release tag
28
+ if: github.event_name == 'release'
29
+ run: |
30
+ TAG_VERSION="${GITHUB_REF_NAME#v}"
31
+ sed -i "s/^version = \".*\"$/version = \"${TAG_VERSION}\"/" pyproject.toml
32
+
33
+ - name: Build package
34
+ run: python -m build
35
+
36
+ - name: Check distribution
37
+ run: twine check dist/*
38
+
39
+ - name: Ensure PyPI token exists
40
+ if: github.event_name == 'release'
41
+ run: |
42
+ if [ -z "${{ secrets.PYPI_API_TOKEN }}" ]; then
43
+ echo "PYPI_API_TOKEN secret is missing"
44
+ exit 1
45
+ fi
46
+
47
+ - name: Publish to PyPI
48
+ if: github.event_name == 'release'
49
+ env:
50
+ TWINE_USERNAME: __token__
51
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
52
+ run: twine upload dist/*