A simple database wrapper for Python 3
Project description
Change Log
1.1.1 (26/09/2021)
- Documentation Fix
ezdatabase
Making Databases easier
EzDatabase is a simple Database Wrapper for Python! Inspired by Repl.it Database!
Features
- Works with a Key / Value System
- Can store strings, numbers, objects, booleans
Code Examples
- Initialize Database
from ezdatabase import db
database = db.db("database.db")
# Returns None
- Set / Update Value of a Key
# Arguments: key_name, key_value
database.write("User1", {"age": 10, "name": "John"})
database.write("Product: 21398", "10,30 EUR")
# Returns True on Success
- Read the Value of a Key
value = database.read("User1")
# Returns the Value of a Key
- Delete a Key
database.delete("User1")
# Returns True on Successful removal of the Key
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
ezdatabase-1.1.1.tar.gz
(3.3 kB
view hashes)