semvec/pypi-packages huggingface dataset:
aiogmailsender 0.0.3
Asynchronous Gmail Client

aiogmailsender
==============
This is an asynchronous Gmail client that can send emails currently.

Quickstart
--------------
.. code-block:: python

    import asyncio
    import logging
    from email.mime.multipart import MIMEMultipart
    from email.mime.text import MIMEText

    import aiogmailsender

    async def arun():
        sender = await aiogmailsender.create('<gmailusername>',
                                             '<gamilpassword>',
                                             rate_limit=60, # How many emails sender sends within a minute
                                             pool_size=2, # How many clients are kept in pool
                                             retry=5, # How many times sender retries to send a message, when sending fails
                                             backoff=30, # How long sender sleep before retry (unit. seconds)
                                             backoff_limit=300 # Max backoff (everytime sender retries, the backoff time increases exponentially and the time can't be over this limit.)
                                             )

        tasks = []
        for i in range(10):
            message = MIMEMultipart('alternative')
            message["From"] = 'test'
            message["To"] = '<targetemail>'
            message["Subject"] = f'test {i}'

            part = MIMEText('test', 'html')
            message.attach(part)
            tasks.append(sender.send(message))

        await asyncio.gather(*tasks)


    if __name__ == '__main__':
        logging.basicConfig(format="%(asctime)s %(levelname)s:%(name)s:%(message)s", level=logging.DEBUG)
        asyncio.run(arun())
sevdeskapi 0.2.0
Provides a Python (object-based) API for SevDesk
Requires Python: >=3.6

# SevDesk API

![Prepare Sevdesk](https://github.com/Sachs-Media/sevdeskapi/workflows/Prepare%20Sevdesk/badge.svg)
[![docArea](https://img.shields.io/badge/docArea-0.0.1-%2340cbb1)](https://www.docarea.io/sachsmedia/sevdesk-api/)
![PyPI](https://img.shields.io/pypi/v/sevdeskapi)
![GitHub](https://img.shields.io/github/license/sachs-media/sevdeskapi)


A python-based API for communication with SevDesk

Further information coming soon


See documentation on docArea!

https://www.docarea.io/sachsmedia/sevdesk-api/index.html