A package for python dev
Project description
lhl-python-tools
This is a kit for python development.
安装
pip install lhl-python-tools
使用
Some of the features of this tool are based on the file $project/conf/lhl_tools_config.yml
lhl_tools_config.yml
# email
email:
host: xxx(smtp.xxx.com)
port: xxx(25)
user: xxx(your_email@gmail.com)
password: xxx(your_password_token)
# async-tools, define some thread or process pool information
async-tools:
thread-pool:
- thread_name: max_workers
- default: 10
process-pool:
- process_name: max_workers
- default: 1
# logger, see [loguru-config](https://github.com/erezinman/loguru-config)
logger:
handlers:
- sink: ext://sys.stderr
format: '[{time}] {message}'
- sink: file.log
enqueue: true
serialize: true
levels:
- name: NEW
'no': 13
icon: ¤
color: ""
extra:
common_to_all: default
activation:
- [ "my_module.secret", false ]
- [ "another_library.module", true ]
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 Distribution
Built Distribution
File details
Details for the file lhl-python-tools-0.0.1.tar.gz
.
File metadata
- Download URL: lhl-python-tools-0.0.1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 179e161fb3d82629c872d118adc3ae74e2ddd1c448b3aedc4cf68ccd7f775bbb |
|
MD5 | da666ce9fe294ad88cbb59593420a407 |
|
BLAKE2b-256 | 7ee502eb5f13f61f5b4a33fb2b354c9a3029433ee3de2386cfe1461a191342fa |
File details
Details for the file lhl_python_tools-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: lhl_python_tools-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65d35952709c5ca90430c6af9d6ef2bf728329a4cf97a2f932479f3a92017d04 |
|
MD5 | 7b9372ebe7b22106d6e8610c25f48c5f |
|
BLAKE2b-256 | 92e384b5e1018e5376bad63aaa8dfecd2289755a87ab998f4221eb70721a4530 |