Easy and fast db for python users
Project description
disnakedb
Installation
pip3 install disnakedb
Usage
import disnakedb
db = disnakedb.Init()
print(db.get("foo")) # None
db.set("foo", "bar")
print(db.get("foo")) # bar
db.set("any", {"id": 1234, "top": 1, "str": "any string"})
print(db.get("any")) # {"id": 1234, "top": 1, "str": "any string"}
print(db.get("any")["id"]) # 1234
db.remove("foo")
db.remove("any")
print(db.get("foo")) # None
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
disnakedb-0.1.2.tar.gz
(2.0 kB
view details)
Built Distribution
File details
Details for the file disnakedb-0.1.2.tar.gz
.
File metadata
- Download URL: disnakedb-0.1.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6879ab6e0d99eb2bdf47e1326432fd313e953eb6b15b8a223879dc3ddaa1a5a2 |
|
MD5 | c647dec1db95b0b9163e2d4e1b65d3f4 |
|
BLAKE2b-256 | cecf2dc29dd1e8f6727991bebdeb716caecd3531966e104266f4ef4c477fc575 |
File details
Details for the file disnakedb-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: disnakedb-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ef33dc0c4ede4ae17e04c8eb78521e8af0f81856366440821b3d8214361ad14 |
|
MD5 | d900ddc1b11d4ef7799a0d7a4603977a |
|
BLAKE2b-256 | 1d5c432cf3e89bdea1bd36232a33a0359d989abeeb584235113daa2219dc1619 |