kcwebs 1.92__tar.gz → 1.93__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-1.92 → kcwebs-1.93}/PKG-INFO +2 -2
  2. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/__init__.py +1 -1
  3. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/common/autoload.py +5 -4
  4. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/utill/db/model.py +0 -1
  5. {kcwebs-1.92 → kcwebs-1.93}/kcwebs.egg-info/PKG-INFO +2 -2
  6. {kcwebs-1.92 → kcwebs-1.93}/kcwebs.egg-info/requires.txt +2 -2
  7. {kcwebs-1.92 → kcwebs-1.93}/setup.py +1 -1
  8. {kcwebs-1.92 → kcwebs-1.93}/README.md +0 -0
  9. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/common/__init__.py +0 -0
  10. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/common/session.py +0 -0
  11. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/config/__init__.py +0 -0
  12. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/kcwebs.py +0 -0
  13. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/__init__.py +0 -0
  14. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/api/__init__.py +0 -0
  15. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/api/common/__init__.py +0 -0
  16. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/api/common/autoload.py +0 -0
  17. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/api/controller/__init__.py +0 -0
  18. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/api/controller/index/__init__.py +0 -0
  19. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/__init__.py +0 -0
  20. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/autoload.py +0 -0
  21. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/html/include/static.html +0 -0
  22. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/api/controller/index/common/model.py +0 -0
  23. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/api/controller/index/index.py +0 -0
  24. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/api/controller/index/tpl/index/home.html +0 -0
  25. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/api/controller/index/tpl/index/index.html +0 -0
  26. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/common/__init__.py +0 -0
  27. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/common/autoload.py +0 -0
  28. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/common/html/include/static.html +0 -0
  29. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/common/model.py +0 -0
  30. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/config/__init__.py +0 -0
  31. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/config/app.py +0 -0
  32. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/config/database.py +0 -0
  33. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/config/other.py +0 -0
  34. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/app/config/redis.py +0 -0
  35. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/tempfile/kcwebs/server.py +0 -0
  36. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/utill/db/mongodb.py +0 -0
  37. {kcwebs-1.92 → kcwebs-1.93}/kcwebs/utill/queues.py +0 -0
  38. {kcwebs-1.92 → kcwebs-1.93}/kcwebs.egg-info/SOURCES.txt +0 -0
  39. {kcwebs-1.92 → kcwebs-1.93}/kcwebs.egg-info/dependency_links.txt +0 -0
  40. {kcwebs-1.92 → kcwebs-1.93}/kcwebs.egg-info/entry_points.txt +0 -0
  41. {kcwebs-1.92 → kcwebs-1.93}/kcwebs.egg-info/top_level.txt +0 -0
  42. {kcwebs-1.92 → kcwebs-1.93}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: kcwebs
3
- Version: 1.92
3
+ Version: 1.93
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.92
12
+ Keywords: kcwebs1.93
13
13
  Platform: UNKNOWN
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- __version__ = '1.92'
2
+ __version__ = '1.93'
3
3
 
4
4
  kcwebsinfo={}
5
5
  kcwebsinfo['name']='kcwebs' #项目的名称
@@ -2,6 +2,7 @@ from kcws.common import *
2
2
  from .. import config
3
3
  import random,urllib,asyncio,websockets,smtplib,datetime,chardet,copy
4
4
  import kcwredis,kcwcache,kcwmysql
5
+ import kcwsqlite
5
6
  from kcwebs.utill.db import mongodb as kcwsmongodb
6
7
  from kcwhttp.httpclass import Http
7
8
  from kcwebs.utill.queues import Queues
@@ -381,7 +382,7 @@ def sqlite(table=None,configss=None):
381
382
 
382
383
  参数 configss 数据库配置 可以传数据库名字符串
383
384
  """
384
- import kcwsqlite
385
+
385
386
  dbs=kcwsqlite.sqlite #kcwssqlite.sqlite()
386
387
  if table is None:
387
388
  return dbs
@@ -431,7 +432,7 @@ def set_cache(name,values,expire="no"):
431
432
 
432
433
  return Boolean类型
433
434
  """
434
- return kcwcache.cache.set_cache(name,values,expire)
435
+ return kcwcache.cache.set_config(config=config.cache).set_cache(name,values,expire)
435
436
  def get_cache(name):
436
437
  """获取缓存
437
438
 
@@ -439,7 +440,7 @@ def get_cache(name):
439
440
 
440
441
  return 或者的值
441
442
  """
442
- return kcwcache.cache.get_cache(name)
443
+ return kcwcache.cache.set_config(config=config.cache).get_cache(name)
443
444
  def del_cache(name):
444
445
  """删除缓存
445
446
 
@@ -447,7 +448,7 @@ def del_cache(name):
447
448
 
448
449
  return Boolean类型
449
450
  """
450
- return kcwcache.cache.del_cache(name)
451
+ return kcwcache.cache.set_config(config=config.cache).del_cache(name)
451
452
  def dateoperator(date,years=0,formats='%Y%m%d%H%M%S',months=0, days=0, hours=0, minutes=0,seconds=0,
452
453
  leapdays=0, weeks=0, microseconds=0,
453
454
  year=None, month=None, day=None, weekday=None,
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  from kcwebs import config
3
- # from kcwebs import common
4
3
  import kcwsqlite
5
4
  class model:
6
5
  table=None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: kcwebs
3
- Version: 1.92
3
+ Version: 1.93
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.92
12
+ Keywords: kcwebs1.93
13
13
  Platform: UNKNOWN
@@ -1,6 +1,6 @@
1
1
  kcws>=1.96
2
- kcwmysql>=1.5
3
- kcwsqlite>=1.2
2
+ kcwmysql>=1.9
3
+ kcwsqlite>=1.5
4
4
  kcwhttp>=1.3
5
5
  python-dateutil==2.9.0
6
6
  pymongo==3.10.0
@@ -50,7 +50,7 @@ def start():
50
50
  packages = b,
51
51
 
52
52
 
53
- install_requires = ['kcws>=1.96','kcwmysql>=1.5','kcwsqlite>=1.2','kcwhttp>=1.3','python-dateutil==2.9.0',
53
+ install_requires = ['kcws>=1.96','kcwmysql>=1.9','kcwsqlite>=1.5','kcwhttp>=1.3','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