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.2.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file dbhub-0.0.2.tar.gz.

File metadata

  • Download URL: dbhub-0.0.2.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0

File hashes

Hashes for dbhub-0.0.2.tar.gz
Algorithm Hash digest
SHA256 74c0651965aab982449c3b45d8b51a95ffd0e22fe21ed557440fe5b63d8b7601
MD5 6d22be7370444ddecfe8db097902473a
BLAKE2b-256 edd3a006a31272f881e30a68be28754d742bb0a7c5bd778fa099167c5e4ea3a7

See more details on using hashes here.

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