Skip to main content

Source-agnostic search/indexing kernel: domain-agnostic content ingestion, hybrid vector+keyword+graph search, pluggable embedding/LLM/reranker providers.

Project description

andnp-searchkernel

A domain-agnostic search/indexing kernel for building hybrid vector + keyword + graph search systems with pluggable embedding, LLM, and reranker providers.

Status

Pre-alpha, extraction in progress. This library is being extracted from mcp-markdown-ragdocs to enable reuse across arbitrary content sources and search backends.

Optional backends

The core package provides the domain models, ports, search pipeline, and evaluation primitives. Install only the integrations required by an application:

pip install andnp-searchkernel[pgvector,huggingface,markdown]

Available extras are faiss, pgvector, huggingface, and markdown. FAISS and pgvector implement the same record-oriented backend contracts; they can be selected independently or used together during migrations.

Integration tests

The pgvector integration tests automatically start a temporary pgvector/pgvector:pg17 Docker container when SEARCHKERNEL_PG_DSN is not set. Docker must be running:

uv run pytest tests/integration

To use an existing PostgreSQL instance instead, set SEARCHKERNEL_PG_DSN to its connection string. The database must allow the vector extension to be created.

Releases

Merges to main with feat, fix, or breaking Conventional Commits are released automatically. The release workflow bumps the SemVer version, updates pyproject.toml and uv.lock, pushes a v* tag, and dispatches the PyPI publishing workflow. Documentation, chore, and test-only commits do not create releases.

License

MIT License. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

andnp_searchkernel-0.3.0.tar.gz (431.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

andnp_searchkernel-0.3.0-py3-none-any.whl (224.3 kB view details)

Uploaded Python 3

File details

Details for the file andnp_searchkernel-0.3.0.tar.gz.

File metadata

  • Download URL: andnp_searchkernel-0.3.0.tar.gz
  • Upload date:
  • Size: 431.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for andnp_searchkernel-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b4b3f3a803c6f2bf404893276d3a8f5c95fb71bc17a21348f66b819f0b46ff1d
MD5 b5ef31b066ef4b6de277667a4a9d587d
BLAKE2b-256 89c24523d59ed42ffa18c548b0d21bccdf74dae39570a5af1cef494bdde0e4f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for andnp_searchkernel-0.3.0.tar.gz:

Publisher: publish.yml on andnp/andnp-searchkernel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file andnp_searchkernel-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for andnp_searchkernel-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96380b662372c036243ef860f81a4fef571ee48a6a9cc2f01eed9eb0b2c5e6f4
MD5 6de6e399df1709d48cf36fd2a349cc8b
BLAKE2b-256 18e0c7343d6d1b8a5ea91fc66a9ce6714eb05f0d29e9b430ffdee54cf65d029e

See more details on using hashes here.

Provenance

The following attestation bundles were made for andnp_searchkernel-0.3.0-py3-none-any.whl:

Publisher: publish.yml on andnp/andnp-searchkernel

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