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.4.0.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.4.0-cp312-abi3-win_arm64.whl (6.7 MB view details)

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.4.0-cp312-abi3-manylinux_2_28_x86_64.whl (7.4 MB view details)

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

cyt_indexer_sdk-1.4.0-cp312-abi3-manylinux_2_28_aarch64.whl (7.4 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-1.4.0-cp312-abi3-macosx_10_13_universal2.whl (13.8 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for cyt_indexer_sdk-1.4.0.tar.gz
Algorithm Hash digest
SHA256 0eb6ae6faa01ceb3cc3e5ef277e72f5d195d44225d28a0ba15bb1bc07958ba11
MD5 90b67670a40c3013b8187b51e4aad348
BLAKE2b-256 1f0095b53ea3c05542feb2073865e87e0a888b2f41cf0403112588e853eee404

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.4.0.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.4.0-cp312-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.4.0-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 29cc4e7ee26aca25f7ff98b9e7b895125974423f2b8e79ad3e8b3a38c224af46
MD5 d3f9531320b30485e7d27ff1a17ea06f
BLAKE2b-256 e2c6914864dd168fec39d75d50c4900db3e46f87ea4d070772cf4c0d5b390e2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.4.0-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.4.0-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.4.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 84a249af841bd6eeb04999fbe1f19a274d84793ba42af1413a017f5b1e621eaa
MD5 74de93b26187d656b9d6e8cadc1e397b
BLAKE2b-256 ec5d93798b7b778cdfa776d78576ca9f582e410ce88aed3b95aae980aee1de71

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.4.0-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.4.0-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.4.0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 94553faa8a8198434f3aade2f6838954f4ad9cbfee4972aba32d9970efff6f1f
MD5 fbd8d90607f21e5c04ac77012b75b1db
BLAKE2b-256 7661f00628614780daa7b23f9f80e368fac410978b60efedd2a4ce171535c1cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.4.0-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.4.0-cp312-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.4.0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 728e1b9078a3494a11e9931e39fae8e08624f242e66f2ea1c5ea8f5591a02d6f
MD5 49cbfcf470c0ee9d72f89e6cfb870def
BLAKE2b-256 e97caa675cec269a6766140a491a474b4a47d93ed7d2e7dc9f3869158934bf3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.4.0-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.4.0-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.4.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2fb032f1b6d2e25a237a301bde807b21c62a10e421c9f355980d6cf32fecd7d5
MD5 380e79056a81c65bee99b2f65f969e42
BLAKE2b-256 b7130ee6b6088d09946df17a864b525d3d838bc045a8ad553975becdee14685b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.4.0-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.4.0-cp312-abi3-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.4.0-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 60ea9ebb728e0e128dc7d1179083e70c330f149cc7d661d7b2328061b1b83c6c
MD5 a159c305c332d0db10d7c3c52dce8a74
BLAKE2b-256 9223743a1a386b76549341ad85c89d541f43272c8674693312f6688f7c5278a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.4.0-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