$ apt-get install db-util
W formacie hex:
$ db_dump baza.db
W formacie drukowalnym:
$ db_dump -p baza.db
Pakiet: BSDDB3
$ pip3 install bsddb3
lub
$ apt-get install python3-bsddb3
import bsddb3
baza = bsddb3.hashopen("baza.db")
print(f'klucze = {baza.keys()}')
for k, v in baza.items():
print(f'{k} = {v}')
if baza.has_key('abc'):
print(baza.get('abc'))
else:
print("Brak")