Skip to main content

Django Probe

It's hard to remove features in open-source software. Deprecation warnings exist, but people tend to ignore them. What maintainers want to know is how many people are using a feature. That's where Django Probe comes in.

Django Probe allows you to share how your project uses Django. This package counts how often specific code patterns appear in your Django project and shares the aggregated information with the community.

By sharing what your project uses, you help support the Django community. This allows maintainers to know what features and APIs are actually being used, removing guess work.

Quickstart

$ pip install django-probe
$ django-probe scan .                    # inspect the payload
$ django-probe submit .                  # send it, anonymously

No account is required. See Getting started for project keys, and Privacy for exactly what a payload contains.

Reporting automatically

You should avoid reporting this manually. The project key can be set as an environment variable (DJANGO_PROBE_PROJECT_KEY), so it drops straight into a scheduled GitHub Action as a repository secret. See Getting started for a workflow you can copy.

What we're looking to learn

This list will grow over time, but for now there are two main usages:

  • The .extra() ORM API method
    • The .extra() ORM API method has had a note about avoiding its usage for years. Let's determine if this is something that is central to a signficant number of Django projects.
  • The @cache_page decorator
    • The @cache_page decorator can easily cause problems for projects by storing and serving sensitive information such as CSRF tokens and CSP nonces. Understanding how widespread the usage is of it can help determine what further changes are needed.

Download files

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

Source Distribution

django_probe-0.1.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

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

django_probe-0.1.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file django_probe-0.1.0.tar.gz.

File metadata

  • Download URL: django_probe-0.1.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for django_probe-0.1.0.tar.gz
Algorithm Hash digest
SHA256 479d09376ba5226a083cad89fa8f50d338422c74b427cf8f8ae17bb6a732f438
MD5 a04f6ca17c3539f0ea21e00432838e00
BLAKE2b-256 6cee5563dfc4707b2784ea1c484390ca65bab09de4bc84a94e4640738f572999

See more details on using hashes here.

File details

Details for the file django_probe-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_probe-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for django_probe-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2d45da8953393c9678aea279c9e823c10e29c51e82103626a3a81b6031074df
MD5 10928774644126fa14b9ed2544dff7ce
BLAKE2b-256 e70a02e4f1b123607644d163b68e77a37fc073bc4372ac1ccc57dd133c9d13d3

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.1.0 This release

2 files

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