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
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
dbhub-0.0.2.tar.gz
(1.8 kB
view hashes)