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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

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

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-1.0.8-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.0.8.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.0.8.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.0.8.tar.gz
Algorithm Hash digest
SHA256 990c074f8b2ab44fb58fe5816119e42d91361c48746ece950971fff965790acf
MD5 b10bd2e793fc16f6b55c3a932399e81c
BLAKE2b-256 d05a62c4d4d1a83c06a1610bad45f595e0d03bc5aa0df3775b86747bdcd4c4d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.8-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 0e5820cd2b580c87086a59188a60aaa1bea7d775065a2bd0ae91829686626037
MD5 342e649aeb6d8fde34c2ac734c991043
BLAKE2b-256 1912d6e60c0cf060b2241c4fde24dcc28096361033e1384a097112eeff3b578a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.8-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b2e1ba739a5489bf7c9b8cb7c475bfce8d612ee50704e8fa44bab0d6a237cc6b
MD5 e22cef16de515192e456ed76471872e6
BLAKE2b-256 b7b7d75de35b1e7aace1b90477a8be7d13f5f17745f7557256358205c0c69dcd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.8-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 93f1c739ee1dde4364ebebb01cd9ef69320d9e6f1b5936a0254eb03778438f6a
MD5 6ed2da5587934cb1fa17f1b8888e1da6
BLAKE2b-256 9932c1728510d9fdb5f433fe9d0086d8ac3f506d1b1fc3383a3244db8e9caafb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.8-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 896ba9daa42e5818be469968c7b9ca354432ffb73bb7fdf9127900c95aad4502
MD5 c711d6d536bcf6ff4b868caf95c64064
BLAKE2b-256 f9184146ac2eac091c793235e96c32788a4ddebfdcca68b1b64210840d85a232

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.8-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c09dda6be4ab9dc502fd46ffe0a4bf875153145dd237c7115bca3d59d5c4dbe6
MD5 66020e1f6e5c84538e8447c08de92820
BLAKE2b-256 6a38bf5e21800552b3a6c3cd70fb03178481c233d3f044b363b03c3d2c807810

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.8-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 9c27b0fe1ab096e43a0752239a3bd386fb25c8567f6ebb9b0e7f8b76b14c8bf6
MD5 692bcfac1cb70bcca5deef740b3e936e
BLAKE2b-256 68e4381d34376c53870ba40db74a3f19783bf6d75b2fe4b5177ed1500736abd0

See more details on using hashes here.

Provenance

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