Skip to main content

SQLite cache for Python.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-sqlite-cache, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size python_sqlite_cache-0.0.2-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size python-sqlite-cache-0.0.2.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page