pymecli 0.4.6__tar.gz → 0.4.7__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.
- {pymecli-0.4.6 → pymecli-0.4.7}/PKG-INFO +1 -1
- {pymecli-0.4.6 → pymecli-0.4.7}/core/config.py +1 -1
- {pymecli-0.4.6 → pymecli-0.4.7}/core/redis_client.py +1 -1
- {pymecli-0.4.6 → pymecli-0.4.7}/pyproject.toml +1 -1
- {pymecli-0.4.6 → pymecli-0.4.7}/utils/pyredis.py +2 -2
- {pymecli-0.4.6 → pymecli-0.4.7}/.gitignore +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/README.md +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/api/__init__.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/api/v1/__init__.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/api/v1/clash.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/api/v1/redis.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/cli/__init__.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/cli/baidu.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/cli/bitget.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/cli/dst.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/cli/example.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/cli/fast.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/cli/gate.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/cli/redis_csv.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/cli/util.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/core/__init__.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/core/clash.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/crypto/__init__.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/crypto/bitget.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/crypto/gate.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/data/__init__.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/data/dou_dict.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/data/dou_list.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/data/main.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/data/template.yaml +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/models/__init__.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/models/douzero_model.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/models/ocr_model.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/models/response.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/utils/__init__.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/utils/elapsed.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/utils/helper.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/utils/logger.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/utils/mysql.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/utils/path.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/utils/pd.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/utils/sleep.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/utils/text.py +0 -0
- {pymecli-0.4.6 → pymecli-0.4.7}/utils/toml.py +0 -0
|
@@ -8,7 +8,7 @@ import redis
|
|
|
8
8
|
class RedisClient:
|
|
9
9
|
def __init__(
|
|
10
10
|
self,
|
|
11
|
-
host=os.getenv("REDIS_HOST", "192.168.
|
|
11
|
+
host=os.getenv("REDIS_HOST", "192.168.123.7"),
|
|
12
12
|
port=int(os.getenv("REDIS_PORT", 6379)),
|
|
13
13
|
db=int(os.getenv("REDIS_DB", 0)),
|
|
14
14
|
password=os.getenv("REDIS_PASSWORD"),
|
|
@@ -5,7 +5,7 @@ import redis.asyncio as redis
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
def get_redis_client(
|
|
8
|
-
host=os.getenv("REDIS_HOST", "192.168.
|
|
8
|
+
host=os.getenv("REDIS_HOST", "192.168.123.7"),
|
|
9
9
|
port=int(os.getenv("REDIS_PORT", 6379)),
|
|
10
10
|
db=int(os.getenv("REDIS_DB", 0)),
|
|
11
11
|
password=os.getenv("REDIS_PASSWORD"),
|
|
@@ -21,7 +21,7 @@ def get_redis_client(
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
def get_redis_client_sync(
|
|
24
|
-
host=os.getenv("REDIS_HOST", "192.168.
|
|
24
|
+
host=os.getenv("REDIS_HOST", "192.168.123.7"),
|
|
25
25
|
port=int(os.getenv("REDIS_PORT", 6379)),
|
|
26
26
|
db=int(os.getenv("REDIS_DB", 0)),
|
|
27
27
|
password=os.getenv("REDIS_PASSWORD"),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|