Last updated:
0 purchases
pythonsqlitecache 0.0.2
# 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
~~~
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.