Gives you the ability to compress and send directory to a email
Project description
aio_send_dir
Для чего
Например, надо отправить coverage отчет после прогона pytest
def pytest_sessionfinish(session, exitstatus):
import asyncio
asyncio.run(send_dir(
dir_path="htmlcov",
smtp_hostname="localhost",
smtp_port=1025,
from_email="yoba@yoba.net",
recipient_emails="peka@yoba.net",
)
)
Публикация
Для ручной публикации необходимо задать переменные окружения PYPI_USERNAME
и PYPI_PASSWORD
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aio_send_dir-0.1.2.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for aio_send_dir-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca57abd686d74f12be03a9b55070cc211b597957ed839be5920657fa43aae6e9 |
|
MD5 | 099f3ef2daf40b20b49d17de5c9d43a8 |
|
BLAKE2b-256 | 983e15ead56991b5eb0e8d11bc4bb3dfb8729db82145370720cf0db02b73d167 |