Skip to main content

Middleware to opt out of Google's FLoC cohort tracking.

Project description

https://badge.fury.io/py/django-no-floc.svg https://travis-ci.org/ph00lt0/django-no-floc.svg?branch=master https://codecov.io/gh/ph00lt0/django-no-floc/branch/master/graph/badge.svg

Middleware to opt out of Google’s FLoC cohort tracking.

Documentation

The full documentation is at https://django-no-floc.readthedocs.io.

Quickstart

Install django-no-floc:

pip install django-no-floc

Add it to your INSTALLED_APPS:

MIDDLEWARE = (
    ...
    'no_floc.middleware.NoFLoCMiddleware',
    ...
)

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Development commands

pip install -r requirements_dev.txt
invoke -l

Credits

Tools used in rendering this package:

History

0.1.0 (2021-04-09)

  • First release on PyPI.

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-no-floc-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_no_floc-0.1.0-py2.py3-none-any.whl (3.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-no-floc-0.1.0.tar.gz.

File metadata

  • Download URL: django-no-floc-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for django-no-floc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 463106001d83de66e630dd270fb2c7c459b1ea5a4238f1635c547a05ba4ad917
MD5 5eef461c290b8bb226c578472cb80003
BLAKE2b-256 918ce49106eade28dd6a118e96a9c081c47d3dbd9b8cbce265fa6a814a970eed

See more details on using hashes here.

File details

Details for the file django_no_floc-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: django_no_floc-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for django_no_floc-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd9be39cab21362963dbc43357728ed125d9a1aa39713c488efa8b114b2d750d
MD5 444791f78e883a695a7a74014927e763
BLAKE2b-256 95757358ff9d52baf1fdc4dd70b71f424739c3427da5b891aff8c79c386dfef7

See more details on using hashes here.

Supported by

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