tinycdb

Create and read constant databases for fast key-value lookups

brewmacoslinux
Try with needOr install directly
Source

About

Create and read constant databases

Commands

cdbcdbmakecdbdump

Examples

create a database from key-value pairs in a file$ cdbmake data.cdb data.tmp < input.txt
read a value by key from a database$ cdb -m data.cdb get mykey
dump all contents of a database as text$ cdbdump data.cdb
build a database from a formatted data file$ cdbmake output.cdb temp.cdb < data.in
check if a key exists in the database$ cdb data.cdb has existingkey