Skip to main content

django-ackee-middleware

CI codecov License PyPI

Django middleware reporting requests to Ackee, self-hosted analytics tool for those who care about privacy. Alternative to using the client-side JS tracker.

Installation

$ pip install django-ackee-middleware

If you don't have the Ackee instance yet, you can quickly deploy it on Heroku.

Configuration

Add the middleware as the first one in your Django settings.py:

MIDDLEWARE = [
    "ackee.middleware.TrackerMiddleware",
    "django.middleware.security.SecurityMiddleware",
    ...
]

Then add the following properties:

ACKEE_SERVER = "https://myackeeserver.com"
ACKEE_DOMAIN_ID = "YOUR DOMAIN ID"
ACKEE_IGNORED_PATHS = [
    "^/admin/.*"
]

Remember to change the server and domain ID to your values.

Development

This project is using pipenv to manage the development dependencies. To install them run:

$ pipenv install

Publishing

There are two pipenv scripts that make building and publishing the package easier:

  • pipenv run build - builds the distribution package
  • pipenv run upload - uploads the package to PyPI

Metadata

Release files for django-ackee-middleware 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-ackee-middleware 0.1.1
File Size Uploaded Provenance Actions
django-ackee-middleware-0.1.1.tar.gz 4.2 kB Without provenance Details for django-ackee-middleware-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-ackee-middleware 0.1.1
File Interpreter ABI Platform Actions
django_ackee_middleware-0.1.1-py3-none-any.whl Python 3 none any Details for django_ackee_middleware-0.1.1-py3-none-any.whl

Total release size: 10.4 kB

Release files / django-ackee-middleware-0.1.1.tar.gz

Download URL django-ackee-middleware-0.1.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0b71fdc6538f47e4d745bde5ee4709f6fe02c4e4ddd66726d1d335ff38f86e80
BLAKE2b-256 checksum
How to use checksums
ce205d55d657185425aa05b61f9704c9fa5e7e468b49603cc8bfd0b025b025a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.5

Release files / django_ackee_middleware-0.1.1-py3-none-any.whl

Download URL django_ackee_middleware-0.1.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb046ddf5c838be75f0b020ecf49eca04a4ab75a79060515752b29e0a860a99f
BLAKE2b-256 checksum
How to use checksums
6fd8d1c427a1698f8a3020b099ef0f6dfa4743cd7040de810703f9fbe2302ba4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.5

Security for django-ackee-middleware 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page