Skip to main content

Python wrapper for Mailgun REST API

Project description

Python wrapper for MailGun REST API


Please visit our documentation page at


There are two ways to install Mailgun API:

1. sudo python install
2. Grab from the 'lib' folder of this repo and place it on your PYTHONPATH manually

Samples tryout:

> ./ samples/
> ./ samples/
> ./ samples/

Getting started:

from mailgun import Mailgun, Mailbox

Mailgun.init("my-api-key", "")
for mailbox in Mailbox.find():
print "{0} has size of {1}".format (, mailbox.size)

For more visit

MG team

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

mailgun-0.1.1.tar.gz (5.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page