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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ohnodb-1.0.1.tar.gz.
File metadata
- Download URL: ohnodb-1.0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.8.5 Linux/5.4.0-72-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1d110ae30b7ced09f908838619b16fea20bcaeb7118df3f6a317d830562ac3e
|
|
| MD5 |
0ced33dc0489af512a0b26759ce98869
|
|
| BLAKE2b-256 |
b0c584da37f05c1d6072ff5f66d6a97c4c87e84ab37c9abd028be7206f2cb6c2
|
File details
Details for the file ohnodb-1.0.1-py3-none-any.whl.
File metadata
- Download URL: ohnodb-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.8.5 Linux/5.4.0-72-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa7a03fd75ee2993673e682a24c8387cf07c8f7f8543dc7b4b9816abfe3183f1
|
|
| MD5 |
73442395b56d1ad9d0ca52441dfac967
|
|
| BLAKE2b-256 |
116053740fd62b8e41b9ccfe6fc522802140fe510090fbbd6fbf6192b2518e31
|