kcwebs 3.48__tar.gz → 3.49__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.
Files changed (42) hide show
  1. {kcwebs-3.48 → kcwebs-3.49}/PKG-INFO +2 -2
  2. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/__init__.py +1 -1
  3. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/common/autoload.py +3 -0
  4. {kcwebs-3.48 → kcwebs-3.49}/kcwebs.egg-info/PKG-INFO +2 -2
  5. {kcwebs-3.48 → kcwebs-3.49}/kcwebs.egg-info/requires.txt +4 -4
  6. {kcwebs-3.48 → kcwebs-3.49}/README.md +0 -0
  7. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/common/__init__.py +0 -0
  8. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/common/session.py +0 -0
  9. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/config/__init__.py +0 -0
  10. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/kcwebs.py +0 -0
  11. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/__init__.py +0 -0
  12. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/api/__init__.py +0 -0
  13. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/api/common/__init__.py +0 -0
  14. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/api/common/autoload.py +0 -0
  15. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/api/controller/__init__.py +0 -0
  16. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/api/controller/index/__init__.py +0 -0
  17. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/__init__.py +0 -0
  18. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/autoload.py +0 -0
  19. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/html/include/static.html +0 -0
  20. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/model.py +0 -0
  21. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/api/controller/index/index.py +0 -0
  22. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/api/controller/index/tpl/index/home.html +0 -0
  23. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/api/controller/index/tpl/index/index.html +0 -0
  24. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/common/__init__.py +0 -0
  25. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/common/autoload.py +0 -0
  26. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/common/html/include/static.html +0 -0
  27. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/common/model.py +0 -0
  28. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/config/__init__.py +0 -0
  29. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/config/app.py +0 -0
  30. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/config/database.py +0 -0
  31. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/config/other.py +0 -0
  32. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/app/config/redis.py +0 -0
  33. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/tempfile/kcwebs/server.py +0 -0
  34. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/utill/db/model.py +0 -0
  35. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/utill/db/mongodb.py +0 -0
  36. {kcwebs-3.48 → kcwebs-3.49}/kcwebs/utill/queues.py +0 -0
  37. {kcwebs-3.48 → kcwebs-3.49}/kcwebs.egg-info/SOURCES.txt +0 -0
  38. {kcwebs-3.48 → kcwebs-3.49}/kcwebs.egg-info/dependency_links.txt +0 -0
  39. {kcwebs-3.48 → kcwebs-3.49}/kcwebs.egg-info/entry_points.txt +0 -0
  40. {kcwebs-3.48 → kcwebs-3.49}/kcwebs.egg-info/top_level.txt +0 -0
  41. {kcwebs-3.48 → kcwebs-3.49}/setup.cfg +0 -0
  42. {kcwebs-3.48 → kcwebs-3.49}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: kcwebs
3
- Version: 3.48
3
+ Version: 3.49
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: kcwebs3.48
12
+ Keywords: kcwebs3.49
13
13
  Platform: UNKNOWN
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- __version__ = '3.48'
2
+ __version__ = '3.49'
3
3
 
4
4
  kcwebsinfo={}
5
5
  kcwebsinfo['name']='kcwebs' #项目的名称
@@ -801,6 +801,7 @@ class response:
801
801
 
802
802
  body 视频二进制内容或视频路径
803
803
  """
804
+ import filetype
804
805
  status='200 ok'
805
806
  header={"Cache-Control":"public, max-age=2592000"}
806
807
  if isinstance(body,str):
@@ -837,6 +838,7 @@ class response:
837
838
 
838
839
  body 音频二进制内容或音频路径
839
840
  """
841
+ import filetype
840
842
  status='200 ok'
841
843
  header={"Cache-Control":"public, max-age=2592000"}
842
844
  if isinstance(body,str):
@@ -873,6 +875,7 @@ class response:
873
875
 
874
876
  pathname 文件路径
875
877
  """
878
+ import filetype
876
879
  if os.path.isfile(pathname):
877
880
  f=open(pathname,"rb")
878
881
  body=f.read()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: kcwebs
3
- Version: 3.48
3
+ Version: 3.49
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: kcwebs3.48
12
+ Keywords: kcwebs3.49
13
13
  Platform: UNKNOWN
@@ -1,7 +1,7 @@
1
- kcws>=3.48
2
- kcwmysql>=3.48
3
- kcwsqlite>=3.48
4
- kcwhttp>=3.48
1
+ kcws>=3.49
2
+ kcwmysql>=3.49
3
+ kcwsqlite>=3.49
4
+ kcwhttp>=3.49
5
5
  python-dateutil==2.9.0
6
6
  pymongo==3.10.0
7
7
  Mako==1.3.6
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