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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mailosaur-7.3.0-py2.py3-none-any.whl (26.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: mailosaur-7.3.0.tar.gz
  • Upload date:
  • Size: 16.3 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.5

File hashes

Hashes for mailosaur-7.3.0.tar.gz
Algorithm Hash digest
SHA256 ac4e68a4a3d65fb80e918029541a96aee5b436b8ac3f7ef53e7596d5b0c45dbd
MD5 8fb8725d55e87913f931d58d6962d88b
BLAKE2b-256 e1f919eb2670020e829b4682409f0625de14360c2fcb905f95fed6e2d47bd971

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mailosaur-7.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 26.3 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.5

File hashes

Hashes for mailosaur-7.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5f92990f91875a430017774178df33fe3a5359206a2546980bbe85ccbab475b2
MD5 8ed857f087d665de1ae7a161bf0f3f34
BLAKE2b-256 c9c09defbb64825ac33659410d7d93f8fad257353e217b5b33c0d9dab363e493

See more details on using hashes here.

Supported by

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