Skip to main content

Utility tools for asterisk series.

Project description

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

安装教程

  1. 建议 pip install astersik-utils
  2. 或者到gitee下载源码,运行python -m build命令,直接安装dist目录下的whl文件

使用说明

  1. 本软件是个中间件,并不能直接解决任何应用问题
  2. 在开发软件程序时,可以另外做相关软件设置,覆盖本软件的内置设定。具体请参见文档
  3. 在使用print系列函数前需要先设置log目录到项目目录。
from asteriskutils.setting import AppConfig

AppConfig['log']['log_file_name'] = 'Your/App/log/Path'

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

特技

  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. Gitee 官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
  4. GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
  5. Gitee 官方提供的使用手册 https://gitee.com/help
  6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/

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

asterisk_utils-0.1.3.416.1803.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asterisk_utils-0.1.3.416.1803-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file asterisk_utils-0.1.3.416.1803.tar.gz.

File metadata

  • Download URL: asterisk_utils-0.1.3.416.1803.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for asterisk_utils-0.1.3.416.1803.tar.gz
Algorithm Hash digest
SHA256 fdbe76f57a806ea8668e57a6ab703581feb2a3ee5ca6b4495d666eef2eede4d5
MD5 f83c9ed98b9071b95deb56351bec891f
BLAKE2b-256 1ec394c5640e58ef0c4b8122ee2d04e10340b0f23189e9ee91a9b4e91f89190e

See more details on using hashes here.

File details

Details for the file asterisk_utils-0.1.3.416.1803-py3-none-any.whl.

File metadata

File hashes

Hashes for asterisk_utils-0.1.3.416.1803-py3-none-any.whl
Algorithm Hash digest
SHA256 d2d12a029365954ecd7ee41a4cfadf8d8e63d48df7e74401131a25816863ca35
MD5 6e67b63e5a35eb23b757ac5c3f180e6c
BLAKE2b-256 db252a8f13d893b155dccb97798b29fbd2c0c8c94b0b1b984d0c97079cd499cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page