kcws 1.9__tar.gz → 1.91__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.
- {kcws-1.9 → kcws-1.91}/PKG-INFO +2 -2
- {kcws-1.9 → kcws-1.91}/kcws/common/autoload.py +4 -4
- {kcws-1.9 → kcws-1.91}/kcws/config/__init__.py +1 -1
- {kcws-1.9 → kcws-1.91}/kcws.egg-info/PKG-INFO +2 -2
- {kcws-1.9 → kcws-1.91}/setup.py +1 -1
- {kcws-1.9 → kcws-1.91}/README.md +0 -0
- {kcws-1.9 → kcws-1.91}/kcws/Events.py +0 -0
- {kcws-1.9 → kcws-1.91}/kcws/__init__.py +0 -0
- {kcws-1.9 → kcws-1.91}/kcws/app.py +0 -0
- {kcws-1.9 → kcws-1.91}/kcws/common/__init__.py +0 -0
- {kcws-1.9 → kcws-1.91}/kcws/common/globals.py +0 -0
- {kcws-1.9 → kcws-1.91}/kcws/common/request.py +0 -0
- {kcws-1.9 → kcws-1.91}/kcws/kcws.py +0 -0
- {kcws-1.9 → kcws-1.91}/kcws.egg-info/SOURCES.txt +0 -0
- {kcws-1.9 → kcws-1.91}/kcws.egg-info/dependency_links.txt +0 -0
- {kcws-1.9 → kcws-1.91}/kcws.egg-info/entry_points.txt +0 -0
- {kcws-1.9 → kcws-1.91}/kcws.egg-info/requires.txt +0 -0
- {kcws-1.9 → kcws-1.91}/kcws.egg-info/top_level.txt +0 -0
- {kcws-1.9 → kcws-1.91}/setup.cfg +0 -0
{kcws-1.9 → kcws-1.91}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: kcws
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.91
|
|
4
4
|
Summary: 超轻量级http框架
|
|
5
5
|
Home-page: https://docs.kwebapp.cn/index/index/1
|
|
6
6
|
Author: 百里-坤坤
|
|
@@ -9,5 +9,5 @@ Maintainer: 坤坤
|
|
|
9
9
|
Maintainer-email: fk1402936534@qq.com
|
|
10
10
|
License: MIT License
|
|
11
11
|
Description: kcws是一个由kcwebs抽象出来的超轻量级http框架
|
|
12
|
-
Keywords: kcws1.
|
|
12
|
+
Keywords: kcws1.91
|
|
13
13
|
Platform: UNKNOWN
|
|
@@ -266,7 +266,7 @@ def kcws_save_folder_pid(folder,pid):
|
|
|
266
266
|
f=open(folder+'/'+str(pid),'w')
|
|
267
267
|
f.write(str(pid))
|
|
268
268
|
f.close()
|
|
269
|
-
def
|
|
269
|
+
def get_kcws_cli_pid(route):
|
|
270
270
|
"""通过路由地址获取进程号
|
|
271
271
|
|
|
272
272
|
route 路由地址
|
|
@@ -277,14 +277,14 @@ def get_kcwebs_cli_pid(route):
|
|
|
277
277
|
with open(get_folder()+"/pid/"+md5(route)+"_cli_pid") as file:
|
|
278
278
|
pid = file.read()
|
|
279
279
|
return pid
|
|
280
|
-
def
|
|
280
|
+
def get_kcws_cli_info(route,types='pid'):
|
|
281
281
|
"""通过路由地址获取进程信息
|
|
282
282
|
|
|
283
283
|
route 路由地址
|
|
284
284
|
|
|
285
285
|
types info表示获取进程信息 否则判断进程号是否存在
|
|
286
286
|
"""
|
|
287
|
-
pid=
|
|
287
|
+
pid=get_kcws_cli_pid(route)
|
|
288
288
|
if pid:
|
|
289
289
|
pid=int(pid)
|
|
290
290
|
try:
|
|
@@ -327,7 +327,7 @@ def kill_route_cli(route):
|
|
|
327
327
|
|
|
328
328
|
route 路由地址
|
|
329
329
|
"""
|
|
330
|
-
pid=
|
|
330
|
+
pid=get_kcws_cli_pid(route)
|
|
331
331
|
if pid:
|
|
332
332
|
kill_pid(pid)
|
|
333
333
|
try:
|
|
@@ -27,7 +27,7 @@ route['children']=[]
|
|
|
27
27
|
|
|
28
28
|
kcws={}
|
|
29
29
|
kcws['name']='kcws' #项目的名称
|
|
30
|
-
kcws['version']='1.
|
|
30
|
+
kcws['version']='1.91' #项目版本
|
|
31
31
|
kcws['description']='超轻量级http框架' #项目的简单描述
|
|
32
32
|
kcws['long_description']='kcws是一个由kcwebs抽象出来的超轻量级http框架' #项目详细描述
|
|
33
33
|
kcws['license']='MIT License' #开源协议 mit开源
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: kcws
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.91
|
|
4
4
|
Summary: 超轻量级http框架
|
|
5
5
|
Home-page: https://docs.kwebapp.cn/index/index/1
|
|
6
6
|
Author: 百里-坤坤
|
|
@@ -9,5 +9,5 @@ Maintainer: 坤坤
|
|
|
9
9
|
Maintainer-email: fk1402936534@qq.com
|
|
10
10
|
License: MIT License
|
|
11
11
|
Description: kcws是一个由kcwebs抽象出来的超轻量级http框架
|
|
12
|
-
Keywords: kcws1.
|
|
12
|
+
Keywords: kcws1.91
|
|
13
13
|
Platform: UNKNOWN
|
{kcws-1.9 → kcws-1.91}/setup.py
RENAMED
|
@@ -10,7 +10,7 @@ from setuptools import setup, find_packages,Extension
|
|
|
10
10
|
class setupconfig:
|
|
11
11
|
kcws={}
|
|
12
12
|
kcws['name']='kcws' #项目的名称
|
|
13
|
-
kcws['version']='1.
|
|
13
|
+
kcws['version']='1.91' #项目版本
|
|
14
14
|
kcws['description']='超轻量级http框架' #项目的简单描述
|
|
15
15
|
kcws['long_description']='kcws是一个由kcwebs抽象出来的超轻量级http框架' #项目详细描述
|
|
16
16
|
kcws['license']='MIT License' #开源协议 mit开源
|
{kcws-1.9 → kcws-1.91}/README.md
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
|
{kcws-1.9 → kcws-1.91}/setup.cfg
RENAMED
|
File without changes
|