Skip to content

conceptualio/yacache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yacache - Yet Another Cache

yacache is yet another python cache. This library allows for caching function results in whatever type they were initially returned. This is meant to be fast, optional, and, most importantly, retain all docstrings unlike some other caching libs.

Installation

Simply:

pip install yacache

Usage

Simply:

from yacache import cache

@cache
def testFunc( arg1=None ):
    ''' 
    Test func
    
    Args:
        arg1 (str, None): first argument
    
    Returns:
        bool
    '''
    return isinstance( arg1, str )

License

MIT

About

yacache is yet another python cache. This library allows for caching function results in whatever type they were initially returned. This is meant to be fast, optional, and, most importantly, retain all docstrings unlike some other caching libs.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages