Skip to main content

No project description provided

Project description

useful tools for the KnowledgeBase

KnowledgeBase by Ingo Straub

knowldge.py

tool to read/modify kdb files

$ knowledge.py -h
usage: knowledge.py [-h] [-D DATABASE] [-e EXPORTDIR] [-k] [-v]
                    {clean,deArrow,export,import,inspect,load_excel,load_opml,query,replace,sort,args}
                    ...

positional arguments:
  {clean,deArrow,export,import,inspect,load_excel,load_opml,query,replace,sort,args}
                        operations
    clean
    deArrow
    export
    import
    inspect
    load_excel
    load_opml
    query
    replace
    sort
    args                print the values for the args

optional arguments:
  -h, --help            show this help message and exit
  -D DATABASE, --database DATABASE
                        Knowledge Base database, default=Empty.kdb
  -e EXPORTDIR, --exportdir EXPORTDIR
                        output to export dir, default=export
  -k, --klobber         klobber db
  -v, --verbose         verbose logging

usage

to inspect a kdb do the following;

$ pip3 install KnowledgeBase

$ knowledge.py -D Recipies.kdb inspect 
Recipies
Fetachini Pesto
Corn fritters

or you can inspect with filter parameters

$ knowledge.py -D Recipies.kdb inspect -h
usage: knowledge.py inspect [-h] [-n NAME] [-r] [-c] [-a]

optional arguments:
  -h, --help            show this help message and exit
  -n NAME, --name NAME  the name of the element
  -r, --references      list references
  -c, --categories      list categories
  -a, --attachments     list attachments

which would give you filtered results like this

$ knowledge.py -D Recipies.kdb inspect -n 'Recipies' -r
Recipies
	Fetachini Pesto
	Corn fritters

outline.py

tool to read opml files and work with kdb loading formats

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

KnowledgeBase-1.5.tar.gz (10.9 kB view details)

Uploaded Source

File details

Details for the file KnowledgeBase-1.5.tar.gz.

File metadata

  • Download URL: KnowledgeBase-1.5.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for KnowledgeBase-1.5.tar.gz
Algorithm Hash digest
SHA256 dc92c5fc4a44e0101ec047e022e16690cc3a036ba77adcfbd50349eebd04954d
MD5 6bb78eb019483fda72e251e0186a754c
BLAKE2b-256 8bbef5c1def15e1ed31bcc0a2e5f66dc00b4111cdcff9c1ac6557b89454912ba

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