kcwebs 1.84__tar.gz → 1.85__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.
- {kcwebs-1.84 → kcwebs-1.85}/PKG-INFO +2 -2
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/__init__.py +1 -1
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/utill/queues.py +5 -7
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs.egg-info/PKG-INFO +2 -2
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs.egg-info/requires.txt +3 -3
- {kcwebs-1.84 → kcwebs-1.85}/setup.py +1 -1
- {kcwebs-1.84 → kcwebs-1.85}/README.md +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/common/__init__.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/common/autoload.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/common/session.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/config/__init__.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/kcwebs.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/__init__.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/__init__.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/common/__init__.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/common/autoload.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/__init__.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/index/__init__.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/__init__.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/autoload.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/html/include/static.html +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/model.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/index/index.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/index/tpl/index/home.html +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/index/tpl/index/index.html +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/common/__init__.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/common/autoload.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/common/html/include/static.html +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/common/model.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/config/__init__.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/config/app.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/config/database.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/config/other.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/config/redis.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/server.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/utill/db/model.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/utill/db/mongodb.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs/utill/db/sqlite.py +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs.egg-info/SOURCES.txt +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs.egg-info/dependency_links.txt +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs.egg-info/entry_points.txt +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/kcwebs.egg-info/top_level.txt +0 -0
- {kcwebs-1.84 → kcwebs-1.85}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: kcwebs
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.85
|
|
4
4
|
Summary: kcwebs作为web开发而设计的高性能框架
|
|
5
5
|
Home-page: https://docs.kwebapp.cn/index/index/2
|
|
6
6
|
Author: 百里-坤坤
|
|
@@ -9,5 +9,5 @@ Maintainer: 坤坤
|
|
|
9
9
|
Maintainer-email: fk1402936534@qq.com
|
|
10
10
|
License: MIT License
|
|
11
11
|
Description: kcwebs作为web开发而设计的高性能框架,采用全新的架构思想,注重易用性。遵循MIT开源许可协议发布,意味着个人和企业可以免费使用kcwebs,甚至允许把你基于kcwebs开发的应用开源或商业产品发布或销售。完整文档请访问:https://docs.kwebapp.cn/index/index/2
|
|
12
|
-
Keywords: kcwebs1.
|
|
12
|
+
Keywords: kcwebs1.85
|
|
13
13
|
Platform: UNKNOWN
|
|
@@ -37,8 +37,7 @@ class Queues():
|
|
|
37
37
|
model_kcwebs_tasks=model_kcwebs_task()
|
|
38
38
|
model_kcwebs_tasks.create_table()
|
|
39
39
|
Queues.__globalqueue=Queue()
|
|
40
|
-
t=threading.Thread(target=Queues.__messagequeue)
|
|
41
|
-
t.daemon=True
|
|
40
|
+
t=threading.Thread(target=Queues.__messagequeue,daemon=True)
|
|
42
41
|
t.start()
|
|
43
42
|
def __startprocess():
|
|
44
43
|
if not Queues.__processglobalqueue:
|
|
@@ -51,10 +50,10 @@ class Queues():
|
|
|
51
50
|
model_kcwebs_tasks=model_kcwebs_task()
|
|
52
51
|
model_kcwebs_tasks.create_table()
|
|
53
52
|
Queues.__processglobalqueue=multiprocessing.Queue()
|
|
54
|
-
t=multiprocessing.Process(target=Queues.
|
|
53
|
+
t=multiprocessing.Process(target=Queues._messagequeueprocess,args=(Queues.__processglobalqueue,))
|
|
55
54
|
t.daemon=True
|
|
56
55
|
t.start()
|
|
57
|
-
def
|
|
56
|
+
def _messagequeueprocess(processglobalqueue):
|
|
58
57
|
"""不支持外部调用"""
|
|
59
58
|
kcwssqlite.sqlite().connect(queuesdbpath).table("model_kcwebs_queues").where("code=2 and updtime<"+str(int(time.time())-86400*7)).delete()
|
|
60
59
|
kcwssqlite.sqlite().connect(queuesdbpath).table("model_kcwebs_queues").where("code=3 and updtime<"+str(int(time.time())-1200)).delete()
|
|
@@ -82,9 +81,8 @@ class Queues():
|
|
|
82
81
|
else:
|
|
83
82
|
kcwssqlite.sqlite().connect(queuesdbpath).table("model_kcwebs_queues").where("taskid = '"+value['task']['taskid']+"' and code!=4").update({"code":4,"start":100,'endtime':int(time.time()),'updtime':int(time.time())})
|
|
84
83
|
else:
|
|
85
|
-
time.sleep(
|
|
84
|
+
time.sleep(0.01)
|
|
86
85
|
def __messagequeue():
|
|
87
|
-
# time.sleep(0.01)
|
|
88
86
|
kcwssqlite.sqlite().connect(queuesdbpath).table("model_kcwebs_queues").where("code=2 and updtime<"+str(int(time.time())-86400*7)).delete()
|
|
89
87
|
kcwssqlite.sqlite().connect(queuesdbpath).table("model_kcwebs_queues").where("code=3 and updtime<"+str(int(time.time())-1200)).delete()
|
|
90
88
|
while True:
|
|
@@ -106,7 +104,7 @@ class Queues():
|
|
|
106
104
|
else:
|
|
107
105
|
kcwssqlite.sqlite().connect(queuesdbpath).table("model_kcwebs_queues").where("taskid = '"+value['task']['taskid']+"' and code!=4").update({"code":4,"start":100,'endtime':int(time.time()),'updtime':int(time.time())})
|
|
108
106
|
else:
|
|
109
|
-
time.sleep(
|
|
107
|
+
time.sleep(0.01)
|
|
110
108
|
def delhist():
|
|
111
109
|
"""清除任务历史记录(包括 成功的 失败的 已完成的)"""
|
|
112
110
|
return kcwssqlite.sqlite().connect(queuesdbpath).table("model_kcwebs_queues").where("code","in",0,1,4).delete()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: kcwebs
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.85
|
|
4
4
|
Summary: kcwebs作为web开发而设计的高性能框架
|
|
5
5
|
Home-page: https://docs.kwebapp.cn/index/index/2
|
|
6
6
|
Author: 百里-坤坤
|
|
@@ -9,5 +9,5 @@ Maintainer: 坤坤
|
|
|
9
9
|
Maintainer-email: fk1402936534@qq.com
|
|
10
10
|
License: MIT License
|
|
11
11
|
Description: kcwebs作为web开发而设计的高性能框架,采用全新的架构思想,注重易用性。遵循MIT开源许可协议发布,意味着个人和企业可以免费使用kcwebs,甚至允许把你基于kcwebs开发的应用开源或商业产品发布或销售。完整文档请访问:https://docs.kwebapp.cn/index/index/2
|
|
12
|
-
Keywords: kcwebs1.
|
|
12
|
+
Keywords: kcwebs1.85
|
|
13
13
|
Platform: UNKNOWN
|
|
@@ -50,7 +50,7 @@ def start():
|
|
|
50
50
|
packages = b,
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
install_requires = ['kcws>=1.
|
|
53
|
+
install_requires = ['kcws>=1.9','kcwmysql>=1.4','kcwhttp>=1.1.1','python-dateutil==2.9.0',
|
|
54
54
|
'pymongo==3.10.0','Mako==1.3.6','six>=1.12.0',
|
|
55
55
|
# 'websockets==10.4',
|
|
56
56
|
'curl_cffi==0.9.0',
|
|
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
|
{kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/__init__.py
RENAMED
|
File without changes
|
{kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/autoload.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/index/tpl/index/home.html
RENAMED
|
File without changes
|
{kcwebs-1.84 → kcwebs-1.85}/kcwebs/tempfile/kcwebs/app/api/controller/index/tpl/index/index.html
RENAMED
|
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
|