pymecli 0.5.7__tar.gz → 0.5.8__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.5.7 → pymecli-0.5.8}/PKG-INFO +1 -1
- {pymecli-0.5.7 → pymecli-0.5.8}/cli/bitget.py +10 -8
- {pymecli-0.5.7 → pymecli-0.5.8}/cli/gate.py +5 -3
- {pymecli-0.5.7 → pymecli-0.5.8}/cli/okx.py +6 -4
- {pymecli-0.5.7 → pymecli-0.5.8}/pyproject.toml +1 -1
- {pymecli-0.5.7 → pymecli-0.5.8}/.gitignore +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/README.md +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/api/__init__.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/api/v1/__init__.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/api/v1/clash.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/api/v1/redis.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/cli/__init__.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/cli/dst.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/cli/etcd_mysql.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/cli/example.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/cli/fast.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/cli/redis_csv.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/cli/tele.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/cli/util.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/core/__init__.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/core/clash.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/core/config.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/core/redis_client.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/crypto/__init__.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/crypto/bitget.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/crypto/gate.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/crypto/okx.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/data/__init__.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/data/dou_dict.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/data/dou_list.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/data/main.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/data/template.yaml +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/models/__init__.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/models/douzero_model.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/models/ocr_model.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/models/response.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/utils/__init__.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/utils/elapsed.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/utils/etcd.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/utils/helper.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/utils/logger.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/utils/mysql.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/utils/path.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/utils/pd.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/utils/pyredis.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/utils/sleep.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/utils/text.py +0 -0
- {pymecli-0.5.7 → pymecli-0.5.8}/utils/toml.py +0 -0
|
@@ -32,18 +32,20 @@ def sync(
|
|
|
32
32
|
try:
|
|
33
33
|
|
|
34
34
|
async def _run():
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
try:
|
|
36
|
+
await grid_open(engine, redis)
|
|
37
|
+
await grid_close(engine, redis)
|
|
38
|
+
await bitget_sf_open(engine, redis)
|
|
39
|
+
await bitget_sf_close(engine, redis)
|
|
40
|
+
await bitget_ff_open(engine, redis)
|
|
41
|
+
await bitget_ff_pending(engine, redis)
|
|
42
|
+
await bitget_ff_close(engine, redis)
|
|
43
|
+
finally:
|
|
44
|
+
await redis.close()
|
|
42
45
|
|
|
43
46
|
asyncio.run(_run())
|
|
44
47
|
finally:
|
|
45
48
|
engine.dispose()
|
|
46
|
-
asyncio.run(redis.close())
|
|
47
49
|
|
|
48
50
|
|
|
49
51
|
@app.command()
|
|
@@ -21,10 +21,12 @@ def rsync(
|
|
|
21
21
|
try:
|
|
22
22
|
|
|
23
23
|
async def _run():
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
try:
|
|
25
|
+
await grid_open(engine, redis)
|
|
26
|
+
await grid_close(engine, redis)
|
|
27
|
+
finally:
|
|
28
|
+
await redis.close()
|
|
26
29
|
|
|
27
30
|
asyncio.run(_run())
|
|
28
31
|
finally:
|
|
29
32
|
engine.dispose()
|
|
30
|
-
asyncio.run(redis.close())
|
|
@@ -22,10 +22,12 @@ def sync(
|
|
|
22
22
|
try:
|
|
23
23
|
|
|
24
24
|
async def _run():
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
try:
|
|
26
|
+
await grid_open(engine, redis)
|
|
27
|
+
await grid_close(engine, redis)
|
|
28
|
+
finally:
|
|
29
|
+
await redis.close()
|
|
27
30
|
|
|
28
31
|
asyncio.run(_run())
|
|
29
32
|
finally:
|
|
30
|
-
engine.dispose()
|
|
31
|
-
asyncio.run(redis.close())
|
|
33
|
+
engine.dispose()
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|