Skip to content

mikeboers/LiteMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiteMap is a Python class which behaves like a dictionary, but persists to a table within a SQLite database.

The LiteMap will only map strings to other strings. If you would like to use more complex values then wrap this object in a shelve.Shelf. If you would like to use more complex keys and values then wrap this object in a SerialView.

Example:

from litemap import LiteMap
map = LiteMap('/path/to/db.sqlite', 'table_name')
# use map like a dictionary

About

Python mapping class which stores in SQLite database.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages