A super easy, but really really bad DBMS
Project description
Dumb DB
Are you looking for a reliable database management system?
Then you've come to the wrong place.
This is a very small database management system to store a minuscule amount of data in one of the worst possible ways. But hey, atleast its easy to use .
Installation
Installation is super easy. Just use your favorite package manager.
pip install dumbdb
Usage/Examples
from dumbdb import DumbDB
my_db = DumbDB(location="/tmp", file_name="temp_data.json")
# Use .set to set value
my_db.set("int", 1)
my_db.set("list", [])
my_db.set("cars", {})
# Use .get to get value
my_db.get("int")
# You can optionally pass a default value to the get method
my_db.get("new_key", default="Default Val")
Advantages and Disadvantages
A good DMBS is characterized by the following. You can have a look how well the module fits the ideal DMBS.
| Desired Feature | Module Status |
|---|---|
| Data Availability | Data is stored in a file in JSON format. Your operating system handles data availability, but it is only accessible locally and only by users with priveledge to read the file |
| Minimized Redundancy | None. No effort at all |
| Data Security | Your operating system worries about this. Not this module |
| Easiness in Data Management | An easy to get started system |
| Data Structuring | None. You worry about that. |
| Querying Language | Two methods! Thats all you get. |
Authors
- Github: Elias Amha
- LinkedIn: Elias Amha
Contributing
Contributions are always welcome!
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
dumbdb-0.1.1.tar.gz
(2.9 kB
view details)
File details
Details for the file dumbdb-0.1.1.tar.gz.
File metadata
- Download URL: dumbdb-0.1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d86376bd2a107308e3ac143c3a12b788c00cafe34b4be7a7b79b2500e5b5b0c2
|
|
| MD5 |
22fef3e5342808c1cbfcfbf6dd4cbcc7
|
|
| BLAKE2b-256 |
14cb66b8dacc88aa6682e6f6dca91c9b74703db0ea73092c3032c273a6341c1e
|