* 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.
This commit is contained in:
wirawan
2010-02-06 23:21:09 +00:00
parent 9de91dcc59
commit 669e48b8d3
3 changed files with 205 additions and 0 deletions

11
db/__init__.py Normal file
View File

@@ -0,0 +1,11 @@
# $Id: __init__.py,v 1.1 2010-02-06 23:21:09 wirawan Exp $
#
# wpylib.db main module
# Created: 20100205
# Wirawan Purwanto
#
# Database-related stuff.
"""Database-related stuff."""
pass