Skip to main content

Tests Status Coverage Status

django-o365

Simple EmailBackend for Django to work with Microsoft Exchange Online, via o365 package.

Development

Install uv, then create the environment and run the checks:

uv sync --dev
uv run ruff format --check .
uv run ruff check .
uv run pytest tests/

Supported authentication

Currently only OAuth2.0 authentication with credentials workflow is supported.

Configuration

Following Django settings need to be added:

EMAIL_O365_TENANT_ID = "my-client"
EMAIL_O365_CLIENT_ID = "my-client-id"
EMAIL_O365_CLIENT_SECRET = "super-secret"
EMAIL_O365_SENDER = "mysender@example.com"

# set backend
EMAIL_BACKEND = "django_o365.backend.O365EmailBackend"

Badges

Badges have been created with genbadge:

# pytest
uv run pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html
genbadge tests

# coverage
coverage run -m pytest tests/
coverage xml
coverage html
genbadge coverage

Metadata

Release files for django-o365 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-o365 0.4.0
File Size Uploaded Provenance Actions
django_o365-0.4.0.tar.gz 5.6 kB With provenance Details for django_o365-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-o365 0.4.0
File Interpreter ABI Platform Actions
django_o365-0.4.0-py3-none-any.whl Python 3 none any Details for django_o365-0.4.0-py3-none-any.whl

Total release size: 10.2 kB

Release files / django_o365-0.4.0.tar.gz

Download URL django_o365-0.4.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
915a50231d0bf88275195cd18df47be9db526dffab157f42b8007ed54aeff28d
BLAKE2b-256 checksum
How to use checksums
56fcdc1a91ae2ac37f54ed5faf6e0a78bf0beb2edaa6b71a10b1b8acd201a826
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Release files / django_o365-0.4.0-py3-none-any.whl

Download URL django_o365-0.4.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
945e9f8399ea1801b9288641e17a1b3dd32c381b44082ee5533212ff2526b829
BLAKE2b-256 checksum
How to use checksums
a45c566cefee4efb04db0d8a93a1a463e0c06339a1a01743b42df74d060c7c5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for django-o365 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_o365-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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