semvec/pypi-packages huggingface dataset:
ToolBox4Test 1.0.5
TestToolbox 测试工具箱

# 分享文档
[【分享】TestToolbox | 测试工具箱](https://kqnehw82cb.feishu.cn/docs/doccnBvx4YVeiO6YesdKv6w2BnG)

# 里程碑 需求池
1. 工具 1.0 基础功能准备
*  [x] 解析logman
*  [x] 格式化数据
*  [x] 快速查找数据
2. 接口网络数据解析
*  [ ] 请求头转换成Json
*  [x] 请求Param 转换 Json
*  [ ] 请求Query 转换 Json
*  [ ] Curl 转换
*  [ ] .har 文件转换
3. 网络代理抓包
*  [ ] 埋点解析, 事件上报比对
*  [ ] 接口mock工具


# testToolBox测试工具箱演示

- 食用姿势:
```
# 环境依赖:
# pip install jsonpath
# pip install yaml

# 同级目录新建 tool.bat 文件, 写入以下内容 

start python .\TestToolbox.py
```

### 相关背景

- 需求驱动
- 组合拼装
- 经验方法沉淀

- 日常工作需求
- 自动化测试总结沉淀
- 测试流程优化
PyLogForge 1.0.1
Custom Logger Module

[![PyPI Version](https://img.shields.io/pypi/v/pylogforge.svg)](https://pypi.org/project/pylogforge) [![Documentation Status](https://readthedocs.org/projects/pylogforge/badge/?version=latest)](https://pylogforge.readthedocs.io/en/latest/)

Custom Logger Module
--------------------

PyLogForge is a Python module that provides advanced logging functionality with color-coded log levels, customizable formatters, and flexible log output configuration.

Installation
------------

You can install pylogforge using pip:

```
pip install pylogforge
```

Usage
-----

To use pylogforge, follow these steps:

1. Import the module:
    ```
    from pylogforge import PyLogForge
    ```
2. Create an instance of the PyLogForge class, the name is optional.:
    ```python3
    logger = PyLogForge(name="my_logger").logger
    ```
3. Start logging messages:
    ```python3
    logger.debug("This is a debug message")
    logger.info("This is an info message")
    logger.warning("This is a warning message")
    logger.error("This is an error message")
    logger.critical("This is a critical message")
    ```
4. On the additional files you just need to include the import and call getLogger.
    ```
    import logging
    logger = logging.getLogger(name="my_logger")
    
   logger.critical("This is a critical message")
    ```

Configuration
-------------

pylogforge can be configured using environment variables:

- `LOG_CONSOLE_LEVEL`: Set the console log level (default: DEBUG)
- `LOG_FILE_LEVEL`: Set the file log level (default: INFO)
- `LOG_DIR`: Set the directory to store log files (default: no file logging)
- `LOG_SINGLE_FILE`: Set to "true" to log to a single file (default: separate files for each log level)

For example, you can set the environment variables before running your Python script:


```shell
export LOG_CONSOLE_LEVEL=INFO
export LOG_FILE_LEVEL=DEBUG
export LOG_DIR=/path/to/logs
export LOG_SINGLE_FILE=True
```
Contributing
------------

Contributions to pylogforge are welcome! If you encounter any issues, have feature requests, or want to contribute improvements, please submit an issue or pull request on the `GitHub repository <https://github.com/krash0n/pylogforge>`_.

License
-------

pylogforge is distributed under the MIT License. See the `LICENSE <https://github.com/krash0n/pylogforge/blob/main/LICENSE>`_ file for more details.

Links
-----

- `PyPI Package <https://pypi.org/project/pylogforge>`_
- `Documentation <https://pylogforge.readthedocs.io/en/latest>`_
- `GitHub Repository <https://github.com/krash0n/pylogforge>`_