Skip to main content

Yet another Mailup Python client

Project description

💌 Yet another MailUp Python client

Latest Version codecov Build Status License: MIT


pip install mailupy

How to use

Import Mailupy and instantiate the client

from mailupy import Mailupy

client = Mailupy(


Getting information about fields, groups…

for field in client.get_fields():
    print (field)
for group in client.get_groups_from_list(1):
    print (group)

Getting recipients from lists using Ordering and Filtering (Mailup Documentation)

for group in client.get_groups_from_list(
        1, filter_by='Name.Contains(\'Farm\')',
        order_by=['Name asc', 'idGroup desc']):
    print (group)
for recipient in client.get_subscribed_recipients_from_list(
        1, filter_by='Email.Contains(\'zzz\')',
        order_by=['Email desc']):
    print (recipient['Email'])

Getting a subscribed recipient from a list

client.get_subscribed_recipient_from_list(1, '')

Subscribe/Unsubscribe recipient to/from lists

recipient_id = client.subscribe_to_list(1, 'Andrea Stagi', '')

client.unsubscribe_from_list(1, recipient_id)

Run tests

pip install -r requirements-dev.txt
make test

Project details

Release history Release notifications

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mailupy, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size mailupy-1.0.0-py3-none-any.whl (8.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mailupy-1.0.0.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page