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",
)
)
Публикация
Для ручной публикации необходимо задать переменные окружения TWINE_USERNAME
и TWINE_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.0.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for aio_send_dir-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c680eaea0dbf6267cccd38b904671d75c9259599e73ae252bfc184c31adde715 |
|
MD5 | 689adf6934f6e383709cbf7c1c4b88db |
|
BLAKE2b-256 | f52f5977045842230f826da203badf93b12a7091f9a6f6e958cdb69472bb2225 |