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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.2.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.2.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.2.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.2.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.2.0.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.2.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.12

File hashes

Hashes for cyt_indexer_sdk-1.2.0.tar.gz
Algorithm Hash digest
SHA256 e3b385feb4adb61dd354f645260f942f48e0d28ea80b12416338ee86fdcfa0ba
MD5 c9791350a1f0dcc9e1d9b931c7e6057c
BLAKE2b-256 51da31119c880b37cb5e82020ce205a3ac7aebeb2c4901a377974f9ce9b5d2ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.2.0-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 27569568e563492cc1164832dc6ab91787a54d872021e59dd36fe86164c8926e
MD5 001fd1d5bb2996bdf97f3a8081cf9c33
BLAKE2b-256 df1dbfd8999d72baa8f74c7994a9dfa605c13d37279404d29efcba1c6bea72b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.2.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 864fbcb2321f7fd08bc7cd0cba905ca4499a631e9d69b85f7ca509b32459abcb
MD5 03477aee7aa703194adde3eeb8569759
BLAKE2b-256 62580eabd8aab96963dbee9c2666a3927724352aa33ab8a6b704a91279f24c37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.2.0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 af4c378d06983062a26c8ca157da3c4db8a368f730671bc09ac6bd31b1cc8831
MD5 7a6412c7e17db0d1b12f96b803819933
BLAKE2b-256 c3ec09e4f6bdcd1885f6163d076a91c70190f927434b5c4d8f2a52078043193e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.2.0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fc789c2fbe1922f6aefd68adbbaa8585f282089cc2f407ce1ccabaccfcd010e0
MD5 bef1b783f128dbb62909ca7278c17aae
BLAKE2b-256 66c7c84d78d84a1371b7a488561886c6930267cc1d866215d440d9d16225f0b5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.2.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7a1680f0516262f8e93cf0be935374256da5035a1fca302b517aecffcc1e2b21
MD5 9d7cc444db1f879db1c54e81c3e68687
BLAKE2b-256 12a417c53b5f0832f03b3a7cf8a54fbe5509871bb899ebe62e2501184ae9fbe9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.2.0-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 41eabc5c56177f591396b783a1df3019dc57eec4aa855fd04ea391f351a91006
MD5 051f1ebaaeab1b7704525c0b112cff2d
BLAKE2b-256 36b4ac6372b9b4eb36fb8623e31853972b7b67b5c300536cffe06430ab9ca0f1

See more details on using hashes here.

Provenance

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