Skip to main content

Client app for Impression.

Project description

Impression Client

TravisCI PyPI Coverage Code Style

Source: https://github.com/gregschmit/django-impression-client

PyPI: https://pypi.org/project/django-impression-client/

Impression Client is a reusable Django app that provides helpers for interacting with remote systems running Impression.

Installation

$ pip install django-impression-client

Configuration

Add django-impression-client to your requirements file to ensure it’s installed in the environment. Configure your settings.py:

EMAIL_BACKEND = "impression_client.backends.RemoteEmailBackend"
IMPRESSION_DEFAULT_TARGET = "https://impression.example.org/api/send_message/"
IMPRESSION_DEFAULT_TOKEN = "my_api_auth_token_here"

If you want to store your credentials in the database rather than statically in your project settings.py file, include impression_client in your INSTALLED_APPS, then run database migrations. Finally, remove the IMPRESSION_DEFAULT_TARGET and IMPRESSION_DEFAULT_TOKEN from your project settings.py, and go into the Django admin UI to add impression servers.

Tests

$ python manage.py test

Project details


Download files

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

Files for django-impression-client, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_impression_client-0.1.0-py3-none-any.whl (9.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-impression-client-0.1.0.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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