xtn-tools-pro 1.0.0.1.7__tar.gz → 1.0.0.1.8__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {xtn-tools-pro-1.0.0.1.7/xtn_tools_pro.egg-info → xtn-tools-pro-1.0.0.1.8}/PKG-INFO +1 -1
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/setup.py +1 -1
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/db/RedisDB.py +8 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8/xtn_tools_pro.egg-info}/PKG-INFO +1 -1
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/LICENSE +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/README.md +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/setup.cfg +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/__init__.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/db/MongoDB.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/db/MysqlDB.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/db/__init__.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/proxy/XiaoXiangProxy.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/proxy/__init__.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/proxy/proxy.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/tools.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/utils/__init__.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/utils/crypto.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/utils/file_utils.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/utils/helpers.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/utils/log.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/utils/retry.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/utils/sql.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro/utils/time_utils.py +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro.egg-info/SOURCES.txt +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro.egg-info/dependency_links.txt +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro.egg-info/requires.txt +0 -0
- {xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro.egg-info/top_level.txt +0 -0
@@ -113,6 +113,14 @@ class RedisDBPro:
|
|
113
113
|
else:
|
114
114
|
return self._redis.sadd(table, values)
|
115
115
|
|
116
|
+
def spop(self, table):
|
117
|
+
"""
|
118
|
+
从集合中弹出元素
|
119
|
+
:param table:
|
120
|
+
:return:
|
121
|
+
"""
|
122
|
+
return self._redis.spop(table)
|
123
|
+
|
116
124
|
def incr(self, key):
|
117
125
|
"""
|
118
126
|
对一个键的值进行自增操作
|
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
|
{xtn-tools-pro-1.0.0.1.7 → xtn-tools-pro-1.0.0.1.8}/xtn_tools_pro.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|