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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.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-1.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-1.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-1.3.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.3.1.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.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.12

File hashes

Hashes for cyt_indexer_sdk-1.3.1.tar.gz
Algorithm Hash digest
SHA256 3666d30c9b8fa3e0d1c9ebf2d21d970b57d55e24cc44b2b4a48deb4b0c58890e
MD5 f783cdda2b0ac2370b8571fe18f4364e
BLAKE2b-256 5d51890c90f332c1ddd580edbae897b2c9a562099f8007cd616106901f171a75

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.1-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 171c56fe6c35040c29ea0d39f4cfe52ba56113964ddef9955e10bf09d8202fa0
MD5 b3886c1003f99ea24f864204d9d4cf87
BLAKE2b-256 875713ba7dafc8a9fbd4cd76f7cb352a1ec3f0f41e5f3d45894de77b097c8c0b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b3c8c4246bdfcdd6af1e214b7d90bc8d71f62c25b54f557ec0358a58b767934c
MD5 0ef6a5f5a01ce517de8153c8b9a3099f
BLAKE2b-256 156f565cbe0b0241ba8acc310c61c93e35daac6fe0ba95cd362c8291093722f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cd28d890113ad6ae95e28d4356ae6bd8ad6b12d8e6ba4c366abd633b610526f8
MD5 7ff46e0813aa113c7d1ff3a274b0d502
BLAKE2b-256 06e2df500a295a7d457ba9ff832be5d17a05afda46e801cd7f7ac19f488ace06

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1904409eea90d6d4591438e4bd9187fd658c9756777e1c915eefaad9dd3b54cd
MD5 a87b2602ccf94b85a436e7b85863145e
BLAKE2b-256 4a2105dbc019ad43f0e56e7e864ddbdd18b9372ea885ee5c7cbab90afb594a3a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d419771477c25b9b303e61ad2b5c3273a7ab3735e9b8b7b1c7f34af1c417cae
MD5 69a589f9a5044b0a910c0f2987be5a08
BLAKE2b-256 45fc520935dfca095b8297fe14d0f5dd7dea91ecd452b7732cb27df2de79f3c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.1-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 a7881d5ed144e1a919fad206f6161d77205010dac11b6a8da621e90698e971a5
MD5 4a54aa0edb4b50b69bd731c83347dfcf
BLAKE2b-256 aa39c6abfd783b9cd82dd3f450e95be47899aec4b2d9325e80741af129f8d8e4

See more details on using hashes here.

Provenance

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