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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-2.3.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.3.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.3.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.3.2-cp312-abi3-macosx_10_13_universal2.whl (13.9 MB view details)

Uploaded CPython 3.12+macOS 10.13+ universal2 (ARM64, x86-64)

File details

Details for the file cyt_indexer_sdk-2.3.2.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-2.3.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.3.2.tar.gz
Algorithm Hash digest
SHA256 3710bc5585546aea06d34359cea53564eda6b6dfe0f243faaf5ee40b7b43702e
MD5 efa9c305b498dee1bb2c5fd1c38be7fa
BLAKE2b-256 fe35e28b1b28bd60e667b1a175a659f2aa797afdf08c2f1837e539f748dbcf5d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.2-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 e2147394e6c862642258308a77f58f7ba7a2bc8e85384e8d6007cda4e6292519
MD5 361b8dc2802c5e1ee9dda2fc525106aa
BLAKE2b-256 ff46b676be072d0ff65095fed113e51eac45beed7254e62b504442628cb6d5f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a049e467af435b610aa93ed018a9e3fdab9f81f7f874ac2b9b07813f47730890
MD5 20206a3033b18269ae7b801350cd2fcc
BLAKE2b-256 530ba764773e11ad5686cf35fd817ec828235093cfe11b50138c5393c413755e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ea062c44291850247a434ac31d7e00b80a371f6e41536cff31c63ad8033c6e0d
MD5 c8ccc7b862931f9c46fdb563bd34ece4
BLAKE2b-256 902010bd921321866d4ac0b18e373863a09fe7a259aa0d218a173d075dcde906

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.2-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6c150555bbcde3a99ecf6df5135fe2a6b9baeeafbc2f0e7a4b09619137030af5
MD5 7b46a1da5e0837a044bb73e45f1fc9a6
BLAKE2b-256 f4ac2f24779b8c3f1ccf3c24cca15cf04aaba0ccb25ecf712ff18f14c481a226

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.2-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ccc8d9b59516c604d5fe6c7a592acb09a94857a92380940442cce5ccacecaf58
MD5 49618423f298c38cba15806564bcb34e
BLAKE2b-256 0ee64a9cde3873a94a0442c2167c76f43753291de01d10f0b7aed11afeab0a91

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.2-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 4bee9cc7499d75ccd04680112028ebf07bda7184dc4b21f2bb3861553d9cc407
MD5 a41925079b55885da069bf376f4bf963
BLAKE2b-256 de02caa532d1faaae6d056524c65672f47ebc23184f87ce2e3adf6d1552a3e53

See more details on using hashes here.

Provenance

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