Commit Graph

9 Commits

Author SHA1 Message Date
Wirawan Purwanto
606214eb66 * Changing all isinstance(STUFF, str)' to isinstance(STUFF, basestring)'
for future-proofing this code.
2012-04-13 17:10:32 -04:00
wirawan
7017fdc6af * Committing all dirty work to CVS. We are migrating to GIT.
Beware: changes in this commit may or may not work properly.
2011-10-06 19:15:05 +00:00
wirawan
0531e4e511 * Add documentation for file_table. Add note for future hash: SHA1,256,... 2011-04-26 15:28:37 +00:00
wirawan
8363eb03bc * Adding more extensive documentation.
* Making minor changes to the expected method name (parse_text_file_ =>
  parse_file_).
2010-11-11 17:59:36 +00:00
wirawan
0bd6f56422 * Moving pyqmc.results.result_base module to wpylib.db.result_base for more
general uses.
2010-11-11 17:48:01 +00:00
wirawan
1c6547d3c0 * Added default debug level. 2010-05-28 18:46:16 +00:00
wirawan
f246d382bf * Fix to make this work with independent pysqlite2 package.
* Allow rows to be returned as sqlite3.Row objects instead of simple tuple.
2010-02-08 20:00:14 +00:00
wirawan
dfc7a780f9 * Renaming file_db to file_table class.
* Allow record update in somewhat pythonic way (instead of using SQL).
2010-02-08 01:46:12 +00:00
wirawan
669e48b8d3 * Added "db" module group to deal with database management tasks.
* First module: file_db to store filename, fingerprint (md5sum) and basic
  stats (mtime, size). Additional fields can be specified as well.
* Will use sqlite as the backend for now.
* API is rather generic so the underlying database engine can be replaced.
2010-02-06 23:21:09 +00:00