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

Uploaded Source

File details

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

File metadata

  • Download URL: KnowledgeBase-1.2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for KnowledgeBase-1.2.tar.gz
Algorithm Hash digest
SHA256 690888892cb0fabb21dd26314e26651e48ee1d545ea516fe224554edf044095d
MD5 d39826f93522d5f4170d576775735ed6
BLAKE2b-256 920dcb224a065051b46921452c47754728db9c18645995faa484beb90db002dc

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