This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Forwards-compatible Flask extension to interact with the sendwithus API

Project Description

About

Forwards-compatible Flask extension to interact with the sendwithus API.

Installation

pip install Flask-Sendwithus

Documentation

Uses the standard extension pattern. Example:

>>> from flask import Flask
>>> from flask_sendwithus import Sendwithus

>>> app = Flask(__name__)
>>> app.config['SENDWITHUS_API_KEY'] = 'YOUR-API-KEY'
>>> sendwithus = Sendwithus()
>>> sendwithus.init_app(app)
>>> r = sendwithus.send(
    email_id='YOUR-EMAIL-ID',
    recipient={'address': 'us@sendwithus.com'})
>>> print(r.status_code)
200
)

See the official python client’s documentation for further info on what methods are available. All methods found on the sendwithus.api instance is proxied on the Flask-Sendwithus’s instance.

Release History

Release History

This version
History Node

1.0.2

History Node

1.0.1

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Flask_Sendwithus-1.0.2-py2.py3-none-any.whl (4.2 kB) Copy SHA256 Checksum SHA256 3.5 Wheel Oct 1, 2016
Flask-Sendwithus-1.0.2.tar.gz (2.2 kB) Copy SHA256 Checksum SHA256 Source Oct 1, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting