Skip to main content

Client for Microsoft Exchange Web Services (EWS)

Project description

Exchange Web Services client library

This module is an ORM for your Exchange mailbox, providing Django-style access to all your data. It is a platform-independent, well-performing, well-behaving, well-documented, well-tested and simple interface for communicating with an on-premise Microsoft Exchange 2007-2016 server or Office365 using Exchange Web Services (EWS). Among other things, it implements autodiscover, and functions for searching, creating, updating, deleting, exporting and uploading calendar, mailbox, task, contact and distribution list items.

image image image image image xscode

Teaser

Here's a short example of how exchangelib works. Let's print the first 100 inbox messages in reverse order:

from exchangelib import Credentials, Account

credentials = Credentials('john@example.com', 'topsecret')
account = Account('john@example.com', credentials=credentials, autodiscover=True)

for item in account.inbox.all().order_by('-datetime_received')[:100]:
    print(item.subject, item.sender, item.datetime_received)

Documentation

Documentation is available at https://ecederstrand.github.io/exchangelib/. Source code documentation is available at https://ecederstrand.github.io/exchangelib/exchangelib/.

Project details


Release history Release notifications | RSS feed

This version

4.5.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exchangelib-4.5.0.tar.gz (221.1 kB view details)

Uploaded Source

Built Distribution

exchangelib-4.5.0-py2.py3-none-any.whl (235.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file exchangelib-4.5.0.tar.gz.

File metadata

  • Download URL: exchangelib-4.5.0.tar.gz
  • Upload date:
  • Size: 221.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.0

File hashes

Hashes for exchangelib-4.5.0.tar.gz
Algorithm Hash digest
SHA256 e8b377dc3a1c88c5b06a1ee52fd11383653c578e515570f49952ceb8848452a3
MD5 fd4640e912c0577e4dce483155c4df7e
BLAKE2b-256 ef9930049e382a4e83fe92d1d8e57939059fb9ae3b9b76182f41c83ccd569432

See more details on using hashes here.

File details

Details for the file exchangelib-4.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: exchangelib-4.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 235.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.0

File hashes

Hashes for exchangelib-4.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b6e8d2ce9ef6bb94c85579528757d66b48f5e99b63b75afbfb88d8a0728b5666
MD5 fc1662443f61859391c10a31f0ca3765
BLAKE2b-256 b67bfe763ec8a2a3ae1b5d9bf4137cf2d6ba85d4272b04300e6461bd7629787e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page