kcws 1.94__tar.gz → 1.95__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.94 → kcws-1.95}/PKG-INFO +2 -2
- {kcws-1.94 → kcws-1.95}/kcws/common/autoload.py +2 -15
- {kcws-1.94 → kcws-1.95}/kcws/config/__init__.py +1 -1
- {kcws-1.94 → kcws-1.95}/kcws.egg-info/PKG-INFO +2 -2
- {kcws-1.94 → kcws-1.95}/setup.py +1 -1
- {kcws-1.94 → kcws-1.95}/README.md +0 -0
- {kcws-1.94 → kcws-1.95}/kcws/Events.py +0 -0
- {kcws-1.94 → kcws-1.95}/kcws/__init__.py +0 -0
- {kcws-1.94 → kcws-1.95}/kcws/app.py +0 -0
- {kcws-1.94 → kcws-1.95}/kcws/common/__init__.py +0 -0
- {kcws-1.94 → kcws-1.95}/kcws/common/globals.py +0 -0
- {kcws-1.94 → kcws-1.95}/kcws/common/request.py +0 -0
- {kcws-1.94 → kcws-1.95}/kcws/kcws.py +0 -0
- {kcws-1.94 → kcws-1.95}/kcws.egg-info/SOURCES.txt +0 -0
- {kcws-1.94 → kcws-1.95}/kcws.egg-info/dependency_links.txt +0 -0
- {kcws-1.94 → kcws-1.95}/kcws.egg-info/entry_points.txt +0 -0
- {kcws-1.94 → kcws-1.95}/kcws.egg-info/requires.txt +0 -0
- {kcws-1.94 → kcws-1.95}/kcws.egg-info/top_level.txt +0 -0
- {kcws-1.94 → kcws-1.95}/setup.cfg +0 -0
{kcws-1.94 → kcws-1.95}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: kcws
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.95
|
|
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.95
|
|
13
13
|
Platform: UNKNOWN
|
|
@@ -289,25 +289,12 @@ def get_pid_info(pid,types='pid'):
|
|
|
289
289
|
try:
|
|
290
290
|
if types=='info':
|
|
291
291
|
p = psutil.Process(pid)
|
|
292
|
-
memory=p.memory_info()
|
|
293
|
-
io_counters = p.io_counters()
|
|
294
|
-
# connections = p.connections(kind='inet')
|
|
295
292
|
data={
|
|
296
293
|
'pid':pid,
|
|
297
294
|
'name':p.name(),
|
|
298
295
|
'cli':p.cmdline(),
|
|
299
|
-
'
|
|
300
|
-
|
|
301
|
-
'write_count': io_counters.write_count
|
|
302
|
-
# 'connections': connections
|
|
303
|
-
},
|
|
304
|
-
'cpu':{
|
|
305
|
-
'percent',p.cpu_percent(1) #一秒内cpu使用率
|
|
306
|
-
},
|
|
307
|
-
'memory':{
|
|
308
|
-
'rss':memory.rss, #实际物理内存使用量
|
|
309
|
-
'vms':memory.vms, #虚拟内存大小
|
|
310
|
-
}
|
|
296
|
+
'cpu':p.cpu_percent(1),
|
|
297
|
+
'memory':p.memory_info().rss
|
|
311
298
|
}
|
|
312
299
|
return data
|
|
313
300
|
else:
|
|
@@ -27,7 +27,7 @@ route['children']=[]
|
|
|
27
27
|
|
|
28
28
|
kcws={}
|
|
29
29
|
kcws['name']='kcws' #项目的名称
|
|
30
|
-
kcws['version']='1.
|
|
30
|
+
kcws['version']='1.95' #项目版本
|
|
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.95
|
|
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.95
|
|
13
13
|
Platform: UNKNOWN
|
{kcws-1.94 → kcws-1.95}/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.95' #项目版本
|
|
14
14
|
kcws['description']='超轻量级http框架' #项目的简单描述
|
|
15
15
|
kcws['long_description']='kcws是一个由kcwebs抽象出来的超轻量级http框架' #项目详细描述
|
|
16
16
|
kcws['license']='MIT License' #开源协议 mit开源
|
|
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
|