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")
Metadata
Release files for superdb 0.91
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| superdb-0.91.tar.gz | 1.4 kB | Without provenance | Details for superdb-0.91.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| superdb-0.91-py3-none-any.whl | Python 3 | none | any | Details for superdb-0.91-py3-none-any.whl |
Total release size: 3.0 kB
Release files / superdb-0.91.tar.gz
| Download URL | superdb-0.91.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
729576f9aa98338408011a9e0d6996bec08adc664113e4f6b7ea889778dfc464
|
|
BLAKE2b-256 checksum How to use checksums |
8a5ceafcdd9a40794b223b4ea85e49b623083d8ce48bbe0f0be9dda639585136
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / superdb-0.91-py3-none-any.whl
| Download URL | superdb-0.91-py3-none-any.whl |
|---|---|
| Size | 1.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e278f9513d4e866601e74e623df77e54b70452cd5b910d52c1931139cf38bf4
|
|
BLAKE2b-256 checksum How to use checksums |
f860e179f89e483becc21b8928a45317cb16e1ac1afc1b87cb99bb4e60c69c63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for superdb 0.91
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.