Which pip package is the official Mailgun Python SDK?

The Mailgun documentation listed the wrong pip package for the official Python SDK, so developers were installing the wrong library. The correct package name was ambiguous from the docs alone. This caused confusion about which package to install for the official SDK.

The correct package is mailgun: pip install mailgun. The Mailgun team updated their docs after this report (https://documentation.mailgun.com/docs/mailgun/sdk/python_sdk/), so the official SDK is unambiguous now. If pip install mailgun pulls in something unexpected, check that you are not installing a similarly-named third-party package. Source: https://github.com/mailgun/mailgun-python/issues/10

Source: https://github.com/mailgun/mailgun-python/issues/10