Simple File Cache based on pickle or json
Project description
simple_file_cache
Python Simple cache based on pickle or json file
Usage
data = { "hi":"hello" }
# usage 1: as a file cache
@file_cache(file='export.json', type='json')
def do_job():
return data
# usage 2: load file as fast as
rs = load_file(file='export.json', type='json')
# usage 3: dump file as fast as
rs = dump_file(file='export.json', type='json')
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
Built Distribution
Close
Hashes for simple_file_cache-0.0.5-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57480466ecf8d86335b6e364341989aed9e3377d8321969a62e75727d56df636 |
|
MD5 | 3e0ba45d7b14854cb7bb747526da70bb |
|
BLAKE2b-256 | fc0ee79180a59397f94b8fcca43ff9bdb9a92263a96d0f0e2e3ace8fd4e6820b |