Skip to content

csotelo/python-sqlite-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-sqlite-cache

SQlite Cache module

Requirements

  • Python 3.6+

Install

$ pip install python-sqlite-cache

Usage

Initialize

In Memory

> from sqlite_cache.sqlite_cache import SqliteCache
> sql_cache = SqliteCache()

On Disk

> from sqlite_cache.sqlite_cache import SqliteCache
> sql_cache = SqliteCache(path_cache_dir)

Usage

> sql_cache.set('some_key')
> print(sql_cache_get('some_key', 'some_value'))
some_value

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages