co6co.task 0.1.0__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 (34) hide show
  1. co6co_task-0.1.0/PKG-INFO +43 -0
  2. co6co_task-0.1.0/README.md +13 -0
  3. co6co_task-0.1.0/co6co.task.egg-info/PKG-INFO +43 -0
  4. co6co_task-0.1.0/co6co.task.egg-info/SOURCES.txt +32 -0
  5. co6co_task-0.1.0/co6co.task.egg-info/dependency_links.txt +1 -0
  6. co6co_task-0.1.0/co6co.task.egg-info/requires.txt +5 -0
  7. co6co_task-0.1.0/co6co.task.egg-info/top_level.txt +1 -0
  8. co6co_task-0.1.0/co6co.task.egg-info/zip-safe +1 -0
  9. co6co_task-0.1.0/co6co_task/__init__.py +4 -0
  10. co6co_task-0.1.0/co6co_task/api/__init__.py +5 -0
  11. co6co_task-0.1.0/co6co_task/api/sysTask.py +7 -0
  12. co6co_task-0.1.0/co6co_task/api/syscode.py +10 -0
  13. co6co_task-0.1.0/co6co_task/croniter.py +1165 -0
  14. co6co_task-0.1.0/co6co_task/model/__init__.py +0 -0
  15. co6co_task-0.1.0/co6co_task/model/enum.py +24 -0
  16. co6co_task-0.1.0/co6co_task/model/pos/__init__.py +0 -0
  17. co6co_task-0.1.0/co6co_task/model/pos/tables.py +54 -0
  18. co6co_task-0.1.0/co6co_task/service/CustomTask.py +80 -0
  19. co6co_task-0.1.0/co6co_task/service/RouterService.py +48 -0
  20. co6co_task-0.1.0/co6co_task/service/Tasks.py +337 -0
  21. co6co_task-0.1.0/co6co_task/service/__init__.py +275 -0
  22. co6co_task-0.1.0/co6co_task/service/cron.test.py +14 -0
  23. co6co_task-0.1.0/co6co_task/view_model/__init__.py +0 -0
  24. co6co_task-0.1.0/co6co_task/view_model/_filters/__init__.py +0 -0
  25. co6co_task-0.1.0/co6co_task/view_model/_filters/dynamic.py +39 -0
  26. co6co_task-0.1.0/co6co_task/view_model/_filters/sysTask.py +40 -0
  27. co6co_task-0.1.0/co6co_task/view_model/components.py +23 -0
  28. co6co_task-0.1.0/co6co_task/view_model/systask/__init__.py +105 -0
  29. co6co_task-0.1.0/co6co_task/view_model/systask/codeView.py +86 -0
  30. co6co_task-0.1.0/co6co_task/view_model/systask/dynamicCodeView.py +96 -0
  31. co6co_task-0.1.0/co6co_task/view_model/systask/schedView.py +121 -0
  32. co6co_task-0.1.0/pyproject.toml +12 -0
  33. co6co_task-0.1.0/setup.cfg +4 -0
  34. co6co_task-0.1.0/setup.py +36 -0
