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
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
hbdatacache-0.5.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file hbdatacache-0.5.tar.gz
.
File metadata
- Download URL: hbdatacache-0.5.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38f5c50475bf86932fb2b40389dd3b092e0cb5405dacbf240eaa5a10269bef3c |
|
MD5 | 1f374e66e3de3fc72a4dbcf856393cfa |
|
BLAKE2b-256 | 776ff2d946015d06da82cb5abbd74f777c512d69931f47029cf8a69ac3e0ec80 |
File details
Details for the file hbdatacache-0.5-py3-none-any.whl
.
File metadata
- Download URL: hbdatacache-0.5-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e6be441de4df2f98da6dd681c8e1a122650c82d8d43d3b5852fd01fa327ef45 |
|
MD5 | dd2c595338d8edbeb9e56b88d576134c |
|
BLAKE2b-256 | 84a0b3e3a0e2f9618d5dcddd0f7137f47efc668006c3b036cc70a02cbd9d69c9 |