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.
Metadata
Release files for Flask-Sendwithus 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Flask-Sendwithus-1.0.2.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Flask_Sendwithus-1.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / Flask-Sendwithus-1.0.2.tar.gz
| Download URL | Flask-Sendwithus-1.0.2.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5ec8fba040854aaf9980b4e84ae0dac82a40de6df562288f4a8d098b2eabacc
|
|
BLAKE2b-256 checksum How to use checksums |
d53a83061f7590e6093f1fe25db3ba8aa8a387f23eaddf323544253033fbf359
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Flask_Sendwithus-1.0.2-py2.py3-none-any.whl
| Download URL | Flask_Sendwithus-1.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bdf6c8a59b5f7de246cf91c521a5b42b80735642136921cc89f417ceea1cb192
|
|
BLAKE2b-256 checksum How to use checksums |
44b4312616b8ffde2ff64022f495a6774c47aed68e7b63321e45610742ef1f96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |