Skip to content

A simple, yet extensible in memory caching library.

License

Notifications You must be signed in to change notification settings

Abhisar/PyCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyCache

License : Apache 2.0

This library aims to solve the problem of generic object(Python) caching without depending on 3rd party caching systems like Memcached or Redis for cases where it isn't really required.

Library has been written in such a way it can be extensible by following standards through implementations of Python Abstract Base Classes.

pycache folder : It has all the base classes. One that ensures ensures all cache schemes follow a similar implemntation i.e https://github.com/Abhisar/PyCache/blob/master/pycache/BaseCache.py and Other one is for the Objects to be cacheable they have to subclass this Base class https://github.com/Abhisar/PyCache/blob/master/pycache/BaseCacheable.py

CacheImplenations folder: This folder contains different caching schemes. Currently for my use case only LRU scheme has been implemented by me.Feel free to add a pull request incase you want to add new implementations.

A sample working example :

https://github.com/Abhisar/PyCache/blob/master/client.py

About

A simple, yet extensible in memory caching library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages