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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.5.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.5.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.5.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.5.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.5.0.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.5.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.5.0.tar.gz
Algorithm Hash digest
SHA256 524aaf2b5130ba8a707bdb1b31f3e2788542d3105bc55e06f8f329bc8c2b7fbb
MD5 1cb9b3d7fabad92d48cf6501964b3148
BLAKE2b-256 5b265f24c04420ba6947b5246fdc17ff86289d70a3edd8e99402012fd72c78d7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.5.0-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 78b0f3339b02a0f639e1a0afe1a11ed50ea27d81c14295168835ed3873203f92
MD5 6cec77a2364973919f2216560444b847
BLAKE2b-256 c59056d1fb6775505d8e0565e29f80217b5267654e9aacc333a3f76c0071acd2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.5.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 312433f553ed3b4dd831f897443d10f7fc5336570ff044828e96cec180af4894
MD5 4b34f27f7ec377bd416f15ea2797a2f3
BLAKE2b-256 6da048d869bab90839dc7a342bee33d13c7b7b042df2e37755069b4771aabd09

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.5.0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 24b3722e37f01838284b9ee84fefd9e2906eef500ee16a85ec1bef98b378f7de
MD5 928c1b195d7210524b6482fb86fb0b81
BLAKE2b-256 71e2e33cd58555fe7c87cf326ca1482a24a00b609d6f1005a3880eb18afe1904

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.5.0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1a9e609661d1ebacfec7edeab78afcb01db9d63d3bec4da0da43f7922df86405
MD5 c48cc491f050021ce13cff4eb3ab4289
BLAKE2b-256 904283583792a13377f43602f0f9687b42fd8862f9b7ec7ae0666233155f002b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.5.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4d6fa7960cc997427960871079c60c141e36b0a26283a455ef8e72a7395cfeb6
MD5 cf1d41cde2e4ce290842be9fa0a7b874
BLAKE2b-256 adbd3d6393ad43d9a1032516697c486e0013c0343dae3b4116a41ce1b0d0d692

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.5.0-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 7382546262983478ef2d15c3805432ee2857394e055735e1d3b78c5844478bb7
MD5 1a8fc1b398402f8027e4bed4cb74fa79
BLAKE2b-256 091d9619304a028c64379b6ce83324c3d8a05a06d8424591d5c1dbe836fec123

See more details on using hashes here.

Provenance

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