database is a simple, shell-callable interface to a single-table database. It uses the python3 "dbm" module, so it will attempt to find a suitable database technology (Berkeley DB, GNU dbm, etc.) on reads, and create with whatever it thinks is best initially.

It runs on Python 3.x only, and passes the following static analyzers:

Usage: ./database
       --dump-keys filename                         dump keys of filename
       --dump-keys-and-values filename              dump keys and values of filename
       --dump-value filename key                    dump value of filename at key
       --write-key-value-pair filename key value    write value in filename at key
       --erase-key-value-pair filename key          erase key and its value




Hits: 2239
Timestamp: 2024-12-27 07:53:06 PST

Back to Dan's tech tidbits

You can e-mail the author with questions or comments: