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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-2.1.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.1.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.1.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.1.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-2.1.2.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-2.1.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.1.2.tar.gz
Algorithm Hash digest
SHA256 8dcef87fbd7302dbb92ec02b4133a043f1cd21f420b961b725d4610544ce0073
MD5 eeb4e8c0ff15ac475a167031c0e7f02f
BLAKE2b-256 11b26a7bfe57ebca4bf79cbbc3160d94229e44b8ad71ab188943a2d15deda710

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.1.2-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 44c4497423086b70fd76eaf4b38807210fd775f479fd20cc423fd978e9ae3153
MD5 d3b606897c20484267ae71a545b1a4f8
BLAKE2b-256 82d96d8d489d16c02529263cd6e920e60eb26bc2cb56781aeaa7e0bd6ae8f442

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.1.2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 69f019cf1cb15e7da112446c997984a669191090c44ef0c57394391709165344
MD5 97f1ef2985b4581455bfefa1a98615c1
BLAKE2b-256 35308f3b70535144ae03a905c9399925a447dc4b1c7ff193884a4036cf4d9ae1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.1.2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 789c0af3f3d2a4c79649a46aef8dff34cbd748f8a7dd3e435e277fbd129c2990
MD5 b4488bc5e82034dae9c4b1aa463ccfec
BLAKE2b-256 45c3f81e8540981ec60f643f83ccba04c607212827d18372da8d0f4be29faeb5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.1.2-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 47403205998e65d02478f3d0bf3c38de8c4be991d8a33f5e50e01841fd3e2102
MD5 523826e30d068ff66971353d9d092f5e
BLAKE2b-256 fe37ae1d04cbf365eca429e8226cf977fcad4d8895ba2daaa2067b2cfb7b327d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.1.2-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4c4e9c099d26146a7db2e66e860fe5f2755d767c5a9d7be190a26f794ed71b8d
MD5 7adf08a7a191cfc0600b81a71bb289db
BLAKE2b-256 5c50da0d90f4ae0e580f6005c3d87e63dac99e754758b80a5117d5fb790fbf9b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.1.2-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 500d552917695ad7c9679c44efc286f0e92225271935c98fbc3009016fe7bd9a
MD5 86c5076933fb045204facf0c0d620af6
BLAKE2b-256 b02fc0ed7bcaa139f246a4b4da0b16f765ad3112bebc52ddbd267ad1041c0459

See more details on using hashes here.

Provenance

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