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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

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

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-2.4.2-cp312-abi3-macosx_10_13_universal2.whl (13.9 MB view details)

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

File details

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

File metadata

  • Download URL: cyt_indexer_sdk-2.4.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.14

File hashes

Hashes for cyt_indexer_sdk-2.4.2.tar.gz
Algorithm Hash digest
SHA256 dad1d97e414a6b72b076d64f36c5f9d75557d5ee7d4c2d49c370b02be495a323
MD5 13b4639578037bfd66daf2f38d4ce926
BLAKE2b-256 55a983b4b0b8377c51640d9d83c40e6b11ea77f1ffa3ecc9bccb4d8c7997417c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.2-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3e09ca1f2b925134534f3d51fde19e52b16166eb5ba4c3943bb0ac77170e3258
MD5 acc32d92a960c60f13c5a52649601814
BLAKE2b-256 c8f3f13ad8eafc7a1a7c5569c5176a32c2b632ce5e898db3ad290f5eb2e64445

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2a18a3fac3a694a94f324e60d51df71847c7f5ea36e260ed9a2eb31cb2f8c9ed
MD5 e97b58d1b295299e5b9b198dadc8b8e9
BLAKE2b-256 8015365090df5033200bc38d91b50fea80fb5935ed1083103227f54d08ec0b49

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a6b384104b83fb51498e6fb651fd3c10e2845d057be1feffaf550352321b273e
MD5 7aefc7fd219da804c450cd423cfdb266
BLAKE2b-256 56b7773b28d72f18fa11382e150a2c66f17a8578f2695cdb1755f20f164bdbfe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.2-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 df582d88c323ad8eee1fac24cc01a27cffac17747bb933cca0dd5722ef4c6a39
MD5 b502a041a205bef2c92ce5b1c92717c9
BLAKE2b-256 b7cd8be85e7b866cb19bdbefb2e330d3dd9b188cb2d52a99feaf0da4b9257c7e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.2-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d7c89559ef1818f02329aacb2cc783bf1c98b1330951390b6416f46e38400cb8
MD5 52e51da9cad4581a2e97a0c065f30926
BLAKE2b-256 71cb6617f986da7cf9d31af82c8ab1ca82841cfe89822b5880c1464dfec3a217

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.2-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 5009280c8d2336fa87b1fb734d7d142a5b1ddcd91e4e804d821835bfba3e47ab
MD5 9db9ef74926742d218bcd0e1037469dd
BLAKE2b-256 564ed0dae4445eb689f321b280c27d2e82669f2c4c0af9743e21cf760bf93783

See more details on using hashes here.

Provenance

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