sayt2

Community

Build search-as-you-type apps in Python.

AuthorMacHu-GWU
Version1.0.0
Installs0

System Documentation

What problem does it solve?

sayt2 provides a Python library to build a full-text search index from a list of dictionaries and query it with substring matching (ngram), BM25 full-text search, fuzzy search, range queries, sorting, and more -- all through a single DataSet object.

Core Features & Use Cases

  • Full-text search with BM25, substring search via ngram, and fuzzy search across stored fields.
  • Sorting, range queries, and caching via diskcache, with validation via pydantic and a Rust-backed Tantivy engine.
  • Use cases include building search-as-you-type interfaces and fast data retrieval for Python dictionaries in various applications.

Quick Start

Create a DataSet with a fields definition and a downloader, then call search to see results.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sayt2
Download link: https://github.com/MacHu-GWU/afwf_github-project/archive/main.zip#sayt2

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.