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.1.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for aio_send_dir-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9fc9229cc6fd3c1bb7a72d494cbaf5538cf8810fcf09493b47d48358d909290 |
|
MD5 | 7822345111e2090f0825872c2a0ec3e7 |
|
BLAKE2b-256 | 02b33ef30979ff9da0cdaa7178a59a79ab09e90da4df51811d941580b9eb1539 |