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.4.tar.gz (10.6 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for KnowledgeBase-1.4.tar.gz
Algorithm Hash digest
SHA256 09390eb41cb14f143db08ac1f0be97fe3dbcb78ea082344c64aebfc018701cc3
MD5 248f84fd558d6d1287b44a0974f1ec02
BLAKE2b-256 12b90f2b1d32ada1cba50b9b28b2390424ffbd53b57294f876d9ddbbd1173558

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