{ "info": { "author": "LogicJake", "author_email": "chenyangshi1996@gamil.com", "bugtrack_url": null, "classifiers": [], "description": "## print2message\n\u7a0b\u5e8f\u5728\u529e\u516c\u5ba4\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c\uff0c\u60f3\u5b9e\u65f6\u4e86\u89e3\u7a0b\u5e8f\u7684\u8fd0\u884c\u60c5\u51b5\u6216\u7ed3\u679c\uff1fPrint2message\u53ef\u4ee5\u5e2e\u4f60\u5c06print\u5185\u5bb9\u8f6c\u53d1\u5230\u7535\u5b50\u90ae\u4ef6\u6216\u5fae\u4fe1\u3002\n### \u5b89\u88c5\n```bash\npip install print2message\n```\n### \u4f7f\u7528\n* \u65b0\u5efayaml\u914d\u7f6e\u6587\u4ef6\uff0c\u5185\u5bb9\u5982\u4e0b\uff1a\n```\nbasic:\n subject: \u6d4b\u8bd5\u7528\n method: mail\n switch: true\nwechat:\n key: SCU*************\nmail:\n host: smtp.qq.com\n port: 25\n password: abcdefg\n user_name: 123456789\n sender: 123456789@qq.com\n receiver: 1234567819@qq.com\n```\nbasic.subject\uff1a\u9879\u76ee\u540d\u79f0\uff0c\u4f5c\u4e3a\u6d88\u606f\u901a\u77e5\u7684\u6807\u9898 \nbasic.method\uff1a\u901a\u77e5\u65b9\u5f0f\uff0cwechat\u6216mail \nbasic.swith\uff1a\u662f\u5426\u901a\u77e5\uff0cfalse\u5c06\u4e0d\u8f6c\u53d1print\u5185\u5bb9\uff0c\u53ea\u5355\u7eaf\u6267\u884cprint\u529f\u80fd \nwechat.key\uff1aserver\u9171\u7684SCKEY\uff0c\u514d\u8d39\u6ce8\u518c \nmail\uff1a\u90ae\u7bb1\u7684\u76f8\u5173\u53c2\u6570\n* \u4f7f\u7528set_config_path\u6307\u5b9a\u914d\u7f6e\u6587\u4ef6\u4f4d\u7f6e\n### example\n```\nfrom print2message import set_config_path, printm\nimport os\n\ncurrent_path = os.path.dirname(os.path.abspath(__file__))\n\nset_config_path(os.path.join(current_path, 'config.yaml'))\n\nif __name__ == \"__main__\":\n printm('hello print2msg')\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/LogicJake/print2message", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "print2message", "package_url": "https://pypi.org/project/print2message/", "platform": "", "project_url": "https://pypi.org/project/print2message/", "project_urls": { "Homepage": "https://github.com/LogicJake/print2message" }, "release_url": "https://pypi.org/project/print2message/1.1.0/", "requires_dist": [ "requests", "PyYAML" ], "requires_python": "", "summary": "Forward 'print' content", "version": "1.1.0" }, "last_serial": 5312620, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "cea6ea0b130a9205c3c592b912c4f69e", "sha256": "f4669530f3647fa539a3bb8ca4f71aad69a3b4283421bf4f76ed1cebaac5cc80" }, "downloads": -1, "filename": "print2message-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cea6ea0b130a9205c3c592b912c4f69e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2973, "upload_time": "2019-05-24T12:46:15", "url": "https://files.pythonhosted.org/packages/e5/da/e4aa6e1df8d34a05dbd1260db243580e8f8af3d908921b3cc19b28dce169/print2message-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "373b16676da923d56c57ebfe03c9ba0c", "sha256": "0fb7a031ca7cf446cdcb3a870865b32c7aa2f71f942066f740eac250596bdc2f" }, "downloads": -1, "filename": "print2message-1.1.0.tar.gz", "has_sig": false, "md5_digest": "373b16676da923d56c57ebfe03c9ba0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3043, "upload_time": "2019-05-24T12:46:27", "url": "https://files.pythonhosted.org/packages/8e/93/0c28a0364b8ccf5d71ed7d8b9c563b2361c818f2fe057ce9253bd2801f03/print2message-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cea6ea0b130a9205c3c592b912c4f69e", "sha256": "f4669530f3647fa539a3bb8ca4f71aad69a3b4283421bf4f76ed1cebaac5cc80" }, "downloads": -1, "filename": "print2message-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cea6ea0b130a9205c3c592b912c4f69e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2973, "upload_time": "2019-05-24T12:46:15", "url": "https://files.pythonhosted.org/packages/e5/da/e4aa6e1df8d34a05dbd1260db243580e8f8af3d908921b3cc19b28dce169/print2message-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "373b16676da923d56c57ebfe03c9ba0c", "sha256": "0fb7a031ca7cf446cdcb3a870865b32c7aa2f71f942066f740eac250596bdc2f" }, "downloads": -1, "filename": "print2message-1.1.0.tar.gz", "has_sig": false, "md5_digest": "373b16676da923d56c57ebfe03c9ba0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3043, "upload_time": "2019-05-24T12:46:27", "url": "https://files.pythonhosted.org/packages/8e/93/0c28a0364b8ccf5d71ed7d8b9c563b2361c818f2fe057ce9253bd2801f03/print2message-1.1.0.tar.gz" } ] }