Skip to main content

A really maintained CLI client and Python API library for the Mandrill email as a service platform.

Project description

Note

The upstream upstream version of mandrill-api-python appears maintained with reasonable PRs unmerged for over a year. This fork exists to merge such PRs until Mailchimp manage to get around to maintaining their own software. Help with code review really welcomed.

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/*
    

Project details


Release history Release notifications

This version
History Node

1.2.3

History Node

1.2.2

History Node

1.2.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mandrill-really-maintained-1.2.3.tar.gz (27.2 kB) Copy SHA256 hash SHA256 Source None Oct 25, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page