Skip to main content

A simple database wrapper for Python 3

Project description

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

Change Log

1.1.2 (26/09/2021)

  • Documentation Fix
  • Bytes Compatibility

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

ezdatabase-1.1.2.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file ezdatabase-1.1.2.tar.gz.

File metadata

  • Download URL: ezdatabase-1.1.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

File hashes

Hashes for ezdatabase-1.1.2.tar.gz
Algorithm Hash digest
SHA256 5255ecbb6bd9b6edeadb174afd6c29863b123542eb6a0bfeb93eea1bb9375915
MD5 662d0f50322eab9af58ff79e95e61bff
BLAKE2b-256 8a27f5d863fc263972431edd86b975b7316ed93498b06868dbb8b37bd6962074

See more details on using hashes here.

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