DumpTruck 0.1.4

Relaxing interface to SQLite
DumpTruck is a document-like interface to a SQLite database.

Quick start

Install, save data and retrieve it using default settings.

Install

pip2 install dumptruck || pip install dumptruck

Initialize

Open the database connection by initializing the a DumpTruck object

dt = DumpTruck()

Save

The simplest `insert` call looks like this.

dt.insert({"firstname":"Thomas","lastname":"Levine"})

This saves a new row with "Thomas" in the "firstname" column and "Levine" in the "lastname" column. It uses the table "dumptruck" inside the database "dumptruck.db". It creates or alters the table if it needs to.

Retrieve

Once the database contains data, you can retrieve them.

data = dt.dump()

The data come out as a list of dictionaries, with one dictionary per row.

last updated on:
August 4th, 2012, 6:58 GMT
price:
FREE!
developed by:
Thomas Levine
homepage:
github.com
license type:
AGPL v3 
category:
ROOT \ Database \ Administrative frontents

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT