A very easy way to use databases!
Project description
superdb
A database that is easy to manage, supports having multiple databases in one project.
Creating the database
Normal use
# file name would be db.json
from superdb import Database
db = Database()
Custom file name
# file name would be usersdb.json
from superdb import Database
db = Database("usersdb.json")
Bigger projects
from superdb import Database
db = Database("database.json",autosave=False) # Manual saving with db.save()
Start with initial data
# Default data will be only used if database file does not exist, or when db.resetDefault() runs
from superdb import Database
db = Database("database.json",data={
"accounts":[
{
"name":"GGforGaming",
"id":1,
"owner":True
}
]
})
Managing the database
Setting values
from superdb import Database
db = Database()
db.set("user1","password123")
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
superdb-0.91.tar.gz
(1.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file superdb-0.91.tar.gz.
File metadata
- Download URL: superdb-0.91.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
729576f9aa98338408011a9e0d6996bec08adc664113e4f6b7ea889778dfc464
|
|
| MD5 |
c39a92457c3aa2261bb23ce8fac49e10
|
|
| BLAKE2b-256 |
8a5ceafcdd9a40794b223b4ea85e49b623083d8ce48bbe0f0be9dda639585136
|
File details
Details for the file superdb-0.91-py3-none-any.whl.
File metadata
- Download URL: superdb-0.91-py3-none-any.whl
- Upload date:
- Size: 1.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e278f9513d4e866601e74e623df77e54b70452cd5b910d52c1931139cf38bf4
|
|
| MD5 |
76e06deaac298ab5ea378c6fd7984b11
|
|
| BLAKE2b-256 |
f860e179f89e483becc21b8928a45317cb16e1ac1afc1b87cb99bb4e60c69c63
|