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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-2.1.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.1.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.1.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.1.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-2.1.1.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-2.1.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.1.1.tar.gz
Algorithm Hash digest
SHA256 10d3de1e01b60fe04bb899b4104fc22953667ed0fbad7cfa7b0c891c49b8badf
MD5 b87eafb6be3a352311d0c06b1262cf9c
BLAKE2b-256 2ebebd33b736022f103dd940857eb20a7298352f5f82855440c31c02a85da345

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.1.1-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 8a4d6977e8c3e3c5e130cad22ff2410437252f8bb470a5f9f365e8622f8588a4
MD5 714a66ac0eced02582a87cce55fa2383
BLAKE2b-256 9e677e64f2831502523670faac7acddf623e37eea087a859b50dab4ffb19f679

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.1.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b375ee1ab4f8b213ed5adccd675b32a5766e2afb85036d9b29b01cf757e500f7
MD5 0837da38fa4d0a316cb553321e0ca4c7
BLAKE2b-256 fd9267902ea3f03f500c90da29d2d8f735e7d60e855e14d8edab0e6200bc41fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.1.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bc71fe8458d67ab50a16c71968f39327b3e12e0b396a92faecc6c6454fc60170
MD5 3b8113c0ef31d5172a52cecb3ef4bcde
BLAKE2b-256 6ba3ffc48768777296bdafa83330f2b86921f5fcc2fa15585f1f8b33e7bc1ce2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.1.1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 819f18a08748ba08f5904c43030548c4b4611957105130e0f5390c30ee025d8a
MD5 514d2604e31595860f9aaf93cc6491e1
BLAKE2b-256 bf951afcd08464d7f09225ef64993de2161b8c0d90e0c35e55503a0caca260ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.1.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 249ad78095c309a3375140e036798c6858b58810d47c10b160170a2692bc4d40
MD5 ee3b42411d4abade765f3ceabf72a936
BLAKE2b-256 a8ca267549c1ab8490db56b1f0b32c8bac9dd076b793bad13e79857af90aaba3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.1.1-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 702cdb7cab4f93e4b89573f12e098a6d67ea199f4c52bd9d02e24e7b08e252e6
MD5 ae748f2a82cd0c9e57c0d5f9e8c79055
BLAKE2b-256 1eee500f28eebf3a5a68c10b5c23dd6f40e58f87500d86f990a90c6653ee4855

See more details on using hashes here.

Provenance

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