Skip to main content

Python SDK for cyt-indexer — tool schema decomposition and catalog indexing

Project description

cyt-indexer-sdk

Python bindings for the cyt-indexer Rust library.

Platforms supported: Linux/Windows11/macOS CPU Architectures: x86/ARM

Development

cd sdk/python
uv sync
uv run maturin develop --release

Usage

from cyt_indexer import (
    PolicyContext,
    apply_tool_kind,
    build_catalog_from_tools,
    coordinate_bm25_prune,
    load_catalog,
    removed_chunks,
    retrieve_tools,
    scoring_policy_context,
)

full = load_catalog(".catalog")
surviving = ...  # survivors.json
removed = removed_chunks(full, surviving)

ctx = PolicyContext("prune_optional", "prune_all")
apply_tool_kind(ctx, "mcp")
scoring = scoring_policy_context(ctx)

result = coordinate_bm25_prune([], full, full, index, "query", scoring, ctx)

ensure_skills_registry accepts filesystem paths or inline hook/client payloads:

ensure_skills_registry(
    [{"path": "/virtual/skill.md", "content": "---\nname: x\n---\nBody", "content_sha256": "..."}],
    catalog_root,
    pageindex_config,
    pipeline,
    index_params_hash,
)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cyt_indexer_sdk-1.0.6.tar.gz (2.1 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cyt_indexer_sdk-1.0.6-cp312-abi3-win_arm64.whl (6.6 MB view details)

Uploaded CPython 3.12+Windows ARM64

cyt_indexer_sdk-1.0.6-cp312-abi3-win_amd64.whl (6.8 MB view details)

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.0.6-cp312-abi3-manylinux_2_28_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ x86-64

cyt_indexer_sdk-1.0.6-cp312-abi3-manylinux_2_28_aarch64.whl (7.3 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

cyt_indexer_sdk-1.0.6-cp312-abi3-macosx_11_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-1.0.6-cp312-abi3-macosx_10_13_universal2.whl (13.7 MB view details)

Uploaded CPython 3.12+macOS 10.13+ universal2 (ARM64, x86-64)

File details

Details for the file cyt_indexer_sdk-1.0.6.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.0.6.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cyt_indexer_sdk-1.0.6.tar.gz
Algorithm Hash digest
SHA256 6045f5e6f469b7fe3c19bb36ec6616d6b517b5c3cea5fd86d97541a9caf014b7
MD5 1d31c2f13d365feaf118ecf73e3c4fc9
BLAKE2b-256 34bed44ea55c409df4a7e61f06ee24dca89770bf324d7398afa841652f243fc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.0.6.tar.gz:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyt_indexer_sdk-1.0.6-cp312-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.6-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 59ddb2e95ccb4ca443ed54f30def07691edb5ce32851522ea54e0b94791844e5
MD5 6ec5570f4fc2f2146f95f64202442af4
BLAKE2b-256 16b5817264708ba3496f52f075978020932ed54963162749c13641d6f103d72f

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.0.6-cp312-abi3-win_arm64.whl:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyt_indexer_sdk-1.0.6-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.6-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 27b7097b6cbcbed7bcd7f8b3de082536c2daed82999c6b5099c7fc2e0014bf29
MD5 573b3027c6cb28b3b77f5124bbd21aec
BLAKE2b-256 f851d76b5a9bea0c847596dde5b000841e079b685d412d93c42bc10b4af396b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.0.6-cp312-abi3-win_amd64.whl:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyt_indexer_sdk-1.0.6-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.6-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f21d1678a2d98d76f7929b1c3c5d73afe76375905e849a5b3b6645af1d297dc2
MD5 c88750d079adbfa46b1f2b643c999a13
BLAKE2b-256 ae35247d74524f6cce24cc3ff5a1a4ffb45d740666de713d0af04cb6bc0c7fd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.0.6-cp312-abi3-manylinux_2_28_x86_64.whl:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyt_indexer_sdk-1.0.6-cp312-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.6-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b3f7c012c9a1c17c4b4fccda76780faa525b36a8c555b29d8f8216fdfad59f62
MD5 85332bcdbb7359f3cdc803230d985e36
BLAKE2b-256 7ddcdac92e13de65279d4c7a92b10d3dd8ebe34c028d4e317a9318f7a907b702

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.0.6-cp312-abi3-manylinux_2_28_aarch64.whl:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyt_indexer_sdk-1.0.6-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.6-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a7c6b7b9f68df84a36d01857bad16934d39781709a9d08da70683b1d1ca70e7f
MD5 f5c871118ba8bf1cea6cdc592ea4f7df
BLAKE2b-256 5da3f7e10d890d048141a34c9e30646891bcb78044c36f98c320c1c49f1ca1db

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.0.6-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyt_indexer_sdk-1.0.6-cp312-abi3-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.6-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 42f1372fa5b2355ae00ec48277c66c37091b058050c056dc7b9d987bbf2b9167
MD5 71ff62eab44532785d7a00b35e76fd11
BLAKE2b-256 19587414ed215446391645a8765620e8f3ec5d6f634a3eef8fd4f98262746768

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.0.6-cp312-abi3-macosx_10_13_universal2.whl:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page