Skip to content

A Python library for accessing and using SQLite databases on DBHub.io

License

Notifications You must be signed in to change notification settings

LeMoussel/pydbhub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pydbhub

A Python library for accessing and using SQLite databases on DBHub.io. This is an early stage work in progress

What works now

  • Run read-only queries (eg SELECT statements) on databases, returning the results as JSON
  • Upload and download your databases
  • List the databases in your account
  • List the tables, views, and indexes present in a database
  • List the columns in a table, view or index, along with their details
  • List the branches, releases, tags, and commits for a database
  • Generate diffs between two databases, or database revisions
  • Download the database metadata (size, branches, commit list, etc.)
  • Retrieve the web page URL of a database

Still to do

  • Anything else people suggest and seems like a good idea. Please try it out, submits PRs to extend or fix things, and report any weirdness or bugs you encounter. 😄

Pre-requisites

  • Python version 3.7
    • Older Python releases should NOT be OK. Newer Python releases should be OK, but only Python 3.7 has been tested (so far).
  • A DBHub.io API key
    • These can be generated in your Settings page, when logged in.

Installation

pip install pydbhub

Further examples

About

A Python library for accessing and using SQLite databases on DBHub.io

Topics

Resources

License

Stars

Watchers

Forks

Languages