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.3.1

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.3.1
File Size Uploaded Provenance Actions
django_o365-0.3.1.tar.gz 5.7 kB With provenance Details for django_o365-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 10.3 kB

Release files / django_o365-0.3.1.tar.gz

Download URL django_o365-0.3.1.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
98a89dbb2138f7c80fb0e216d1309f54b127efc92a116309ee954d1307febf8b
BLAKE2b-256 checksum
How to use checksums
6d36726a7bd334c0ceed42dc5099fb9a1165010da9acef5208d22f1ee309bf6f
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.3.1-py3-none-any.whl

Download URL django_o365-0.3.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
463c23d7b206e0a09d6d429c6100d9b3254e6f8dcb2cdc2a9ec29a55c2f47d45
BLAKE2b-256 checksum
How to use checksums
8de821dc5281c02a301499db8b4acb0edad99af252afdedaa2aac11a83c87d60
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.3.1

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.3.1.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