Skip to content

Warren-Wong/KeyValueDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

#key-value-SQLite
An key-value database API which base on SQLite.

##Class  
 - Class ‘Table’ is the base of all other database model class. It
provides basic SQL command function.
 - Class ‘KeyValueTable’ defined a two column table, which can contain
key-value data.
 - Class ‘KeyValueDB’ is a shell of KeyValueTable, make all the things
easy to use.

##Usage

from key_value_sqlite import KeyValueDB

db = KeyValueDB('./test.db')
print db.set('1','one')
print db.get('1')
print db.remove('1')
print db.get('1')

About

A small key-value database which base on SQLite.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages