DumpTruckRelaxing interface to SQLite | |
Download |
DumpTruck Ranking & Summary
Advertisement
- License:
- AGPL v3
- Price:
- FREE
- Publisher Name:
- Thomas Levine
- Publisher web site:
- https://github.com/tlevine/
DumpTruck Tags
DumpTruck Description
DumpTruck is a document-like interface to a SQLite database.Quick startInstall, save data and retrieve it using default settings.Installpip2 install dumptruck || pip install dumptruckInitializeOpen the database connection by initializing the a DumpTruck objectdt = DumpTruck()SaveThe 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.RetrieveOnce 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.Product's homepage
DumpTruck Related Software