Skip to main content

CLI utilit to find info in file system

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. Search

Search for content (returns top 5 results by default):

python fastkb query "your search term"

Commands

Command Arguments Description
init - Initialize database and FTS index
index paths [paths ...] Index directories or files recursively
query text Search the indexed knowledge base

Query Options

Option Default Description
-l, --limit 5 Maximum number of search results to return

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.2.1.tar.gz (3.7 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.2.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fastkb-0.2.1.tar.gz
Algorithm Hash digest
SHA256 28a0eb736e553a69dd601adcf68b43d958bf4db7be816e1bf2d72976d1b77bdf
MD5 0032e7ade7481d46c101b039cb03af3c
BLAKE2b-256 6c4eaa9378e1de58ce954d643de290d3fc164878630d69e1911b9fcb69d477d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastkb-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2aec89cd1f0bfe5b3d85cbc470143c8b84d4421703debc5cc92ce4662f9c1d88
MD5 950341116c4ecc42ff4ec35c8b3471ac
BLAKE2b-256 52530de4b5a98dbf4928d746865a3f52497a64a6094967bef7846ef06bbe245a

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