A very, very bad database
Project description
ohnodb
Please never use this in production. I beg you, don't.
pip install ohnodb
Usage:
from ohnodb import OhNoDB
db = OhNoDB("./data")
my_data = {
"hello":"world"
}
db.create("my_table", "my_item", my_data, is_json=True)
print(db.fetch("my_table", "my_item", is_json=True)) # >>> {"hello": "world"}
db.update("my_table", "my_item", {}, is_json=True)
print(db.fetch("my_table", "my_item", is_json=True)) # >>> {}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ohnodb-1.0.1.tar.gz
(3.2 kB
view hashes)
Built Distribution
ohnodb-1.0.1-py3-none-any.whl
(3.9 kB
view hashes)