Install & Compatibility
Where this runs
tested against v1.2.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 66MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.3s · import 0.000s · 67MB
65MB installed
● package 65MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
HoneypotField
✓ from honeypot import HoneypotField
✗ from honeypot.fields import HoneypotField
Minimal integration: add honeypot to INSTALLED_APPS, include HoneypotField in forms, and use verify_honeypot_value decorator on views.
# In settings.py
INSTALLED_APPS = [
...
'honeypot',
]
# In a form
from honeypot.fields import HoneypotField
class MyForm(forms.Form):
name = forms.CharField()
email = forms.EmailField()
hp = HoneypotField()
# In a view with decorator
from honeypot.decorators import verify_honeypot_value
from django.shortcuts import render
@verify_honeypot_value(field_name='hp')
def my_view(request):
# process form
return render(request, 'form.html', {'form': MyForm()})
# In template, render honeypot field
{{ form.hp }}
Upgrade
Version history
1.3.0latest on PyPI · released Jun 13, 2025
Audit
Dependencies
djangorequireddjango-honeypot requires Django