Mandrill is a Python API client and suite of CLI-based tools for the Mandrill email as a platform service.
The API client is comprehensive, but the CLI functionality is minimal at this time.
Examples:
import mandrill client = mandrill.Mandrill('YOUR_API_KEY') print client.users.ping()CLI Examples:
mandrill setup mandrill ping -c10 mandrill send -f from@example.com -t to@example.com -s "My Subject Line" < content.html
Releasing
Install extra dependencies;
Create source distribution;
Upload to pypi repository:
$ pip install .[releasing] $ bumpversion patch ./VERSION --commit --tag --message 'Releasing {new_version}' $ git push --tags $ python setup.py sdist $ twine upload dist/*
Release files for mandrill-really-maintained 1.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mandrill-really-maintained-1.2.4.tar.gz | 27.2 kB | Details |
Release files / mandrill-really-maintained-1.2.4.tar.gz
| Download URL | mandrill-really-maintained-1.2.4.tar.gz |
|---|---|
| Size | 27.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d897ed5921027a06d7a95d988c7aa44f61169b631c4321f99a8bf519905ae6a
|
|
BLAKE2b-256 checksum How to use checksums |
941beba08fac25c3a86a6ae6eb220e122569c801ab22fa4474a4625d2b4ece08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5
|