Skip to main content

mailgun-cli

control mailgun account using cli and python api

Features

  • easily create routes for 1-on-1 forwarding mail using a csv file or Google Spreadsheet

Usages

CLI

set the mailgun api key

# bash shell
$ export MAILGUN_API_KEY [your private API key]
# fish shell
$ set -X MAILGUN_API_KEY [your private API key]

You could permanently set it in ~/.bash_profile or ~/.config/fish/config.fish

list all routes

$ mailgun routes

forward using a csv

$ mailgun forward "https://docs.google.com/spreadsheets/d/e/2PACX-1vQX-8YPc7Dja4jn3u0E5MzGdEOPxB9OEI2kDzO_7c-CLpGQ5g8LdPO2W9f6tETrVyBBZvWx3qNAMwPa/pub?output=csv"

install

$ pip install mailgun-cli 

✨🍰✨

Forward templete

Google Spreadsheet, Here is a templete.

  1. First publish your Google sheet to the web by going to File > Publish to the web...
  2. Choose the tab you want, then select Comma-separated values (.csv) as the export format
  3. Grab the URL

Learning Path

  1. https://codingdose.info/2018/08/02/develop-and-publish-with-poetry/

Metadata

Release files for mailgun-cli 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mailgun-cli 0.1.9
File Size Uploaded Provenance
mailgun-cli-0.1.9.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mailgun-cli 0.1.9
File Interpreter ABI Platform
mailgun_cli-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / mailgun-cli-0.1.9.tar.gz

Download URL mailgun-cli-0.1.9.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
03d1a1bbd2ed234a6909c2c41b5255342a3f22799c0c17c579d14733999a3200
BLAKE2b-256 checksum
How to use checksums
c86a90543b21ef7012fc53d1b3f28676d2f53b8c49136c6ab123bb969c702d33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.11 CPython/3.6.8 Darwin/18.2.0

Release files / mailgun_cli-0.1.9-py3-none-any.whl

Download URL mailgun_cli-0.1.9-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd1a291f9b41320486fb12bfe49cdb6ffa6767676ba3dbe22839f2f1f013937a
BLAKE2b-256 checksum
How to use checksums
da1ed3876931f1d2be60ebd8e64701ce811b7d5c517f72e80a40acfb3dda4b90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.11 CPython/3.6.8 Darwin/18.2.0

Security for mailgun-cli 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page