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.4.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

hbdatacache-0.4-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file hbdatacache-0.4.tar.gz.

File metadata

  • Download URL: hbdatacache-0.4.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

Hashes for hbdatacache-0.4.tar.gz
Algorithm Hash digest
SHA256 64eebcd12c1561cce8c1b1e069b93ea73098c6e76670852e1b5bcb9911908504
MD5 1e45d7ffb53a206786e0a75d8fa59083
BLAKE2b-256 6ec3e66c131fa73f5a446658ba21987121501c88024fe2233245c355a6505ceb

See more details on using hashes here.

File details

Details for the file hbdatacache-0.4-py3-none-any.whl.

File metadata

  • Download URL: hbdatacache-0.4-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

Hashes for hbdatacache-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 845e15a542fd3de27b90ef0b0074b8df6d01d09c656a603d9cf3c15b2e15e70d
MD5 ba73447021cbc4bf1374e8ea89553ae1
BLAKE2b-256 a7b2fe24193333b36c488346edb39aed91915a7669dc17def3051353dd78e3ed

See more details on using hashes here.

Supported by

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