Asterisk-Utils
介绍
对于常用的一些功能,做了一些封装,例如print与log整合封装,对于python内置的email以及smtplib的封装等,如发现任何缺陷或者新想法,请在这里报告缺陷,或者email交流。
软件架构
文件架构说明
/
|-- asteriskutils/
| |-- setup.py
| | |-- AppConfig
| |
| |-- tools.py
| | |-- succes_print
| | |-- error_print
| | |-- iprint
| | |-- dprint
| | |-- wprint
| |
| |-- mail.py
| | |-- AsteriskMailMsg
| | |-- AsteriskMail
安装教程
- 建议 pip install astersik-utils
- 或者到gitee下载源码,运行
python -m build命令,直接安装dist目录下的whl文件
使用说明
- 本软件是个中间件,并不能直接解决任何应用问题
- 在开发软件程序时,可以另外做相关软件设置,覆盖本软件的内置设定。具体请参见文档
- 在使用print系列函数前需要先设置log目录到项目目录。
from asteriskutils.setting import AppConfig
AppConfig['log']['log_file_name'] = 'Your/App/log/Path'
参与贡献
- 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/
Metadata
Release files for asterisk-utils 0.1.4.224.1722
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| asterisk_utils-0.1.4.224.1722.tar.gz | 13.1 kB | Without provenance | Details for asterisk_utils-0.1.4.224.1722.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| asterisk_utils-0.1.4.224.1722-py3-none-any.whl | Python 3 | none | any | Details for asterisk_utils-0.1.4.224.1722-py3-none-any.whl |
Total release size: 28.1 kB
Release files / asterisk_utils-0.1.4.224.1722.tar.gz
| Download URL | asterisk_utils-0.1.4.224.1722.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53c9432971b9ba277965efa1e45e6848317d769e8d474385ab1729675eb7175d
|
|
BLAKE2b-256 checksum How to use checksums |
9b8cb5214e1abd5555114fa63ab9affd49f02be0cdabca0797852cc48c4aede4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / asterisk_utils-0.1.4.224.1722-py3-none-any.whl
| Download URL | asterisk_utils-0.1.4.224.1722-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2500a6a0ede333faf326389437049bb15d489cfd5c0ee8f5beecd2e2319536ca
|
|
BLAKE2b-256 checksum How to use checksums |
5b6e3119f3f951cb708572226289091a46e96ab80bd65d9b188dafcf765e3889
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for asterisk-utils 0.1.4.224.1722
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.