python-sqlite-cache 0.0.2

Last updated:

0 purchases

python-sqlite-cache 0.0.2 Image
python-sqlite-cache 0.0.2 Images
Add to Cart

Description:

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
~~~

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.