This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sqlite3 | |
import os | |
import json | |
from cryptography import fernet | |
class KeyValStore: | |
""" | |
KeyValStore is a simple key-value store that uses sqlite3 as a backend. | |
It is not intended to be used as a production database, but rather as a |