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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.3.2-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.3.2-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.3.2-cp312-abi3-macosx_11_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-1.3.2-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.3.2.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.3.2.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.3.2.tar.gz
Algorithm Hash digest
SHA256 20efdbbc58e6bf23da289525acdcec47250d3da18241b20b1525a2c60f13fc22
MD5 c13217fe2cb788b8b7c3798bb5981abc
BLAKE2b-256 e7a4e33a1650db0ca405b32a030fb93fcd25666188a2746a1beb465095ed56d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.2-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 398e044f27786591458dbdf456f9363f91aaae00be6241724b2ded183c6c7f65
MD5 55a7eba7b9d6da951c90b360f886188e
BLAKE2b-256 dd7908fe4227b764a50e6872179d5ca93b5ed0abefbf66b44444d70201e2b667

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fc22fdd2f293b86cd0e720b7a5cb67129d0a3e7a4e3ab48a02fe39d3af8bb36f
MD5 aa27af7a0bd2775b06a1c35e74f20dd1
BLAKE2b-256 5fcba246957910905ac0fcfb086949ac1096a6dd1989074b9be57a0b14da31c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c7330beb26c65fe7c381dd5421aa890787306d8138b920e07286cf266a05a9a2
MD5 1dd51e57f3720916ac3566827344d5c1
BLAKE2b-256 75cd6a6c62859c4acec2e05e9ab7be52aaa8824029653d764580c9e9bb8bbf8f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.2-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4af06d60423c598794011238958a0c4a1e83011e18b9ed0a757565b2434b27af
MD5 32b906b147261395de292889856dddea
BLAKE2b-256 2d36b1424233328087c36cc97de3ad0b357fa0b3991fa46912aab51685ce2af7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.2-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ee876d2e525d3e08eb3213fc725adc2e4f790c783f2aaeda11354fb5693b5e0
MD5 87c16c00cb605362b6f8a51400a5cdd2
BLAKE2b-256 67ef511f86647b57b26282173d321396e1b8e26f594a5e94443b6065b6e307ac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.2-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 f4947481d1b69a65902d6f575ee0dbfd5c78319e9f4f8dd79e40fc1919c31fda
MD5 cc629c0147d78757362bb30c24ce72e7
BLAKE2b-256 bfd71788a8305f369648d2e9fd8cd68051db57c16317867bf6e8360adca18025

See more details on using hashes here.

Provenance

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