Skip to main content

Web请求模块

Project description

xy_request_handler_web

简体中文 繁體中文 English

说明

基于xy_request_handler_base的web请求基类,封装了常用功能,方便快速开发.

源码仓库

Github Gitee GitCode

安装

# bash
pip install xy_request_handler_web

使用

详情请查看 Demoes.py

# Demoes.py

from xy_request_handler_web.Web import Web

class Demo(Web):

    def get(self):
        self.write("Hello, xy_request_handler_web !")

运行 样例工程

样例工程具体使用方式请移步 xy_web_server.git 下列仓库

Github Gitee GitCode
# bash

# 当前目录为xy_request_handler_web的git本地仓库所在目录
# 切换到工程目录
cd ./samples/xy_web_server_demo

# 启动样例工程的Tornado服务
xy_web_server -w tornado start

# 默认启动的Tornado服务url地址是: http://127.0.0.1:8400
# 浏览器打开访问 http://127.0.0.1:8400/demo 进行验证

许可证

xy_request_handler_web 根据 <木兰宽松许可证, 第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_request_handler_web-1.0.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

xy_request_handler_web-1.0.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file xy_request_handler_web-1.0.0.tar.gz.

File metadata

File hashes

Hashes for xy_request_handler_web-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f482ab08f587b35feb597a289acf3286e828e779a3345d2a643f0730f41a2921
MD5 87da85ec10345245883235e689888cd3
BLAKE2b-256 cfa5b27b816ab4a5866a3771ccde62f285d57ef675fb3da73a0447d1a101abff

See more details on using hashes here.

File details

Details for the file xy_request_handler_web-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for xy_request_handler_web-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 554914aed2b40e5f39513e24bd4b78463b7312b6512c887ca5c0bbb009a1ae86
MD5 6c3c860ef028c8a2e78e9f756b723bbc
BLAKE2b-256 9f1258d6e80e745bea6168dd51e19a272996ee8088591f633f03262418058e9d

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