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.0.3.tar.gz (256.1 kB view details)

Uploaded Source

Built Distribution

exchangelib-5.0.3-py2.py3-none-any.whl (235.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: exchangelib-5.0.3.tar.gz
  • Upload date:
  • Size: 256.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.1

File hashes

Hashes for exchangelib-5.0.3.tar.gz
Algorithm Hash digest
SHA256 b254154fa543a0d9ff47762f4cdd718327971987fff444522849aa1f4017b7fd
MD5 8752ea5e54a6e7679b2c16b3985e26f8
BLAKE2b-256 d2b76306e71f75a1eec364fc24c5fe142d86f79fb4906d1a7da1cf89570f8ea2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for exchangelib-5.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 00a7666099aeca5e32ded089e612a6d5a9c9aa412ff41f385bbd12d27a248976
MD5 571763c504064d308e45d32c9535f87c
BLAKE2b-256 18be277da9effecb831948b104bd96e941bc2b521dc11078a94f68265c0ae3d2

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