Metadata-Version: 2.0
Name: zhao
Version: 0.0.68
Summary: 老赵分享给所有Python爱好者的包包
Home-page: http://nixoahz.com
Author: Zhao Xin
Author-email: 7176466@qq.com
License: GNU General Public License v3 (GPLv3)
Keywords: python3 implementations
Platform: cross-platform
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: Chinese (Simplified)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.5
Requires-Dist: requests (>=2.18.4)
Requires-Dist: psycopg2-binary (>=2.7.4)

包包简介
========

虽然我一度坚守着 Python2，但如今我也离她而去了。

所以，我推荐大家和我一样将 Python3 作为学习和使用 Python 的起点，本包包也仅发布了 Python3 的版本。

可能您会觉得这个包包里面的东西五花八门，但我真心希望其中的某些代码对您有用。

安装升级
========

.. code:: shell

    $ pip install --user -U zhao

如何使用
========

用 zhao.xin_email.Mailman 发送带附件的纯文本邮件

.. code:: python

    from zhao.xin_email import Mailman
    mailman = Mailman(host=YOUR_SMTP_HOST,
                      user=YOUR_SMTP_USER,
                      password=YOUR_SMTP_PASS)

    if mailman.sendmail(sender='youname@example.com',
                        receivers=['tom@gmail.com', 'jerry@hotmail.com'],
                        subject='Hello, World!',
                        content='你好，世界！',
                        cc=['superman@sina.com'],
                        bcc=['boos@haven.com'],
                        files=[__file__]):
        print('邮件发送成功')
    else:
        print('邮件发送失败')

更多用途和秘密，有待您的探索 ...

更新历史
========

v0.0.68
--------

时间: 2018-03-28

更新: 为 zhao.xin_email.Mailman.sendmail() 添加 cc, bcc, 发送附件等功能

v0.0.62
--------

时间: 2018-03-27

更新: 添加 zhao.xin_email 模块


