pysolcache
============
Welcome to pysol
Copyright (C) 2013/2025 Laurent Labatut / Laurent Champagnac
pysolcache is a set of python caches : in-memory and/or redis.
Usefull to handle L1 (memory) and L2 (redis) cache for python daemons.
In all cases, serialization/deserialization of stored datas have to be done at client side (ie, serialize as u wish, ujson or equivalent)
All caches are instrumented by Meters (pysolmeters).
MemoryCache:
- A pure python memory cache storing string/binary keys to string/binary values
- Max bytes capped
- Max items count capped
- Items TTLs
- LRU evictions
- Watchdog evictions
RedisCache:
- A redis backed cache, storing string/binary keys to string/binary values
HighCache:
- A high level cache, coupling MemoryCache adn RedisCache, which handle respectively L1 cache (in memory) and L2 cache (inside redis)
HighCacheEx:
- A high level cache, storing internal data as tuple (ms_added, ttl_ms, string/binary data)
- Provided same level of functionality as HighCache but is able to perform an automatic L1 put in case of L2 hit and L1 miss
It is gevent (co-routines) based.
Raw data
{
"_id": null,
"home_page": "https://github.com/champax/pysolcache",
"name": "pysolcache",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": "Laurent Labatut <laurent@labatut.net>, Laurent Champagnac <champagnac.laurent@gmail.com>",
"keywords": "python, gevent",
"author": "Laurent Champagnac",
"author_email": "Laurent Labatut <laurent@labatut.net>, Laurent Champagnac <champagnac.laurent@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/b5/fb/a8ad35df9c6879879e73be9585a5e317cb748cb36e22fc727be9020ddb7d/pysolcache-3.13.3.tar.gz",
"platform": null,
"description": "pysolcache\n============\n\nWelcome to pysol\n\nCopyright (C) 2013/2025 Laurent Labatut / Laurent Champagnac\n\npysolcache is a set of python caches : in-memory and/or redis.\n\nUsefull to handle L1 (memory) and L2 (redis) cache for python daemons.\n\nIn all cases, serialization/deserialization of stored datas have to be done at client side (ie, serialize as u wish, ujson or equivalent)\n\nAll caches are instrumented by Meters (pysolmeters).\n\nMemoryCache:\n- A pure python memory cache storing string/binary keys to string/binary values\n- Max bytes capped\n- Max items count capped\n- Items TTLs\n- LRU evictions\n- Watchdog evictions\n\nRedisCache:\n- A redis backed cache, storing string/binary keys to string/binary values\n\nHighCache:\n- A high level cache, coupling MemoryCache adn RedisCache, which handle respectively L1 cache (in memory) and L2 cache (inside redis)\n\nHighCacheEx:\n- A high level cache, storing internal data as tuple (ms_added, ttl_ms, string/binary data)\n- Provided same level of functionality as HighCache but is able to perform an automatic L1 put in case of L2 hit and L1 miss\n\nIt is gevent (co-routines) based.\n\n",
"bugtrack_url": null,
"license": null,
"summary": "pysolcache",
"version": "3.13.3",
"project_urls": {
"Homepage": "https://github.com/champax/pysolcache",
"Repository": "https://github.com/champax/pysolcache"
},
"split_keywords": [
"python",
" gevent"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "b5fba8ad35df9c6879879e73be9585a5e317cb748cb36e22fc727be9020ddb7d",
"md5": "8615ac4f4942ad622c858818ab65ac0f",
"sha256": "ce27d922b0ba14d9836a17625687c96c23ee691c1fa0ed890a587b39798f6552"
},
"downloads": -1,
"filename": "pysolcache-3.13.3.tar.gz",
"has_sig": false,
"md5_digest": "8615ac4f4942ad622c858818ab65ac0f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 22499,
"upload_time": "2025-09-10T09:36:22",
"upload_time_iso_8601": "2025-09-10T09:36:22.487724Z",
"url": "https://files.pythonhosted.org/packages/b5/fb/a8ad35df9c6879879e73be9585a5e317cb748cb36e22fc727be9020ddb7d/pysolcache-3.13.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-10 09:36:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "champax",
"github_project": "pysolcache",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "greenlet",
"specs": []
},
{
"name": "gevent",
"specs": []
},
{
"name": "pysolbase",
"specs": [
[
">=",
"3.13.0"
]
]
},
{
"name": "pysolmeters",
"specs": [
[
">=",
"3.13.0"
]
]
},
{
"name": "redis",
"specs": []
},
{
"name": "ujson",
"specs": []
}
],
"tox": true,
"lcname": "pysolcache"
}