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)) # >>> {}
Metadata
Release files for ohnodb 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ohnodb-1.0.1.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ohnodb-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / ohnodb-1.0.1.tar.gz
| Download URL | ohnodb-1.0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1d110ae30b7ced09f908838619b16fea20bcaeb7118df3f6a317d830562ac3e
|
|
BLAKE2b-256 checksum How to use checksums |
b0c584da37f05c1d6072ff5f66d6a97c4c87e84ab37c9abd028be7206f2cb6c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.5 Linux/5.4.0-72-generic
|
Release files / ohnodb-1.0.1-py3-none-any.whl
| Download URL | ohnodb-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa7a03fd75ee2993673e682a24c8387cf07c8f7f8543dc7b4b9816abfe3183f1
|
|
BLAKE2b-256 checksum How to use checksums |
116053740fd62b8e41b9ccfe6fc522802140fe510090fbbd6fbf6192b2518e31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.5 Linux/5.4.0-72-generic
|