Skip to main content
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!

Django API wrapper for mailing delivery service: http://get-n-post.ru/

Project Description

API обёртка на Python над сервисом get-n-post.ru.

Зависимости

Пакету требуются: requests и lxml.

Установка и настройка

Установить пакет из PyPI:

$ pip install django-banzai

Добавить приложение banzai в ваши INSTALLED_APPS.

Заполнить в настройках BANZAI_API_KEY - API-ключ, сгенерированный сервисом для вашего IP-адреса.

Использование

Отправить email с django-совместимым синтаксисом:

from banzai.base import send_mail

send_mail('subject', 'mail body', 'from@myprojectand.me', ['to@lovely.users'])

Или отправить email согласно принципам get-n-post:

from banzai.mail import MailPackage
from banzai.api import BanzaiAPI

mail_package = MailPackage(email_from, name_from, subject, message)
mail_package.add_recipients(recipient_list)
package = mail_package.save()

banzai_api_obj = BanzaiAPI(package)
package = banzai_api_obj.add()
Release History

Release History

This version
History Node

0.2

History Node

0.1

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
django-banzai-0.2.tar.gz (10.2 kB) Copy SHA256 Checksum SHA256 Source Dec 16, 2014

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