@@ -0,0 +1,43 @@
1
+ Metadata-Version: 2.2
2
+ Name: co6co.task
3
+ Version: 0.1.0
4
+ Summary: 任务模块
5
+ Home-page: http://github.com/co6co
6
+ Author: co6co
7
+ Author-email: co6co@qq.com
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Operating System :: OS Independent
16
+ Description-Content-Type: text/markdown
17
+ Requires-Dist: APScheduler>=3.10.4
18
+ Requires-Dist: SQLAlchemy>=2.0.25
19
+ Requires-Dist: co6co>=0.0.26
20
+ Requires-Dist: co6co.sanic_ext>=0.0.9
21
+ Requires-Dist: co6co.web-db>=0.0.14
22
+ Dynamic: author
23
+ Dynamic: author-email
24
+ Dynamic: classifier
25
+ Dynamic: description
26
+ Dynamic: description-content-type
27
+ Dynamic: home-page
28
+ Dynamic: requires-dist
29
+ Dynamic: summary
30
+
31
+ # 任务管理
32
+
33
+ ## 任务列表
34
+
35
+ 包括代码管理、任务管理
36
+
37
+ # 历史版本
38
+
39
+ ```
40
+ 0.0.1
41
+ - 任务管理 ,将任务管理和动态代码两个模块从项目中分离出来,方便后续扩展及复用
42
+ 0.1.0
43
+ ```
@@ -0,0 +1,13 @@
1
+ # 任务管理
2
+
3
+ ## 任务列表
4
+
5
+ 包括代码管理、任务管理
6
+
7
+ # 历史版本
8
+
9
+ ```
10
+ 0.0.1
11
+ - 任务管理 ,将任务管理和动态代码两个模块从项目中分离出来,方便后续扩展及复用
12
+ 0.1.0
13
+ ```
@@ -0,0 +1,43 @@
1
+ Metadata-Version: 2.2
2
+ Name: co6co.task
3
+ Version: 0.1.0
4
+ Summary: 任务模块
5
+ Home-page: http://github.com/co6co
6
+ Author: co6co
7
+ Author-email: co6co@qq.com
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Operating System :: OS Independent
16
+ Description-Content-Type: text/markdown
17
+ Requires-Dist: APScheduler>=3.10.4
18
+ Requires-Dist: SQLAlchemy>=2.0.25
19
+ Requires-Dist: co6co>=0.0.26
20
+ Requires-Dist: co6co.sanic_ext>=0.0.9
21
+ Requires-Dist: co6co.web-db>=0.0.14
22
+ Dynamic: author
23
+ Dynamic: author-email
24
+ Dynamic: classifier
25
+ Dynamic: description
26
+ Dynamic: description-content-type
27
+ Dynamic: home-page
28
+ Dynamic: requires-dist
29
+ Dynamic: summary
30
+
31
+ # 任务管理
32
+
33
+ ## 任务列表
34
+
35
+ 包括代码管理、任务管理
36
+
37
+ # 历史版本
38
+
39
+ ```
40
+ 0.0.1
41
+ - 任务管理 ,将任务管理和动态代码两个模块从项目中分离出来,方便后续扩展及复用
42
+ 0.1.0
43
+ ```
@@ -0,0 +1,32 @@
1
+ README.md
2
+ pyproject.toml
3
+ setup.py
4
+ co6co.task.egg-info/PKG-INFO
5
+ co6co.task.egg-info/SOURCES.txt
6
+ co6co.task.egg-info/dependency_links.txt
7
+ co6co.task.egg-info/requires.txt
8
+ co6co.task.egg-info/top_level.txt
9
+ co6co.task.egg-info/zip-safe
10
+ co6co_task/__init__.py
11
+ co6co_task/croniter.py
12
+ co6co_task/api/__init__.py
13
+ co6co_task/api/sysTask.py
14
+ co6co_task/api/syscode.py
15
+ co6co_task/model/__init__.py
16
+ co6co_task/model/enum.py
17
+ co6co_task/model/pos/__init__.py
18
+ co6co_task/model/pos/tables.py
19
+ co6co_task/service/CustomTask.py
20
+ co6co_task/service/RouterService.py
21
+ co6co_task/service/Tasks.py
22
+ co6co_task/service/__init__.py
23
+ co6co_task/service/cron.test.py
24
+ co6co_task/view_model/__init__.py
25
+ co6co_task/view_model/components.py
26
+ co6co_task/view_model/_filters/__init__.py
27
+ co6co_task/view_model/_filters/dynamic.py
28
+ co6co_task/view_model/_filters/sysTask.py
29
+ co6co_task/view_model/systask/__init__.py
30
+ co6co_task/view_model/systask/codeView.py
31
+ co6co_task/view_model/systask/dynamicCodeView.py
32
+ co6co_task/view_model/systask/schedView.py
@@ -0,0 +1,5 @@
1
+ APScheduler>=3.10.4
2
+ SQLAlchemy>=2.0.25
3
+ co6co>=0.0.26
4
+ co6co.sanic_ext>=0.0.9
5
+ co6co.web-db>=0.0.14
@@ -0,0 +1 @@
1
+ co6co_task
@@ -0,0 +1,4 @@
1
+ # -*- coding:utf-8 -*-
2
+
3
+ __version_info = (0, 1.0)
4
+ __version__ = ".".join([str(x) for x in __version_info])
@@ -0,0 +1,5 @@
1
+ from sanic import Sanic, Blueprint, Request
2
+ from .syscode import api_dynamic, api_code
3
+ from .sysTask import task_api
4
+
5
+ tasks_api = Blueprint.group(api_dynamic, api_code, task_api, url_prefix="/tasks")
@@ -0,0 +1,7 @@
1
+ from sanic import Sanic, Blueprint, Request
2
+ from co6co_sanic_ext.api import add_routes
3
+ from ..view_model.systask import View, Views, ExistView, SelectViews
4
+ from ..view_model.systask.schedView import schedView
5
+
6
+ task_api = Blueprint("sysTask_API", url_prefix="/task")
7
+ add_routes(task_api, ExistView, View, Views, SelectViews, schedView)
@@ -0,0 +1,10 @@
1
+ from sanic import Blueprint
2
+ from co6co_sanic_ext.api import add_routes
3
+ from ..view_model. systask.dynamicCodeView import View, Views, ExistView, RunView
4
+ from ..view_model. systask.codeView import cronViews, codeView
5
+ api_dynamic = Blueprint("dynamicCode_API", url_prefix="/dynamicCode")
6
+ add_routes(api_dynamic, ExistView, View, Views, RunView)
7
+
8
+ # 做一些测试用
9
+ api_code = Blueprint("code_API", url_prefix="/code")
10
+ add_routes(api_code, cronViews, codeView)