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 details)
Built Distribution
File details
Details for the file aio_send_dir-0.1.2.tar.gz
.
File metadata
- Download URL: aio_send_dir-0.1.2.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.8 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f6a7f0387992930bfdf4d79f9812ec34e789d1a62ab9437a0aef83c219abb3d |
|
MD5 | 764c338e3c7bf32cdcebb62122419071 |
|
BLAKE2b-256 | 9ca7da4cc8c71718f3a4cd874a2b8ae5fdced1cbcb33a7e4106c4b4588a9c263 |
File details
Details for the file aio_send_dir-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: aio_send_dir-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.8 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca57abd686d74f12be03a9b55070cc211b597957ed839be5920657fa43aae6e9 |
|
MD5 | 099f3ef2daf40b20b49d17de5c9d43a8 |
|
BLAKE2b-256 | 983e15ead56991b5eb0e8d11bc4bb3dfb8729db82145370720cf0db02b73d167 |