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.1.0.tar.gz
.
File metadata
- Download URL: mailosaur-7.1.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4860c2f1ec4171a908ea50d75905f6f31858c18edfd1811076a09653dbcda5e |
|
MD5 | cd5c595d16390944092035472d454dfb |
|
BLAKE2b-256 | 13d147bfb55ba6428cc3962885912475fde3303fd5a1e84dd10a16e4a82ca940 |
File details
Details for the file mailosaur-7.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: mailosaur-7.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44c94f3eab269f23dbbf53420a447f35da9b233ce379c69fd37f61dd361a394b |
|
MD5 | e464006e50874a927907200719c089a8 |
|
BLAKE2b-256 | 843de077fd1cbe1ef5c55e0963b50eac44ef035f48f3e4f44c45dfcda9a9b8c3 |