Skip to main content

No project description provided

Project description

Knowledge Base CLI

There simple concepts you always forget? Do you have a lot of notes and you can't find the one you need? This is a simple fuzzy finder CLI tool that allows you to interact with a knowledge base saved as notes.

Installation

Just run pip or uv to install the package:

# using uvx
uv tool install git+https://github.com/joseph-pq/kb-cli.git
# using pipx
pipx install git+https://github.com/joseph-pq/kb-cli.git

Usage

Create some yaml file with your notes. For example, ~/Documents/metrics.yaml file with some statistics concepts:

precision: |
  Precision is the fraction of relevant instances among the retrieved instances.
  formula: TP / (TP + FP)
recall: |
  Recall is the fraction of relevant instances that have been retrieved over the total amount of relevant instances.
  formula: TP / (TP + FN)
f1_score: |
  The F1 score is the harmonic mean of precision and recall.
  formula: 2 * (precision * recall) / (precision + recall)

Then you can use kb to add this file to your knowledge base:

kb add ~/Documents/metrics.yaml

Finally, you can search for a concept:

kb search

You can also run kb --help to see all available commands.

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

kb_cli-0.1.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

kb_cli-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kb_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.3 Linux/6.8.0-48-generic

File hashes

Hashes for kb_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 54b97aac1e456dfaefd3a849066e1683fab29800bf63894b08d153a1ddee95cc
MD5 4dbc84fdfdf0993de8a718f36094f9bd
BLAKE2b-256 533e8cc72ca96d8c1af9fbe60537fb259051d0a19fb8c1a9d37c16e1fc3231ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kb_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.3 Linux/6.8.0-48-generic

File hashes

Hashes for kb_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32f207cfd3b45b863749c1b15cc9db71c16ee9432e3c2ebd1376630aea9f229a
MD5 78211e87e05c190f32c99eff3cb79c76
BLAKE2b-256 7d0389558c17f9a0171331b233d086cbfb56bf86a41669b15a4883c6f8184a8f

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