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
- The
@cache_pagedecorator- The
@cache_pagedecorator 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.
- The
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
479d09376ba5226a083cad89fa8f50d338422c74b427cf8f8ae17bb6a732f438
|
|
| MD5 |
a04f6ca17c3539f0ea21e00432838e00
|
|
| BLAKE2b-256 |
6cee5563dfc4707b2784ea1c484390ca65bab09de4bc84a94e4640738f572999
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2d45da8953393c9678aea279c9e823c10e29c51e82103626a3a81b6031074df
|
|
| MD5 |
10928774644126fa14b9ed2544dff7ce
|
|
| BLAKE2b-256 |
e70a02e4f1b123607644d163b68e77a37fc073bc4372ac1ccc57dd133c9d13d3
|