rediscache 1.0.4__tar.gz → 1.1.0__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: rediscache
3
- Version: 1.0.4
3
+ Version: 1.1.0
4
4
  Summary: Redis caching of functions evolving over time
5
5
  License: MIT
6
6
  Keywords: redis,performance,cache
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.10
22
22
  Classifier: Programming Language :: Python :: 3.9
23
23
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
24
  Requires-Dist: executiontime (==0.4.4)
25
- Requires-Dist: redis (>=5.2.1,<6.0.0)
25
+ Requires-Dist: redis (>=6.1.0,<7.0.0)
26
26
  Project-URL: Repository, https://github.com/AmadeusITGroup/RedisCache
27
27
  Description-Content-Type: text/markdown
28
28
 
@@ -56,6 +56,12 @@ pip install rediscache
56
56
 
57
57
  Of course you need a Redis server installed. By default, the decorator will connect to `localhost:6379` with no password, using the database number `0`. This can be changed with parameters given to the `RedisCache` object.
58
58
 
59
+ This can be done simply using Docker:
60
+
61
+ ```bash
62
+ docker run --rm --name redis-server -d -p 6379:6379 redis redis-server
63
+ ```
64
+
59
65
  ## Usage of the RedisCache class
60
66
 
61
67
  ### RedisCache class
@@ -28,6 +28,12 @@ pip install rediscache
28
28
 
29
29
  Of course you need a Redis server installed. By default, the decorator will connect to `localhost:6379` with no password, using the database number `0`. This can be changed with parameters given to the `RedisCache` object.
30
30
 
31
+ This can be done simply using Docker:
32
+
33
+ ```bash
34
+ docker run --rm --name redis-server -d -p 6379:6379 redis redis-server
35
+ ```
36
+
31
37
  ## Usage of the RedisCache class
32
38
 
33
39
  ### RedisCache class
@@ -1,7 +1,7 @@
1
1
  # For more details on this file see: https://python-poetry.org/docs/pyproject/
2
2
  [tool.poetry]
3
3
  name = "rediscache"
4
- version = "1.0.4"
4
+ version = "1.1.0"
5
5
  description = "Redis caching of functions evolving over time"
6
6
  authors = ["Pierre Cart-Grandjean <pcart-grandjean@amadeus.com>"]
7
7
  license = "MIT"
@@ -26,7 +26,7 @@ packages = [{ include = "rediscache" }]
26
26
 
27
27
  [tool.poetry.dependencies]
28
28
  python = "^3.11"
29
- redis = "^5.2.1"
29
+ redis = "^6.1.0"
30
30
  executiontime = "0.4.4"
31
31
 
32
32
  [tool.poetry.group.dev.dependencies]
File without changes
File without changes