Skip to main content

Gives you the ability to compress and send directory to a email

Project description

aio_send_dir

github

Для чего

Например, надо отправить 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


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)

Uploaded Source

Built Distribution

aio_send_dir-0.1.2-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page