The Mailosaur Python library lets you integrate email and SMS testing into your continuous integration process.
Project description
Mailosaur Python Client Library
Mailosaur lets you automate email and SMS tests, like account verification and password resets, and integrate these into your CI/CD pipeline.
Installation
pip install --upgrade mailosaur
Documentation
Please see the Python client reference for the most up-to-date documentation.
Usage
example.py
from mailosaur import MailosaurClient
mailosaur = MailosaurClient("YOUR_API_KEY")
result = mailosaur.servers.list()
print("You have a server called: " + result.items[0]["name"])
Development
You must have the following prerequisites installed:
Install all development dependencies:
pip install -r requirements.txt
The test suite requires the following environment variables to be set:
export MAILOSAUR_BASE_URL=https://mailosaur.com/
export MAILOSAUR_API_KEY=your_api_key
export MAILOSAUR_SERVER=server_id
Run all tests:
nosetests
Contacting us
You can get us at support@mailosaur.com
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
Built Distribution
File details
Details for the file mailosaur-7.0.4.tar.gz
.
File metadata
- Download URL: mailosaur-7.0.4.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dc04d9064b7e507db4045bf76e918e78a3032abc985c871684e136716e047a2 |
|
MD5 | 7d19b840531aee2316c6c8dbb9144b14 |
|
BLAKE2b-256 | bc22e7814d1267f05bf6d465d98dc26593c31240f374c7f7d5ef94608fd7d28d |
File details
Details for the file mailosaur-7.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: mailosaur-7.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94e0832d9b8033802fb7b83dcf4c3313f5dfb24445beb67ae1ddfe9330b9443e |
|
MD5 | 40077bbc42eb62498d2f7752c1abc61e |
|
BLAKE2b-256 | 74eaaf40d42cc1292df6dcc58dd543d9f8eef57e391beb9d15a05781535ef3b5 |