Skip to content
This repository was archived by the owner on Jan 18, 2026. It is now read-only.
/ array-cache Public archive

Cache the index of an array between program executions

License

Notifications You must be signed in to change notification settings

Its-Just-Nans/array-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

array-cache

Installation

python -m pip install --upgrade 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

License

Licensed under the MIT License - LICENSE

About

Cache the index of an array between program executions

Resources

License

Stars

Watchers

Forks

Languages