Skip to main content

Package to manage temporary files in the cache and streamline codes with downloads and repetitive functions

Project description

HB Datacache

Package to manage temporary files in the cache and streamline codes with downloads and repetitive functions

import hbdatacache

#Check if exist temp file
if (hbdatacache.check_temp_data("example_data", parameters=["teste",])):
    #Loading data from temp
    data = hbdatacache.load_temp_data("example_data", parameters=["teste",])
else:
    #Generate new data
    data = [1,2,3,4,5,6,7,8,9,10] #Your data generating...
    #Save data
    hbdatacache.save_temp_data(data, "example_data", parameters=["teste",])

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

hbdatacache-0.5.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

hbdatacache-0.5-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

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