Skip to main content

Easy and fast db for python users

Project description

disnakedb

Installation

pip3 install disnakedb

Usage

import disnakedb

db = fast_db.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.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

disnakedb-0.1.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file disnakedb-0.1.1.tar.gz.

File metadata

  • Download URL: disnakedb-0.1.1.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

Hashes for disnakedb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 42851ce7e3e6dc67f76bbce939a763bec159206dc2725e38efedf9e0e29913c9
MD5 743ed2adff47d7489852f27f622c6722
BLAKE2b-256 e7d3f404eb9f3c3087fc8a3d2b8e6a3721106a7533fc455a0a352cf440271f78

See more details on using hashes here.

File details

Details for the file disnakedb-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: disnakedb-0.1.1-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

Hashes for disnakedb-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d31620b5ef74ade60b549cfd71f37314680d451e489562595c5fa7d90999373
MD5 ec8bbccff909ec999c78c68ba2d42808
BLAKE2b-256 9eb8f62cad3c228efaea3e41fcfc070f8a569140356daf9badc29c0dea43b579

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