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
Release files for disnakedb 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| disnakedb-0.1.3.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| disnakedb-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.7 kB
Release files / disnakedb-0.1.3.tar.gz
| Download URL | disnakedb-0.1.3.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13dbc328fa23e24ffd3121b307c4376793c3bbf89d7655a8f979c7670a0e4289
|
|
BLAKE2b-256 checksum How to use checksums |
0bca2867ce3a58145e9c11abceef1680ddd06aa74d5ffe35aeeddc7d023276d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.5 Linux/5.15.50-1-MANJARO
|
Release files / disnakedb-0.1.3-py3-none-any.whl
| Download URL | disnakedb-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6cf0873874299a0580704e5bba93da7756a0640d0d84676e7f6391148f707a1
|
|
BLAKE2b-256 checksum How to use checksums |
b0e6f97117764470e118bda41fc511ee425888654693db30367bfd9ee1b4c344
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.5 Linux/5.15.50-1-MANJARO
|