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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.0.3-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.3-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.3-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.3-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.3.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 e1617019336f07cfbe31363cb41a02065b5621b05d0a52e8b4fae114ae47f0c8
MD5 043b76a9bd59b244b0c55be64ec3332d
BLAKE2b-256 7a7ddf5a33e5c46d5fb2edde987d0b5bee053a2dc0945219664a256759d8e064

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.3-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 9236780ca5e3883f17241eb93fb79ec359a54359c27e5678192147ecfcc30463
MD5 731d9dc4f2419a4fd66ba7aa64a93494
BLAKE2b-256 1da6bf0e30a231fd43c0ccf89e5adc3e0c356031ccae1447bc12a577d43b6184

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.3-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9173ab282fe22a7be5824400952a41c9592c6368f245abda46468eb80b57be17
MD5 6baec672b521ac937a33830f22164703
BLAKE2b-256 af117a82a33293c912afeee774f59e88bd9838703e75d3407e24145f61a2e861

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.3-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2afb12b48f6b453321263dbdb89b44e243441d5182b66f5ad979356159d9f7b2
MD5 314406b0e0dfb8553a09b18c98103a9e
BLAKE2b-256 7adbc9fa9a49df396fdaeaa1e9ce9f31dd64a9f706142c899ea783ca985aed19

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.3-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b9b895623f6e8d05a946f24111a95ea8c562ef536c531ff2eaf1f44de38c2f89
MD5 f5f5e3834c343966b9e23b8419cede4d
BLAKE2b-256 3be6d3f462edb7235e6046d6d18665c6a278e46b71c27b44a7026fc96b5fee0a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.3-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 369d7c453196655a6c4cf059dfb1c3dbc4fb7c2e2edb0adf9b64760e0140d348
MD5 dafaa59cf57ffbdd027e30cf1c9d30e6
BLAKE2b-256 5b27dc7e5eecfb0c176d86d0b9d7ace14abe279a841e9532f80bad3a9a102a7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.3-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 83a41d1a1524279fa8bad01d8533aac5c67511ee1c9044b0b5be2fb073c085a1
MD5 fa530479c7b5f50b94c3cd4ca5cd8de2
BLAKE2b-256 d7d41824abf0f49f0524a05b7c2d0001412ec10dcad744c99b767f7c888c91ce

See more details on using hashes here.

Provenance

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