A box-ah package for python
Project description
toolboxs
介绍
工具箱
软件架构
软件架构说明
安装教程
pip install toolboxs
或者 pip install toolboxs==xx.xx.xx
使用说明
项目结构
项目名
├── source
│ ├── 资源文件
├── src
│ ├── 程序1.py
│ ├── 程序2.py
│ ├── 程序3.py
request_session 模块
普通的GET请求
import os
from src.request_session import Request,RequestModule
if __name__ == "__main__" :
with Request(os.path.abspath(__file__)) as request:
def callback(resp):
print(resp.text)
request.send(url='https://www.4399.com/',module=RequestModule.GET)(callback)
运行结束之后,会在 source 目录下自动创建 log 目录,并记录当天的 请求日志
(reptile_env) box-ah-test tree source
source
└── log
└── request
└── 程序名称-日期(yyyyMMdd).log
参与贡献
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request
特技
- 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
- Gitee 官方博客 blog.gitee.com
- 你可以 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
- GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
- Gitee 官方提供的使用手册 https://gitee.com/help
- Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
toolboxs-0.0.8-py3-none-any.whl
(18.9 kB
view details)
File details
Details for the file toolboxs-0.0.8-py3-none-any.whl.
File metadata
- Download URL: toolboxs-0.0.8-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5305f766562a8eee26b4bf99be220f994e9f8952d1bcb489fa6b6b02ac586c4d
|
|
| MD5 |
703321427c3beb58c8e2eeec6f4b8738
|
|
| BLAKE2b-256 |
8e9a98a06b71bfd4cdad5c34b260290cf68a6d44b0958d43f7dab5df7bafda98
|