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.
- schift-0.3.3/.github/workflows/publish.yml +52 -0
- schift-0.3.3/PKG-INFO +681 -0
- {schift-0.2.0/python → schift-0.3.3}/README.md +30 -1
- {schift-0.2.0/python → schift-0.3.3}/pyproject.toml +1 -1
- {schift-0.2.0/python → schift-0.3.3}/schift/_http.py +4 -0
- schift-0.3.3/schift/aggregate.py +18 -0
- schift-0.3.3/schift/artifacts.py +31 -0
- schift-0.3.3/schift/benchmark_suites.py +29 -0
- schift-0.3.3/schift/buckets.py +124 -0
- schift-0.3.3/schift/completions.py +25 -0
- schift-0.3.3/schift/drift.py +33 -0
- schift-0.3.3/schift/jobs.py +31 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/schift_client.py +46 -1
- schift-0.3.3/schift/tasks.py +41 -0
- schift-0.3.3/schift/workflows.py +116 -0
- schift-0.2.0/.gitignore +0 -70
- schift-0.2.0/PKG-INFO +0 -15
- schift-0.2.0/README.md +0 -281
- schift-0.2.0/cli/README.md +0 -303
- schift-0.2.0/cli/pyproject.toml +0 -30
- schift-0.2.0/cli/schift_cli/__init__.py +0 -1
- schift-0.2.0/cli/schift_cli/client.py +0 -119
- schift-0.2.0/cli/schift_cli/commands/auth.py +0 -68
- schift-0.2.0/cli/schift_cli/commands/bench.py +0 -65
- schift-0.2.0/cli/schift_cli/commands/catalog.py +0 -74
- schift-0.2.0/cli/schift_cli/commands/db.py +0 -96
- schift-0.2.0/cli/schift_cli/commands/embed.py +0 -104
- schift-0.2.0/cli/schift_cli/commands/migrate.py +0 -127
- schift-0.2.0/cli/schift_cli/commands/query.py +0 -66
- schift-0.2.0/cli/schift_cli/commands/skill.py +0 -110
- schift-0.2.0/cli/schift_cli/commands/usage.py +0 -50
- schift-0.2.0/cli/schift_cli/config.py +0 -58
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/AGENTS.md +0 -77
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/CLAUDE.md +0 -1
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/SKILL.md +0 -89
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/bucket-organization.md +0 -126
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/bucket-upload.md +0 -116
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/chatbot-widget.md +0 -238
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/cost-batching.md +0 -179
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/cost-storage-tiers.md +0 -183
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/deploy-cloudrun.md +0 -140
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/embed-batch-processing.md +0 -86
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/embed-error-handling.md +0 -155
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/embed-multimodal.md +0 -100
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/embed-task-types.md +0 -135
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/rag-chunking.md +0 -173
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/rag-workflow-builder.md +0 -205
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/sdk-async-patterns.md +0 -103
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/sdk-auth-patterns.md +0 -76
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/search-collection-design.md +0 -229
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/search-hybrid.md +0 -163
- schift-0.2.0/cli/schift_cli/data/schift-best-practices/references/search-similarity-tuning.md +0 -134
- schift-0.2.0/cli/schift_cli/display.py +0 -85
- schift-0.2.0/cli/schift_cli/main.py +0 -39
- schift-0.2.0/pyproject.toml +0 -18
- schift-0.2.0/src/schift/__init__.py +0 -26
- schift-0.2.0/src/schift/async_client.py +0 -82
- schift-0.2.0/src/schift/bucket.py +0 -153
- schift-0.2.0/src/schift/client.py +0 -87
- schift-0.2.0/src/schift/collection.py +0 -85
- schift-0.2.0/src/schift/models.py +0 -25
- schift-0.2.0/src/schift/workflow.py +0 -273
- schift-0.2.0/src/schift/workflow_engine.py +0 -332
- schift-0.2.0/src/schift/workflow_models.py +0 -215
- schift-0.2.0/src/schift/workflow_nodes.py +0 -828
- schift-0.2.0/src/schift/workflow_yaml.py +0 -264
- schift-0.2.0/swift/Package.swift +0 -27
- schift-0.2.0/swift/Sources/Schift/Errors.swift +0 -39
- schift-0.2.0/swift/Sources/Schift/HTTP.swift +0 -184
- schift-0.2.0/swift/Sources/Schift/Projection.swift +0 -68
- schift-0.2.0/swift/Sources/Schift/SchiftClient.swift +0 -258
- schift-0.2.0/swift/Sources/Schift/Types.swift +0 -281
- schift-0.2.0/swift/Tests/SchiftTests/SchiftClientTests.swift +0 -158
- schift-0.2.0/tests/test_async_client.py +0 -19
- schift-0.2.0/tests/test_bucket.py +0 -62
- schift-0.2.0/tests/test_client.py +0 -49
- schift-0.2.0/tests/test_workflow.py +0 -109
- schift-0.2.0/tests/test_workflow_engine.py +0 -834
- schift-0.2.0/tests/test_workflow_yaml.py +0 -434
- schift-0.2.0/ts/.github/workflows/publish.yml +0 -45
- schift-0.2.0/ts/README.md +0 -254
- schift-0.2.0/ts/package-lock.json +0 -2517
- schift-0.2.0/ts/package.json +0 -76
- schift-0.2.0/ts/src/__tests__/tools.test.ts +0 -153
- schift-0.2.0/ts/src/client.ts +0 -423
- schift-0.2.0/ts/src/errors.ts +0 -25
- schift-0.2.0/ts/src/index.ts +0 -87
- schift-0.2.0/ts/src/tools.ts +0 -321
- schift-0.2.0/ts/src/types.ts +0 -175
- schift-0.2.0/ts/src/workflow/__tests__/engine.test.ts +0 -820
- schift-0.2.0/ts/src/workflow/__tests__/workflow.test.ts +0 -502
- schift-0.2.0/ts/src/workflow/__tests__/yaml.test.ts +0 -406
- schift-0.2.0/ts/src/workflow/builder.ts +0 -214
- schift-0.2.0/ts/src/workflow/client.ts +0 -243
- schift-0.2.0/ts/src/workflow/engine.ts +0 -349
- schift-0.2.0/ts/src/workflow/index.ts +0 -66
- schift-0.2.0/ts/src/workflow/nodes.ts +0 -904
- schift-0.2.0/ts/src/workflow/types.ts +0 -244
- schift-0.2.0/ts/src/workflow/yaml.ts +0 -409
- schift-0.2.0/ts/src/workflow-editor/adapter.ts +0 -111
- schift-0.2.0/ts/src/workflow-editor/components/BlockConfigPanel.tsx +0 -315
- schift-0.2.0/ts/src/workflow-editor/components/BlockPalette.tsx +0 -138
- schift-0.2.0/ts/src/workflow-editor/components/SchemaBuilder.tsx +0 -354
- schift-0.2.0/ts/src/workflow-editor/components/WorkflowBuilder.tsx +0 -449
- schift-0.2.0/ts/src/workflow-editor/components/WorkflowCanvas.tsx +0 -377
- schift-0.2.0/ts/src/workflow-editor/components/WorkflowEditor.tsx +0 -37
- schift-0.2.0/ts/src/workflow-editor/components/WorkflowList.tsx +0 -303
- schift-0.2.0/ts/src/workflow-editor/context.tsx +0 -80
- schift-0.2.0/ts/src/workflow-editor/defaults.tsx +0 -190
- schift-0.2.0/ts/src/workflow-editor/examples.ts +0 -411
- schift-0.2.0/ts/src/workflow-editor/index.ts +0 -70
- schift-0.2.0/ts/src/workflow-editor/types.ts +0 -141
- schift-0.2.0/ts/src/workflow-editor/utils/workflow-graph.ts +0 -58
- schift-0.2.0/ts/tsconfig.json +0 -18
- schift-0.2.0/ts/tsup.config.ts +0 -24
- schift-0.2.0/uv.lock +0 -474
- /schift-0.2.0/cli/schift_cli/commands/__init__.py → /schift-0.3.3/.nojekyll +0 -0
- {schift-0.2.0/python → schift-0.3.3}/bench_report.html +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/ADAPTER_INTERFACE_CONTRACT.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/CLIENT_AUTH_CONTRACT.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/DB_CONTRACT.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/DB_RECORD_SCHEMA.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/EMBED_CONTRACT.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/MIGRATE_BENCH_CONTRACT.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/MIGRATE_FIT_CONTRACT.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/MIGRATE_RUN_CONTRACT.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/MODEL_CATALOG_CONTRACT.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/ROUTING_DECISION_SCHEMA.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/ROUTING_EVENTS_CONTRACT.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/ROUTING_POLICY_CONTRACT.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/SDK_FUNCTION_INVENTORY.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/SDK_MODULE_BOUNDARIES.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/SEARCH_CONTRACT.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/SEARCH_QUERY_SCHEMA.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/docs/USAGE_CONTRACT.md +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/__init__.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/_migrate_module.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/__init__.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/base.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/chroma.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/elasticsearch.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/file.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/milvus.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/mongodb.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/pgvector.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/pinecone.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/qdrant.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/redis.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/registry.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/adapters/weaviate.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/bench.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/catalog.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/chat.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/client.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/db.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/embed.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/migrate.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/projection.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/query.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/report.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/rerank.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/routing.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/search.py +0 -0
- {schift-0.2.0/python → schift-0.3.3}/schift/tools.py +0 -0
- {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/*
|