rediscache 1.1.3__py3-none-any.whl → 1.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rediscache/__init__.py +11 -1
- {rediscache-1.1.3.dist-info → rediscache-1.2.0.dist-info}/METADATA +5 -3
- rediscache-1.2.0.dist-info/RECORD +8 -0
- {rediscache-1.1.3.dist-info → rediscache-1.2.0.dist-info}/WHEEL +1 -1
- rediscache-1.1.3.dist-info/RECORD +0 -8
- {rediscache-1.1.3.dist-info → rediscache-1.2.0.dist-info}/entry_points.txt +0 -0
- {rediscache-1.1.3.dist-info → rediscache-1.2.0.dist-info/licenses}/LICENSE +0 -0
rediscache/__init__.py
CHANGED
|
@@ -106,7 +106,17 @@ class RedisCache:
|
|
|
106
106
|
use_kwargs: Optional[List[str]] = None,
|
|
107
107
|
) -> str:
|
|
108
108
|
"""
|
|
109
|
-
Create a key from the function's name and its parameters values
|
|
109
|
+
Create a key from the function's name and its parameters values.
|
|
110
|
+
|
|
111
|
+
Args:
|
|
112
|
+
name: The name of the function.
|
|
113
|
+
args: The list of positional parameters passed to the function.
|
|
114
|
+
use_args: If not all, the indexes of the positional parameters to be used.
|
|
115
|
+
kwargs: The dictionary of named parameters passed to the function.
|
|
116
|
+
use_kwargs: If not all, the names of the parameters to be used.
|
|
117
|
+
|
|
118
|
+
Returns:
|
|
119
|
+
str: The key to be used in the Redis database.
|
|
110
120
|
"""
|
|
111
121
|
values = []
|
|
112
122
|
if args:
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: rediscache
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Redis caching of functions evolving over time
|
|
5
5
|
License: MIT
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Keywords: redis,performance,cache
|
|
7
8
|
Author: Pierre Cart-Grandjean
|
|
8
9
|
Author-email: pcart-grandjean@amadeus.com
|
|
@@ -18,11 +19,12 @@ Classifier: Programming Language :: Python :: 3
|
|
|
18
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
21
|
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
22
24
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
25
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
24
26
|
Requires-Dist: executiontime (==0.4.4)
|
|
25
|
-
Requires-Dist: redis (>=
|
|
27
|
+
Requires-Dist: redis (>=7.1.0,<8.0.0)
|
|
26
28
|
Project-URL: Repository, https://github.com/AmadeusITGroup/RedisCache
|
|
27
29
|
Description-Content-Type: text/markdown
|
|
28
30
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
rediscache/__init__.py,sha256=puOYl6GjxIhr8O3X1ZjaDupCCu_JK_XPwIiKOp4hbtQ,13755
|
|
2
|
+
rediscache/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
rediscache/tools.py,sha256=4Aq33tvcQezim4WR8z9LegcRgkLT1flnALhV8uSxzdA,1143
|
|
4
|
+
rediscache-1.2.0.dist-info/METADATA,sha256=4wIidyOH2AQYXr9PapfSIViJuODYd7lXbwa3y-96-yU,10211
|
|
5
|
+
rediscache-1.2.0.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
|
6
|
+
rediscache-1.2.0.dist-info/entry_points.txt,sha256=Xu1U6rXzuYGpBdz5etdzcWVfLt6ZvQfo8YZ2u9m2qyA,43
|
|
7
|
+
rediscache-1.2.0.dist-info/licenses/LICENSE,sha256=glwtaJmUmkPhzLEfrVcc2JmLoCyTnHst84tadlSIK_8,1123
|
|
8
|
+
rediscache-1.2.0.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
rediscache/__init__.py,sha256=5vzz2VvfSkMIOWLPpBcgi3fx7Up-vKzw3Dsbx7pec4E,13300
|
|
2
|
-
rediscache/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
rediscache/tools.py,sha256=4Aq33tvcQezim4WR8z9LegcRgkLT1flnALhV8uSxzdA,1143
|
|
4
|
-
rediscache-1.1.3.dist-info/LICENSE,sha256=glwtaJmUmkPhzLEfrVcc2JmLoCyTnHst84tadlSIK_8,1123
|
|
5
|
-
rediscache-1.1.3.dist-info/METADATA,sha256=3Bvtk1dhrkdEVXngCaXBpL-hHcFkG-LFfjSvbphdHCI,10138
|
|
6
|
-
rediscache-1.1.3.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
7
|
-
rediscache-1.1.3.dist-info/entry_points.txt,sha256=Xu1U6rXzuYGpBdz5etdzcWVfLt6ZvQfo8YZ2u9m2qyA,43
|
|
8
|
-
rediscache-1.1.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|