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.

Source Distribution

django-impression-client-0.6.5.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

django_impression_client-0.6.5-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file django-impression-client-0.6.5.tar.gz.

File metadata

  • Download URL: django-impression-client-0.6.5.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.9

File hashes

Hashes for django-impression-client-0.6.5.tar.gz
Algorithm Hash digest
SHA256 319500290d930c4a1b77d31d0a48099f7f42368b45fed2a84c976749c68f3ada
MD5 5ba81d4d8ac00ed0154a93a4ad6026d7
BLAKE2b-256 e82fb72a1056ad797844671176dabec3497dfa48501d0222108e4345ea7baf7d

See more details on using hashes here.

File details

Details for the file django_impression_client-0.6.5-py3-none-any.whl.

File metadata

  • Download URL: django_impression_client-0.6.5-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.9

File hashes

Hashes for django_impression_client-0.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e881ded5c36588dc71ae010da057710529f6911588654c049602dc73b028c453
MD5 cad13bddb7afb7470b6ae3c5672c885f
BLAKE2b-256 507fb257c8e2c905de3ccd549b148e8d9b33eb73015121d9f193c38b6fd3d0ce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page