Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A Python package for caching data in the file system.

Project description


fscache is a Python package for caching data in the file system.


pip install fscache


import requests
from fscache import fscache

url = ''
cache_file = fscache.path(url, cache_dir='.fscache')

if fscache.valid(cache_file, lifetime=3600):
    content = fscache.load(cache_file)
    # Do something with content
    content = requests.get(url).text
    # Save content in .fscache/https/, content)


MIT © Ramiro Gómez

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fscache, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size fscache-0.3.0-py2.py3-none-any.whl (5.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size fscache-0.3.0.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page