Skip to main content

cached(function) - cache function

Project description


$ [sudo] pip install cached


@cached decorator

>>> from cached import cached

>>> @cached
    def func(*args, **kwags):

cached(function) function

>>> from cached import cached

>>> def func(*args, **kwags):
>>> cached(func)()

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

cached-2020.12.3.tar.gz (1.4 kB view hashes)

Uploaded source

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