DumpTruck

Software Screenshot:
DumpTruck
Software Details:
Version: 0.1.4
Upload Date: 20 Feb 15
Developer: Thomas Levine
Distribution Type: Freeware
Downloads: 16

Rating: nan/5 (Total Votes: 0)

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.

Requirements:

  • Python

Similar Software

ZODB3
ZODB3

15 Apr 15

Querydsl
Querydsl

11 May 15

ssqlfs
ssqlfs

11 May 15

Psycopg2
Psycopg2

17 Feb 15

Other Software of Developer Thomas Levine

dicti
dicti

14 Apr 15

Comments to DumpTruck

Comments not found
Add Comment
Turn on images!