aiosmtplib:异步smtplib实现

时间:2021-04-03 02:18:05
【文件属性】:
文件名称:aiosmtplib:异步smtplib实现
文件大小:89KB
文件格式:ZIP
更新时间:2021-04-03 02:18:05
python asynchronous asyncio python-3 smtp-client aiosmtplib aiosmtplib是用于asyncio的异步SMTP客户端。 有关文档,请参阅。 快速开始 import asyncio from email . message import EmailMessage import aiosmtplib message = EmailMessage () message [ "From" ] = "root@localhost" message [ "To" ] = "somebody@example.com" message [ "Subject" ] = "Hello World!" message . set_content ( "Sent via aiosmtplib" ) loop = asyncio . get_event_loop () loop . run_until_complete ( aiosmtplib
【文件预览】:
aiosmtplib-main
----README.rst(2KB)
----.github()
--------FUNDING.yml(13B)
--------dependabot.yml(147B)
----LICENSE.txt(1KB)
----poetry.lock(39KB)
----CHANGELOG.rst(3KB)
----aiosmtplib()
--------compat.py(3KB)
--------default.py(195B)
--------sync.py(1KB)
--------status.py(1KB)
--------response.py(775B)
--------errors.py(3KB)
--------__init__.py(1KB)
--------py.typed(97B)
--------email.py(5KB)
--------__main__.py(892B)
--------protocol.py(13KB)
--------auth.py(7KB)
--------connection.py(19KB)
--------esmtp.py(17KB)
--------api.py(13KB)
--------smtp.py(12KB)
----.circleci()
--------config.yml(9KB)
----.travis.yml(643B)
----tox.ini(3KB)
----pytest.ini(72B)
----.pre-commit-config.yaml(1KB)
----docs()
--------reference.rst(632B)
--------conf.py(6KB)
--------overview.rst(47B)
--------usage.rst(4KB)
--------requirements.txt(75B)
--------client.rst(6KB)
--------index.rst(227B)
--------Makefile(608B)
--------changelog.rst(30B)
----tests()
--------test_commands.py(17KB)
--------test_live.py(2KB)
--------smtpd.py(6KB)
--------test_config.py(7KB)
--------test_api.py(3KB)
--------certs()
--------test_sync.py(2KB)
--------test_email_utils.py(10KB)
--------test_response.py(501B)
--------test_main.py(925B)
--------test_auth.py(6KB)
--------test_errors.py(4KB)
--------__init__.py(0B)
--------test_timeouts.py(5KB)
--------test_tls.py(8KB)
--------test_asyncio.py(5KB)
--------test_compat.py(686B)
--------conftest.py(13KB)
--------test_protocol.py(6KB)
--------test_esmtp_utils.py(1KB)
--------test_sendmail.py(13KB)
--------test_connect.py(11KB)
----.readthedocs.yml(359B)
----.gitignore(331B)
----pyproject.toml(2KB)

网友评论