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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.4.1-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.4.1-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.4.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.4.1-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.4.1.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.4.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.14

File hashes

Hashes for cyt_indexer_sdk-1.4.1.tar.gz
Algorithm Hash digest
SHA256 0de621700a13dcc4258e9158eba96a4a3cb9b7383a90c3ddaf1ece39f634098e
MD5 11c371d7c242820ae98f50d7949be0d5
BLAKE2b-256 04b2541a9187b289854230d18a933adeaa0497fe4f1581b72e37cf0a365f1a2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.4.1-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 af0e369f1752d5d209e0fcabad8726a5ceed5cb6b73639d9cc45b7fd6fa395bf
MD5 f984ac0cc5264ad1433a8c670cb42dec
BLAKE2b-256 e784dc959e8d861d928ac51fff6addd0ee25be8372aee78d64d01d3ca2e19568

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.4.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 304ec49696ff239ed3af6679d153b60231792fd6cd6e6b05695cd69969f30139
MD5 a986cab1665316372f2624737b99054c
BLAKE2b-256 67e3d9b5dd42d92cfc777017b2b5f74299e05f00ff81796cdd4fc018bbb8957c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.4.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a94d0f59d333c80355f8b5583971857aaf76963d02f24265614b6b5edfbc8b22
MD5 03305f6aeb4687f742cd8651df3e2bca
BLAKE2b-256 5744fe8cd9207caad527491d7a0abd7152aeaf2694e7e4c207a3a2a6c00326e5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.4.1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f3487cfe49fc33218621f3e079a45e7ecaa8731806dc083cbc676408f662e797
MD5 5335fb349d7d8ddf9e4fb81acd0b4d43
BLAKE2b-256 3e8d2640929f60cc8ce102b50331cdfb52eaae83963587eb8cd7504de9e6aca6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.4.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9fa4aaa72fc1733fd1eb6fec99f3d336dd3933d55cdd3978f9492e50b9764aab
MD5 846b198c6b0ec4d6a96f6f0494e497c9
BLAKE2b-256 03d96e241db1a24de1af15efcdd76250e1ddff911a761cd68ad2e5cbeb7cfda1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.4.1-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 acb2dcb120988eafc59b6323f9ea5b390387ff5b8254a697b0e3f81b844d7393
MD5 96c1dd20c781e7c3c75d94ea7d025ee3
BLAKE2b-256 bd67e670c3e5c9c152444b75fc877affefcb69433bce1d36f6899d5508a5c390

See more details on using hashes here.

Provenance

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