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

Download files

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

Source Distribution

exchangelib-5.4.0.tar.gz (211.7 kB view details)

Uploaded Source

Built Distribution

exchangelib-5.4.0-py3-none-any.whl (242.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exchangelib-5.4.0.tar.gz
  • Upload date:
  • Size: 211.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for exchangelib-5.4.0.tar.gz
Algorithm Hash digest
SHA256 8fc6a98e7cc7b203f1eafc332ddf19c46979809f7138d2411e19491fcb7aa69a
MD5 8cb8a809290f57111de11e227e71ae0c
BLAKE2b-256 322c151cf9649d0f957f25a5abc1fc0863fa4d0600b406f37c5131101a92367c

See more details on using hashes here.

File details

Details for the file exchangelib-5.4.0-py3-none-any.whl.

File metadata

  • Download URL: exchangelib-5.4.0-py3-none-any.whl
  • Upload date:
  • Size: 242.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for exchangelib-5.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edd4f5bca3b6dc67a3ad02f4b6d02ea141bff0788e5eb692d3bd09dc16a9a897
MD5 dc02de8a890775620e11b2732d7d7209
BLAKE2b-256 caaf17ffe2ebbd6776779e84e63f38c2aa23c38d4807e0b9d26bee105fa2fd39

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