asterisk-utils


Nameasterisk-utils JSON
Version 0.1.2.1104.818 PyPI version JSON
download
home_pageNone
SummaryUtility tools for asterisk series.
upload_time2024-11-04 00:19:06
maintainerNone
docs_urlNone
authorShan,Tian
requires_python>=3.10.0
licenseApache License 2.0
keywords tools email print with log asterisk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Asterisk-Utils

## 介绍

对于常用的一些功能,做了一些封装,例如print与log整合封装,对于python内置的email以及smtplib的封装等,如发现任何缺陷或者新想法,请在[这里](https://gitee.com/zhangxin_1/asterisk-utils/issues)报告缺陷,或者[email](mailto:geoshan@163.com)交流。

## 软件架构

文件架构说明

```markdown
/
|-- asteriskutils/
|   |-- setup.py
|   |   |-- AppConfig
|   |
|   |-- tools.py
|   |   |-- succes_print
|   |   |-- error_print
|   |   |-- iprint
|   |   |-- dprint
|   |   |-- wprint
|   |
|   |-- mail.py
|   |   |-- AsteriskMailMsg
|   |   |-- AsteriskMail
```

## 安装教程

1. 建议 pip install astersik-utils
2. 或者到[gitee](https://gitee.com/zhangxin_1/asterisk-utils)下载源码,运行`python -m build`命令,直接安装dist目录下的whl文件

## 使用说明

1. 本软件是个中间件,并不能直接解决任何应用问题
2. 在开发软件程序时,可以另外做相关软件设置,覆盖本软件的内置设定。具体请参见[文档](https://e.gitee.com/zhangxin_1/repos/zhangxin_1/asterisk-utils/blob/master/docs/documentation.md)
3. 在使用print系列函数前需要先设置log目录到项目目录。

```python
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](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "asterisk-utils",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10.0",
    "maintainer_email": null,
    "keywords": "tools, email, print with log, asterisk",
    "author": "Shan,Tian",
    "author_email": "geoshan@163.com",
    "download_url": "https://files.pythonhosted.org/packages/0b/eb/1424f199fae2b6e2e7bd1d915c22d5c74ec76ec67cf05b6872124074728a/asterisk_utils-0.1.2.1104.818.tar.gz",
    "platform": "Independent",
    "description": "# Asterisk-Utils\n\n## \u4ecb\u7ecd\n\n\u5bf9\u4e8e\u5e38\u7528\u7684\u4e00\u4e9b\u529f\u80fd\uff0c\u505a\u4e86\u4e00\u4e9b\u5c01\u88c5\uff0c\u4f8b\u5982print\u4e0elog\u6574\u5408\u5c01\u88c5\uff0c\u5bf9\u4e8epython\u5185\u7f6e\u7684email\u4ee5\u53casmtplib\u7684\u5c01\u88c5\u7b49\uff0c\u5982\u53d1\u73b0\u4efb\u4f55\u7f3a\u9677\u6216\u8005\u65b0\u60f3\u6cd5\uff0c\u8bf7\u5728[\u8fd9\u91cc](https://gitee.com/zhangxin_1/asterisk-utils/issues)\u62a5\u544a\u7f3a\u9677\uff0c\u6216\u8005[email](mailto:geoshan@163.com)\u4ea4\u6d41\u3002\n\n## \u8f6f\u4ef6\u67b6\u6784\n\n\u6587\u4ef6\u67b6\u6784\u8bf4\u660e\n\n```markdown\n/\n|-- asteriskutils/\n|   |-- setup.py\n|   |   |-- AppConfig\n|   |\n|   |-- tools.py\n|   |   |-- succes_print\n|   |   |-- error_print\n|   |   |-- iprint\n|   |   |-- dprint\n|   |   |-- wprint\n|   |\n|   |-- mail.py\n|   |   |-- AsteriskMailMsg\n|   |   |-- AsteriskMail\n```\n\n## \u5b89\u88c5\u6559\u7a0b\n\n1. \u5efa\u8bae pip install astersik-utils\n2. \u6216\u8005\u5230[gitee](https://gitee.com/zhangxin_1/asterisk-utils)\u4e0b\u8f7d\u6e90\u7801\uff0c\u8fd0\u884c`python -m build`\u547d\u4ee4\uff0c\u76f4\u63a5\u5b89\u88c5dist\u76ee\u5f55\u4e0b\u7684whl\u6587\u4ef6\n\n## \u4f7f\u7528\u8bf4\u660e\n\n1. \u672c\u8f6f\u4ef6\u662f\u4e2a\u4e2d\u95f4\u4ef6\uff0c\u5e76\u4e0d\u80fd\u76f4\u63a5\u89e3\u51b3\u4efb\u4f55\u5e94\u7528\u95ee\u9898\n2. \u5728\u5f00\u53d1\u8f6f\u4ef6\u7a0b\u5e8f\u65f6\uff0c\u53ef\u4ee5\u53e6\u5916\u505a\u76f8\u5173\u8f6f\u4ef6\u8bbe\u7f6e\uff0c\u8986\u76d6\u672c\u8f6f\u4ef6\u7684\u5185\u7f6e\u8bbe\u5b9a\u3002\u5177\u4f53\u8bf7\u53c2\u89c1[\u6587\u6863](https://e.gitee.com/zhangxin_1/repos/zhangxin_1/asterisk-utils/blob/master/docs/documentation.md)\n3. \u5728\u4f7f\u7528print\u7cfb\u5217\u51fd\u6570\u524d\u9700\u8981\u5148\u8bbe\u7f6elog\u76ee\u5f55\u5230\u9879\u76ee\u76ee\u5f55\u3002\n\n```python\nfrom asteriskutils.setting import AppConfig\n\nAppConfig['log']['log_file_name'] = 'Your/App/log/Path'\n```\n\n## \u53c2\u4e0e\u8d21\u732e\n\n1. Fork \u672c\u4ed3\u5e93\n2. \u65b0\u5efa Feat_xxx \u5206\u652f\n3. \u63d0\u4ea4\u4ee3\u7801\n4. \u65b0\u5efa Pull Request\n\n## \u7279\u6280\n\n1. \u4f7f\u7528 Readme\\_XXX.md \u6765\u652f\u6301\u4e0d\u540c\u7684\u8bed\u8a00\uff0c\u4f8b\u5982 Readme\\_en.md, Readme\\_zh.md\n2. Gitee \u5b98\u65b9\u535a\u5ba2 [blog.gitee.com](https://blog.gitee.com)\n3. \u4f60\u53ef\u4ee5 [https://gitee.com/explore](https://gitee.com/explore) \u8fd9\u4e2a\u5730\u5740\u6765\u4e86\u89e3 Gitee \u4e0a\u7684\u4f18\u79c0\u5f00\u6e90\u9879\u76ee\n4. [GVP](https://gitee.com/gvp) \u5168\u79f0\u662f Gitee \u6700\u6709\u4ef7\u503c\u5f00\u6e90\u9879\u76ee\uff0c\u662f\u7efc\u5408\u8bc4\u5b9a\u51fa\u7684\u4f18\u79c0\u5f00\u6e90\u9879\u76ee\n5. Gitee \u5b98\u65b9\u63d0\u4f9b\u7684\u4f7f\u7528\u624b\u518c [https://gitee.com/help](https://gitee.com/help)\n6. Gitee \u5c01\u9762\u4eba\u7269\u662f\u4e00\u6863\u7528\u6765\u5c55\u793a Gitee \u4f1a\u5458\u98ce\u91c7\u7684\u680f\u76ee [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "Utility tools for asterisk series.",
    "version": "0.1.2.1104.818",
    "project_urls": null,
    "split_keywords": [
        "tools",
        " email",
        " print with log",
        " asterisk"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "95ce8f80e23ba8ede1c137522a112c58936d98d8d1ab43a0f4c135b31a3c1d3e",
                "md5": "d22bcf82fe88e0617a543f37e0490e7d",
                "sha256": "ce50046295a5f217f6b2ac830dc554000c9024d6ff56e340459b68ff58ff2489"
            },
            "downloads": -1,
            "filename": "asterisk_utils-0.1.2.1104.818-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d22bcf82fe88e0617a543f37e0490e7d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10.0",
            "size": 13998,
            "upload_time": "2024-11-04T00:19:05",
            "upload_time_iso_8601": "2024-11-04T00:19:05.555738Z",
            "url": "https://files.pythonhosted.org/packages/95/ce/8f80e23ba8ede1c137522a112c58936d98d8d1ab43a0f4c135b31a3c1d3e/asterisk_utils-0.1.2.1104.818-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0beb1424f199fae2b6e2e7bd1d915c22d5c74ec76ec67cf05b6872124074728a",
                "md5": "ed14141c8fa7a80e592a3a2077d0f3c8",
                "sha256": "c71278cdadb089522d6b2ff015bff6080236b4b6bb5535be23733f4e4ad75a11"
            },
            "downloads": -1,
            "filename": "asterisk_utils-0.1.2.1104.818.tar.gz",
            "has_sig": false,
            "md5_digest": "ed14141c8fa7a80e592a3a2077d0f3c8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10.0",
            "size": 12716,
            "upload_time": "2024-11-04T00:19:06",
            "upload_time_iso_8601": "2024-11-04T00:19:06.886299Z",
            "url": "https://files.pythonhosted.org/packages/0b/eb/1424f199fae2b6e2e7bd1d915c22d5c74ec76ec67cf05b6872124074728a/asterisk_utils-0.1.2.1104.818.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-04 00:19:06",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "asterisk-utils"
}
        
Elapsed time: 0.40074s