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.

Source Distribution

python-sqlite-cache-0.0.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

python_sqlite_cache-0.0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file python-sqlite-cache-0.0.2.tar.gz.

File metadata

  • Download URL: python-sqlite-cache-0.0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.5rc1

File hashes

Hashes for python-sqlite-cache-0.0.2.tar.gz
Algorithm Hash digest
SHA256 de6cc35cd280ed682e37d6c0f46963e254a62eabb06afc9698ed0c37f01146a0
MD5 3441d0242be9d5eda2ec81a2b424129e
BLAKE2b-256 73dbaf5fc7bb8339dffb176d34bcebea09a727f7813301509bcbc76e95b99acb

See more details on using hashes here.

File details

Details for the file python_sqlite_cache-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: python_sqlite_cache-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.5rc1

File hashes

Hashes for python_sqlite_cache-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b04ba94055ca2746937cb3f0cea651a5de9ed08a4a7d05fe67d323430f93cf33
MD5 acc9f30eceab605b42db2324a0623f26
BLAKE2b-256 81ea27f943439deb585b8610bcfaf4de96043f604ef5ba821abd25db5c633b1f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page