Registry / web-framework / django-naomi

django-naomi

JSON →
library0.8pypypiunverified

Django email backend that captures outgoing emails and displays them in the browser for preview, instead of actually sending them. Current version 0.8, last updated in 2017, in maintenance mode.

pip install django-naomi
INSTALL
IMPORT
SIG · DJANGO-NAOMI
D
django-naomi
web-frameworkpythonv0.8
Install
3.4s avg
Import
Disk
65MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.8 · 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
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 66.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.4s · import 0.000s · 67MB
65MB installed
● package 65MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NaomiEmailBackend
from naomi import NaomiEmailBackend
from naomi.backend import NaomiEmailBackend

Set the email backend in Django settings to preview emails in the browser.

# settings.py EMAIL_BACKEND = 'naomi.backend.NaomiEmailBackend' # No further configuration needed; emails are captured in memory and viewed via /__email__/ endpoint
Debug
Known issues
gotchaThe import module is 'naomi', not 'django_naomi' or 'django-naomi'. The package name on PyPI uses hyphens, but the Python module is 'naomi'.
fix
Use 'from naomi.backend import NaomiEmailBackend' or set EMAIL_BACKEND to 'naomi.backend.NaomiEmailBackend'.
affects: all
deprecatedThis library is in maintenance mode; no updates since 2017. It may not work with Django 4.x+ without patches.
fix
Consider using django-mailer or django-email-bandit for more modern alternatives.
affects: 0.8
gotchaThe preview URL defaults to '/__email__/' but may not be registered if URLconf is not configured. Check the docs for manual URL inclusion.
fix
Add path('__email__/', include('naomi.urls')) to your URLconf if automatic discovery fails.
affects: all
Upgrade
Version history
0.8latest on PyPI · released Aug 15, 2015
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
Amazon
1
OpenAI (training)
1
Resources
django-naomi — pip install django-naomi · libregistry