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. 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.2.0.tar.gz (3.0 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.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastkb-0.2.0.tar.gz
  • Upload date:
  • Size: 3.0 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.0.tar.gz
Algorithm Hash digest
SHA256 e55977d6aa59f99799fa4bc02ae45fe571a42b5b4c367fb985831c9a7268b947
MD5 f0e5b25d26aced68f3a2495a7836fcd6
BLAKE2b-256 8ef62bebea58765543920d442b550920afacd57f8791d687fb64aa8c01b7b8a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastkb-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 57106d86bf6d9f7008bd16e779c3a3e2c976bfee4ec07295aaa9a1cc818f1cba
MD5 cad374b8b9f205082033fdf95d3b8d6f
BLAKE2b-256 04e67b99bbbaa6cea0353b230576cdd269e199338b01e1c87d4d33005c7f8190

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