xtn-tools-pro 1.0.0.1.8__tar.gz → 1.0.0.1.9__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.8/xtn_tools_pro.egg-info → xtn-tools-pro-1.0.0.1.9}/PKG-INFO +1 -1
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/setup.py +1 -1
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/db/RedisDB.py +11 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9/xtn_tools_pro.egg-info}/PKG-INFO +1 -1
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/LICENSE +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/README.md +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/setup.cfg +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/__init__.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/db/MongoDB.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/db/MysqlDB.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/db/__init__.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/proxy/XiaoXiangProxy.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/proxy/__init__.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/proxy/proxy.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/tools.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/utils/__init__.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/utils/crypto.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/utils/file_utils.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/utils/helpers.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/utils/log.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/utils/retry.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/utils/sql.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro/utils/time_utils.py +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro.egg-info/SOURCES.txt +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro.egg-info/dependency_links.txt +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro.egg-info/requires.txt +0 -0
- {xtn-tools-pro-1.0.0.1.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro.egg-info/top_level.txt +0 -0
@@ -121,6 +121,17 @@ class RedisDBPro:
|
|
121
121
|
"""
|
122
122
|
return self._redis.spop(table)
|
123
123
|
|
124
|
+
def sget_count(self, table):
|
125
|
+
"""
|
126
|
+
获取无序集合数量
|
127
|
+
:param table:
|
128
|
+
:return:
|
129
|
+
"""
|
130
|
+
return self._redis.scard(table)
|
131
|
+
|
132
|
+
def get_redis(self):
|
133
|
+
return self._redis
|
134
|
+
|
124
135
|
def incr(self, key):
|
125
136
|
"""
|
126
137
|
对一个键的值进行自增操作
|
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.8 → xtn-tools-pro-1.0.0.1.9}/xtn_tools_pro.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|