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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.0.10-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.10-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.10-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.10-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.10.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.0.10.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.10.tar.gz
Algorithm Hash digest
SHA256 54edddde65c48900f867cca39acaf2da895eaaced2dff64885050cb1a1adb3de
MD5 d450624dc068c56113af8b41726bd2ea
BLAKE2b-256 d198fb5f8a4ab6df2b22ab45d71d3156d8bdd3288040de1e1c5a991258939173

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.10-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 33736450156f8cdc5dc1b31d9e8e9bb7e538db6dd7abdb769197b32cecac8937
MD5 837e06d3fbf7aebe026f4d38c817ebc3
BLAKE2b-256 22baa94de5ece02e9161995cda0471a72ce7140bb59430455825d7ba3308d2a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.10-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 66690c7c5dea0add98ff32028974d7d3fc37f3a747ba77f679604ddb1d7e5e6e
MD5 078e8b1bec22bb8d4536ed22c4082053
BLAKE2b-256 8d727868dab65ffb29616425310ce1cda76894542822bb86ae8bac9e6b2d263c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.10-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0eaeebc6fc30afa3a20c9d2de53fcb0bb757771fe5bafe07e0c840b24e9d4987
MD5 830c120b1dfeb0124344bcf87dce2709
BLAKE2b-256 b57f1f0f2821ced74f83ddeb54686da7128ffae8451d877c1f47076338b35090

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.10-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2cf9d360753397df45ac7ebb122d634ecc9096e2954f716a693880f5ee4b61fc
MD5 6aebcb69475837dec66fc5aad5030dd6
BLAKE2b-256 90e7a128ba18cde08f68bcf35543e4e0320ca928a102ca98c3004a2bd309156c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.10-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6709711a8bb67888ce409d4ff904f658ea98180d057a7139abe33d38581d9388
MD5 5efda9d9798d43429b2fe3622e531921
BLAKE2b-256 3b103e49cfa7995bdc640c0becbe949a6cde876dd40306e775f04b872ee7d006

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.10-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 5c4f34ac12e4bc34f5da299a977f9e38bc04b0c0f42d2f2dc18d9da796897e50
MD5 6e5975444b7bf0f1613da28a4ce5faaa
BLAKE2b-256 e5faff54e4ede40fa35f2db4cf9f2b2aad55a7d58936b125578febdc2360ef6c

See more details on using hashes here.

Provenance

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