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.

Source Distribution

dbhub-0.0.4.tar.gz (2.0 kB view hashes)

Uploaded Source

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