xy_web_service web工作模块
Project description
xy_web_work
说明
xy-web-service服务设置模块.
源码仓库
安装
# bash
pip install xy_web_work
使用
1. 通用
# 创建项目
xy_web_server -c project -n xy_web_demo
cd xy_web_demo
xy_web_server
# >>>>>>>>>>>> xy_web_demo - v0.0.1 <<<<<<<<<<<<<
#
# xy_web_work Hello World!!!
2. 扩展或者定制
# main.py
from xy_web_work.WebWork import WebWork as xyWebWork
from xy_web_work.Settings.Settings import Settings
class WebServerWork(xyWebWork):
settings: Settings | None = Settings()
def __init__(self):
self.prog = "xy_test_demo"
self.description = f""">>>>>>>>>>>> xy_test_demo - v1.0.0 <<<<<<<<<<<<<"""
if __name__ == "__main__":
web_server_work = WebServerWork()
web_server_work.main()
# bash
python main.py -c project -n xy_web_work_demo
# 创建项目 [ xy_web_work_demo ] 成功!!!
# 项目路径 ==>>> /mnt/bs-media/Workspace/project/opensource/xy-web-service/xy_web_work/test/xy_web_work_demo
cp main.py xy_web_work_demo
cd xy_web_work_demo
python main.py -c runner
# >>>>>>>>>>>> xy_web_work_demo - v1.0.1 <<<<<<<<<<<<<
# xy_web_work Hello World!!!
许可证
xy_web_work 根据 <木兰宽松许可证, 第2版> 获得许可。有关详细信息,请参阅 LICENSE 文件。
捐赠
如果小伙伴们觉得这些工具还不错的话,能否请咱喝一杯咖啡呢?
联系方式
微信: yuyangiit
邮箱: yuyangit.0515@qq.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xy_web_work-1.0.6.tar.gz
(18.0 kB
view details)
Built Distribution
File details
Details for the file xy_web_work-1.0.6.tar.gz
.
File metadata
- Download URL: xy_web_work-1.0.6.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 655722ce82fa32f1db5f7d63c33b79bb17912d56e3c41a4cf4ddf6d0a927fe5a |
|
MD5 | 1c0075d3d5e23db02a5e1d96b15e8de3 |
|
BLAKE2b-256 | f80ba78bf276fb0488dc5dc1eb512ca3ccfdc5c0faccbf0bcb9db9ed7a1769b3 |
File details
Details for the file xy_web_work-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: xy_web_work-1.0.6-py3-none-any.whl
- Upload date:
- Size: 44.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7853cffc84690680d8b3e39ff6f344204fe1970e215ca949250c86cf83e2b264 |
|
MD5 | 14baf78083b6ec20310071b92bbb3add |
|
BLAKE2b-256 | ce7122ebe19e9494a9986667409238732e7fde89d53678dcdae77cbbd3c50bd3 |