Cache the current index of you array
Project description
array-cache
Usage
from array_cache import ArrayCache
# save to cache every x item
CACHE_DELAY=10
cached_array = array_cache.ArrayCache(data_array, "my-identifier", CACHE_DELAY)
for one_word in cached_array.get_data():
# use here
Upload to PyPi
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
python3 -m build
python3 -m pip install --upgrade twine
# create egg-info folder
python3 -m twine upload dist/*
License
Licensed under the MIT License - LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
array-cache-1.0.0.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for array_cache-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1e8211176912d0a7d66d2b9f80c337bdeba445557b08df23626d54063bd31f1 |
|
MD5 | ea1b1381153687d09bc7624537aa6ef9 |
|
BLAKE2b-256 | f99bc54ee67525976628ef5ecae5d2af9b8b8dfd2266c17f52ca8e23bfb67456 |