Skip to main content

Package to create db in one-click

Project description

##Installing Using pip

$ pip install dbhub

##Usage Get your api key for the database on website

After that include packet in your code:

from dbhub import get_database

Create your database:

 apikey = 'xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
db = get_atabase(apiKey)

Get collection(table) from database:

collection = db.get_collection(collection_name)

##CRUD Create new element in collection:

collection.create(element)

Read element in collection:

collection.read(id)

Update element in collection:

collection.update(id, element)

Delete new element in collection:

collection.delete(id)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dbhub, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size dbhub-0.0.4.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page