Skip to main content

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


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)

Uploaded Source

Built Distribution

ohnodb-1.0.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page