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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

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

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-1.1.1-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.1.1.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.1.1.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.1.1.tar.gz
Algorithm Hash digest
SHA256 9abf4d84a59e31223ec4ece57c7c154e661bb19958c91a9d255849fa3160a848
MD5 e155fc280aa3a2347d51fabe490ff70f
BLAKE2b-256 e54b61ee86f11c60d18623b00e407bc4ad88a8a204735c9e4bb7353e189021ff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.1-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 cfbd929d373112a89f868697e02d4e1ff5f1e3f874662f0fa69f9a2ccb365ba9
MD5 ba8a7b8ea6b940da4f3206957f5bb5ec
BLAKE2b-256 80dd74b0f22af35b0cc80aca08de9a35e02a0c619d6d84c6dd367dd715baec9f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 673c502910d9257b64a188aa869055a02f495a9caf357970eaad57b1e5d144eb
MD5 df446decbd2bddbf59bcb4a1b7d603cb
BLAKE2b-256 3eb6a92ff31d5cbbfd9272aa8e47844ad4929df23747627701936e50d4687a7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 de843dbaefd7770886d1442d808a3251f5c467188caa65b12c2d083027c1609b
MD5 40bf0bbd7b09bba22f7ea0c9cf79df80
BLAKE2b-256 14f8e7fed6648a6631fdac002fe76a2d28923d9b88a53bc1b4baa813b8afa736

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 323fbd34a1b6d62a866fefeeb7b95b2a81ede2fd45e281e975ee9b9804cca3d2
MD5 369af65e2ce96cae2bcc4d51e27f66f3
BLAKE2b-256 d87953f456f8a143efd24e3f3494196e124ae4fa5bece2b65f24c98a10dcb91b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 482c5719b834322848c39481aa0723c5e77cedccb80dc92b78516d3aa2b82483
MD5 f61184f5964569af05817b77fe5aaa6a
BLAKE2b-256 3b8be2f245b1d88030443b925a729dd6dc2404a2823bbf002fa2871de17992f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.1-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 fef867f774139d0cfcda71a672a70b0d6a550644491980c699d75ce9531a3fba
MD5 1e30181617241cb4b4832b4c6ef63852
BLAKE2b-256 e4ad6df3dbfc65a00294745a2774373a0925260f2663998f4c6e6f2a51f02fe5

See more details on using hashes here.

Provenance

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