Skip to main content

CLI utilit to find

Project description

FastKB

A minimalist CLI tool for indexing and searching local text files using SQLite FTS5.

Features

Fast Indexing: Recursively scans directories and files. Full-Text Search: Instant ranked search (BM25) via SQLite FTS5. Auto-Sync: SQL triggers keep the search index updated automatically.

Quick Start

1. Initialize

Create the database and search triggers:

python fastkb init

2. Index

Scan folders or specific files:

python fastkb index ./docs ./notes.txt

3. Query

Search for content (returns top 5 results):

python fastkb query "your search term"

Commands

Command Arguments Description
init - Setup fastkb.db and FTS5 tables.
index path [path ...] Index folders or files recursively.
query text Search ranked results by content.

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

fastkb-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

fastkb-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file fastkb-0.1.0.tar.gz.

File metadata

  • Download URL: fastkb-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fastkb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 db56b06cd2131c456f1a6e7495c2505754bb7e89424169b3f9a9c5219eeb012c
MD5 7d41ff98c14dfbc654bb232139b4418b
BLAKE2b-256 44e0d965d9788a8a6109539d14399c54de225062c815036f88ea11584f076cbf

See more details on using hashes here.

File details

Details for the file fastkb-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fastkb-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fastkb-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35c5d7cf50b0259b938f1976ca0727101d49d7f0bb9a234448decd1a0a0638ea
MD5 8472e346c26172d439bcb80c6560c983
BLAKE2b-256 426f0c78d65d373ace40040fcfe78cc878ebaeddd6ae3c420d1664a4637e9317

See more details on using hashes here.

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