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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.0.5-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.5-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.5-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.5-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.5.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 06d01860c4084d43ffd76eccde7fd507e6e0e96840198d931c25acfe7697236d
MD5 bc47ff8d5403355da2efce0b053cc286
BLAKE2b-256 274992e0e6f2b219f2ee825076d28f3a5e92e824b27759f8b8d8a172558b1c16

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.5-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 388989d0ca8664f07b1b1353e76bcce06a68a16e790c76746f468d0e186d07e8
MD5 daa6fba36eefc438c9df6a5ea16d23cd
BLAKE2b-256 3abbefc9b753b71b036b1e83c41ea4c2bcbc3db2f6b86c304a5a8c8389b4658f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.5-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d976dd48409ca1b39b79854c87c1d41cc190eb2551246828ac90a6f266f4ed55
MD5 9d0322d46d3a40fbabb21fd987d62426
BLAKE2b-256 4cce13b8625f678f391fa8d10b8b1561bd7896471380b3f45e566d8da0b50469

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.5-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aacf4b76662d34427d88fa1b008faeada13f56837257f22e8946e744f63ca1c5
MD5 bf9bc2324d1258a16724e2e2af357876
BLAKE2b-256 e7b68749a60730b675733c1739dbfb403d23c171c75b0d625b0cd42365c69acc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.5-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bb349f30b5ab09c4b90db4bfbe6de84cc20c2d8fc3d747f5ca530e66cc499f40
MD5 8ad898cfc63cea39e42066eae5338d80
BLAKE2b-256 ce7983ca5fc8ed380807269bb4f94a9322650acbbe2d54680d5775641923ae31

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.5-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5227819559125f7559e2eac8c961979ae6439e523ea61020d1409d8b18d098d5
MD5 5536e47b15d48ad2c32573e3f4dd28fb
BLAKE2b-256 1201959ea270237290495b1e63bc7642ee9872da2b6001fb8fda15c273c26141

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.5-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 1658a77b738d6624f964bf06a3472d5ecc920856fc2e2fe76b9e9b1e63b3c608
MD5 4082567431ff702553da0c31f3a9e71a
BLAKE2b-256 c02784e8dfbb997d25949f556dfec0bbec5f43c8f45a53c09ee92b5711ff5d8f

See more details on using hashes here.

Provenance

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