Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A Django+Djangae app to collect session and access metrics.

Project description

This package installs models and middleware used to simplify user tracking across sessions and correlate access to resources to the user requesting such access.

Some of the tools in this project assume you are running in a non-relational environment (so far only Google App Engine is supported) for your views of interest. As such, the project depends on the djangae package. Some day perhaps I will split this into relational and non-relational sub-packages.

Quick start

The easiest way to use django-autometrics-nonrel is to use the RestFrameworkGenericViewSetAutoMetricsMixin to provide built-in recording of user retrieval of entities:

Add the project to your INSTALLED_APPS:


Add the middleware to MIDDLEWARE_CLASSES anywhere after SessionMiddleware:


Use the mixin on your Django REST Framework GenericViewSet (or any viewset derived from GenericViewSet) to automatically log user access to items:

from rest_framework import viewsets
from autometrics_nonrel import mixins
from myapp.models import MyModel
class MyViewSet(
    model = MyModel
    queryset = MyModel.objects.all()

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-autometrics-nonrel-1.0.0.tar.gz (9.1 kB) Copy SHA256 hash SHA256 Source None Feb 5, 2018

Supported by

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