mailupy
💌 Yet another MailUp Python client
Contributing
Any help is welcome, as long as you don't break the continuous integration. Fork the repository and open a Pull Request directly on the master branch. A maintainer will review and integrate your changes.
Maintainers:
Contributors:
Install
pip install mailupy
How to use
Import Mailupy and instantiate the client
from mailupy import Mailupy
client = Mailupy(
'm00000',
'm@1lUPf4k3',
'8123dbff-d12c-4e3d-a55e-23a8c5a303f8',
'16cadddf-a145-45db-9347-a5ab51ac223d'
)
Examples
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, 'andrea.stagi@lotrek.it')
Subscribe/Unsubscribe recipient to/from lists
recipient_id = client.subscribe_to_list(
1, 'Andrea Stagi', 'stagi.andrea@gmail.com', pending=False
)
client.unsubscribe_from_list(1, recipient_id)
Run tests
pip install -r requirements-dev.txt
make test
Metadata
Release files for mailupy 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mailupy-1.1.4.tar.gz | 10.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mailupy-1.1.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 20.2 kB
Release files / mailupy-1.1.4.tar.gz
| Download URL | mailupy-1.1.4.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d52cb2dcbb977f383a2e05701f3bae46ce4b87a64728e735ba3a5abd370296a8
|
|
BLAKE2b-256 checksum How to use checksums |
1ea5d9e3d9ee6b62b794253cd4dfe5017905824d317ee877f1b97c44e7fa14f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / mailupy-1.1.4-py2.py3-none-any.whl
| Download URL | mailupy-1.1.4-py2.py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8710dce9ba5ccf8a059a3570f2aa5a51990cdedf445321c1df3ca620bdbeaf85
|
|
BLAKE2b-256 checksum How to use checksums |
f6a2391f523a54d9cbe701177bb508cf3cf690bd69190f57df2d79c4335e17ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for mailupy 1.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.