Skip to main content

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


Download files

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

Source Distribution

mailosaur-7.2.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

mailosaur-7.2.0-py2.py3-none-any.whl (23.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mailosaur-7.2.0.tar.gz.

File metadata

  • Download URL: mailosaur-7.2.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for mailosaur-7.2.0.tar.gz
Algorithm Hash digest
SHA256 fc9aed5173ea8fa1932da151f943077f0543a32b8f8565973bacaebecc26a381
MD5 55130a51ea75269c51f7bc55b071bef6
BLAKE2b-256 4037a9ed7c9056eb24e961e1c6a00450e49d51c3c289dda4a185e703847bc636

See more details on using hashes here.

File details

Details for the file mailosaur-7.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: mailosaur-7.2.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.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for mailosaur-7.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fc00b587764322d0b19d05c35975fa9132bcbe737024614cafab1bfb6a4ffb98
MD5 06e20af8f6a7277339758cffb62e7c1e
BLAKE2b-256 67859cd26327f7c02a9aafc083c7822d2629ac3264c5c4ff299ac0ff6ec13853

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page