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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-2.3.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-2.3.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-2.3.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-2.3.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-2.3.1.tar.gz
Algorithm Hash digest
SHA256 ae29df4fed6ea4846f689836de12d4176d5e35f85ad776bfa4ca98ef272fdfce
MD5 20456d55c597a7c82f94acf78cda0e39
BLAKE2b-256 f83b60d0e7c5c166c9f215b11c90a6e65b4c65ca4e8807db1b4fc0797a1c2b36

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.1-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 82254c86bce723a80f80a587f7c893dcf8edc3798df42a09c6a24941cbf3a2d9
MD5 fb0670493e429d7147a3827f0d2d612d
BLAKE2b-256 f2a1c92bc223fa100335b71b3135adcf1094fbeeaf1e9c3292588ea71f6f24ff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4cd736190f153ffa67cb88a90c1a319692789d142c1dbaa78502d2117de37e8c
MD5 6c7ee38e756b1fc6a0bb9142219ac4b8
BLAKE2b-256 9c252556b013beb192b04d7dc1a292dd2a98dbbac99debd947fe538d6adfc4fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 056e66612e234b872e95aa331e5eef7de8e5bbd6ac2da72820151e0c3f41b3cf
MD5 f066402116f8e2a0076bdb28a5090522
BLAKE2b-256 28df0b59c1bd391bfe810445c4f2f16ae79b5ebeed7b46a1eb7737c4fdd6ee0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b616523d645c5034425d0074d57c98e51b2d60c53f4c9daab30c231b0176609c
MD5 89ff431a48ea74ae574cd817006b4463
BLAKE2b-256 e371b8c4a1bfea3567683c59bbe8162b6c6a3d11bed4af1b5e0b14ba880d039b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 225aaea81f0a32125a49935e794b19d382dedd97d8e53ab76812ac8d4c47b45d
MD5 e9dd4686fe66bf42b224ed7fc17ebe5a
BLAKE2b-256 8838ac702fbd0f48c233f6d042f5bfa1f21a2813bb59466cc7b747bd687d014c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.1-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 95e750e4d5463d01f778ae34e3041d0d9867e005516ad8402773c1db0f389eba
MD5 ae4c8c1a814de7cc37e8bab900e3c109
BLAKE2b-256 0141347fcc734c40ee99a140286693c629ca6ab6edaaa2a17a8d1062fb61925d

See more details on using hashes here.

Provenance

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