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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastkb-0.1.1.tar.gz.
File metadata
- Download URL: fastkb-0.1.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec343b3033a9a5a4e7f4ed6f87d62f844c5621f10f44df180c96898f4d3ece0a
|
|
| MD5 |
cb55d375957e9a7600b704cde788f9a4
|
|
| BLAKE2b-256 |
bc7a07bf08466a89713ba56a0849241edf4f66d554f2d6c272876dddb4cf9d94
|
File details
Details for the file fastkb-0.1.1-py3-none-any.whl.
File metadata
- Download URL: fastkb-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf52a06019487bdf1c9e8572cb92f47a10419955944c369de4980ed8f8e16d28
|
|
| MD5 |
09093b2117ca6da98486d1d8ffecd34a
|
|
| BLAKE2b-256 |
e70a6568b1533c31ca0afb7c4a9eee572a4f32a7fda60b8a717ddc30776cc8ff
|