Registry / communication / mandrill

mandrill

JSON →
library1.0.60pypypi✓ verified 80d ago

Mandrill is a Python client library for the Mandrill email as a service platform. As of version 1.0.60, the library is deprecated and replaced by mailchimp-transactional. No new releases are expected; users should migrate to the new library.

pip install mandrill
INSTALL
IMPORT
SIG · MANDRILL
M
mandrill
communicationpythonv1.0.60
Install
3.7s avg
Import
576ms
Disk
21MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.0.60 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.610s · 22.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.7s · import 0.542s · 23MB
21MB installed
● package 21MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mandrill
from mandrill import Mandrill
import mandrill

Sends an email using the Mandrill API. Requires MANDRILL_API_KEY environment variable.

import mandrill m = mandrill.Mandrill(api_key=os.environ.get('MANDRILL_API_KEY', '')) try: result = m.messages.send(message={'subject': 'Hello', 'from_email': 'sender@example.com', 'to': [{'email': 'recipient@example.com'}]}) print(result) except mandrill.Error as e: print('Error:', e)
Debug
Known issues
deprecatedThis library is deprecated in favor of mailchimp-transactional. New features and bug fixes are not being added.
fix
Migrate to the mailchimp-transactional library: pip install mailchimp-transactional
affects: 1.0.60 and all versions
breakingIn version 1.0.50, the class name changed from MandrillAPI to Mandrill. Old import will break.
fix
Use 'from mandrill import Mandrill' instead of 'from mandrill import MandrillAPI'.
affects: >=1.0.50
gotchaThe library does not support Python 3.12+ due to removed distutils dependency. Some users report install failures.
fix
Install with 'pip install mandrill --use-deprecated=legacy-resolver' or use mailchimp-transactional.
affects: >=3.12
Upgrade
Version history
1.0.60latest on PyPI · released Apr 1, 2021
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
34
OpenAI (training)
1
Resources
mandrill — pip install mandrill · libregistry