Skip to main content

A very easy way to use databases!

Reason this release was yanked:

deleted

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

from superdb import Database
db = Database()

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

superdb-0.9.tar.gz (1.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

superdb-0.9-py3-none-any.whl (1.5 kB view details)

Uploaded Python 3

File details

Details for the file superdb-0.9.tar.gz.

File metadata

  • Download URL: superdb-0.9.tar.gz
  • Upload date:
  • Size: 1.2 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

Hashes for superdb-0.9.tar.gz
Algorithm Hash digest
SHA256 a73ced99a08a9bb6fdcf8fcdd11d3637966b5b89c6e74a9674acc187a48f6be0
MD5 a066b5d060d9bee74d92101a90bbd286
BLAKE2b-256 dbade3160b898728934e7e80ea3ffca6d9fd5342d1b1a7a8c5e4253f6641cdb7

See more details on using hashes here.

File details

Details for the file superdb-0.9-py3-none-any.whl.

File metadata

  • Download URL: superdb-0.9-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

Hashes for superdb-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1a89a1c80bdc6a15a78b1ce98d8fe4aa41238563b5bcd65f1af318f5fab3ebcd
MD5 780c1ea7ab2ec67bc83c84f7f04d6ee9
BLAKE2b-256 7f02b58da9e56a1d8d4f3d486fe45641e7f1346f68fec53e1500a043f32e3c67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page