Skip to main content

xy_web_service web工作模块

Project description

xy_web_work

说明

xy-web-service服务设置模块.

源码仓库

安装

# bash
pip install xy_web_work

使用

# 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 <<<<<<<<<<<<<
# Hello World!!!

许可证

xy_web_work 根据 <木兰宽松许可证, 第2版> 获得许可。有关详细信息,请参阅 LICENSE 文件。

捐赠

如果小伙伴们觉得这些工具还不错的话,能否请咱喝一杯咖啡呢?

Pay-Total

联系方式

微信: 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.5.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

xy_web_work-1.0.5-py3-none-any.whl (43.1 kB view details)

Uploaded Python 3

File details

Details for the file xy_web_work-1.0.5.tar.gz.

File metadata

  • Download URL: xy_web_work-1.0.5.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for xy_web_work-1.0.5.tar.gz
Algorithm Hash digest
SHA256 69a86f90bc5ad8a370bc146f6bd58ad7e351a917d1cd736a0edeffb1a5ae318f
MD5 2bb4dc0bbacbbfb4bb0cbfc6f012d6a4
BLAKE2b-256 e349e57e5df9cc02d493b1496795886bf004bd9e1a49cf087791a8b718e38a88

See more details on using hashes here.

File details

Details for the file xy_web_work-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: xy_web_work-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 43.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for xy_web_work-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f4630e26f979e9faf7a1c1f478d898d39dabee4aa45d4a8e29fb7ae349299726
MD5 63c0f0eb2fe428479be8795808ac406a
BLAKE2b-256 d79b5fbc69e0f880cfe17a902fa85fab1c72e2c5729108e16cd5c5e81a29f7eb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page