RedisServer-Queue 0.0.1__py3-none-any.whl → 0.0.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {RedisServer → RedisServer_Queue}/RedisServer.py +14 -1
- {RedisServer_Queue-0.0.1.dist-info → RedisServer_Queue-0.0.2.dist-info}/METADATA +1 -1
- RedisServer_Queue-0.0.2.dist-info/RECORD +6 -0
- RedisServer_Queue-0.0.2.dist-info/top_level.txt +1 -0
- RedisServer_Queue-0.0.1.dist-info/RECORD +0 -6
- RedisServer_Queue-0.0.1.dist-info/top_level.txt +0 -1
- {RedisServer_Queue-0.0.1.dist-info → RedisServer_Queue-0.0.2.dist-info}/LICENSE +0 -0
- {RedisServer_Queue-0.0.1.dist-info → RedisServer_Queue-0.0.2.dist-info}/WHEEL +0 -0
@@ -19,7 +19,20 @@ if os.path.basename(__file__) in ['run.py', 'main.py', '__main__.py']:
|
|
19
19
|
else:
|
20
20
|
sys.path.append(os.path.abspath(__file__))
|
21
21
|
|
22
|
-
r = redis.Redis
|
22
|
+
r = redis.Redis
|
23
|
+
|
24
|
+
|
25
|
+
def init(rids_boj=None):
|
26
|
+
'''
|
27
|
+
初始化redis
|
28
|
+
:param rids_boj:
|
29
|
+
:return:
|
30
|
+
'''
|
31
|
+
global r
|
32
|
+
if rids_boj:
|
33
|
+
r = rids_boj
|
34
|
+
else:
|
35
|
+
r = r(host='localhost', port=6379, db=0)
|
23
36
|
|
24
37
|
|
25
38
|
class RedisQueue:
|
@@ -0,0 +1,6 @@
|
|
1
|
+
RedisServer_Queue/RedisServer.py,sha256=xua8R_elXjfSw-izd6UWj7xqogvw0YriP5ugN04Q-Eg,3233
|
2
|
+
RedisServer_Queue-0.0.2.dist-info/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
|
3
|
+
RedisServer_Queue-0.0.2.dist-info/METADATA,sha256=KQsmoF2WdmorAXFHTk0wsVS4mC3hbKdRkGmDRsegebw,554
|
4
|
+
RedisServer_Queue-0.0.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
5
|
+
RedisServer_Queue-0.0.2.dist-info/top_level.txt,sha256=rcsBD4X_qh4CYFrIE79f5ETrrVBFWcHmqrSydQVyDHI,18
|
6
|
+
RedisServer_Queue-0.0.2.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
RedisServer_Queue
|
@@ -1,6 +0,0 @@
|
|
1
|
-
RedisServer/RedisServer.py,sha256=-RwVSFKx5sN7XCZcJpip8PeWCmoCmr_VHg5ApUW-1zI,3049
|
2
|
-
RedisServer_Queue-0.0.1.dist-info/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
|
3
|
-
RedisServer_Queue-0.0.1.dist-info/METADATA,sha256=XqxOyPvjUtW5lkEWBHWn504leIrfSiIylAJvB6iY4eA,554
|
4
|
-
RedisServer_Queue-0.0.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
5
|
-
RedisServer_Queue-0.0.1.dist-info/top_level.txt,sha256=KqY5fDKu1qjJQn9S9SA9hyn4IkuL07UHTsc45MmCB58,12
|
6
|
-
RedisServer_Queue-0.0.1.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
RedisServer
|
File without changes
|
File without changes
|