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.1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

mailosaur-7.2.1-py2.py3-none-any.whl (23.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: mailosaur-7.2.1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.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.1.tar.gz
Algorithm Hash digest
SHA256 0f30cbbba3a693b2619265a614ab9303b67fac778730db7e3a99c6fb884a0f51
MD5 d8985c417bcfd25a042b6ef8eb937615
BLAKE2b-256 000027edc9af9e80221175db2cd9301d5d25dbbb7ecd954fb714e7c3efe2c269

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mailosaur-7.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 24b7c69b438bdaac71bb4034f598175a0c3ec57d0905bdeb0fb5552363a6a7ce
MD5 f552589c7d693d4e53499429b43a8979
BLAKE2b-256 579094d8bee0fe6017f2bf40520d2a19c7e7a80a5cdc147929eab7b734073316

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