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

Download files

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

Source Distribution

exchangelib-3.3.1.tar.gz (183.4 kB view details)

Uploaded Source

Built Distribution

exchangelib-3.3.1-py2.py3-none-any.whl (211.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: exchangelib-3.3.1.tar.gz
  • Upload date:
  • Size: 183.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0

File hashes

Hashes for exchangelib-3.3.1.tar.gz
Algorithm Hash digest
SHA256 1336c99752bfa0ed74083ba9fc104afe44f1f522d46323029d47fbe830928877
MD5 81fdf753c546240d6611832d8bc3c9cf
BLAKE2b-256 6b1a0b46490306a06b7090a237afadbe2c6c7c3b94484716a025ff4f0e9ed88c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exchangelib-3.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 211.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0

File hashes

Hashes for exchangelib-3.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 176c42e5d13ad3f5d6f946f123fffb7222b0a10d30c68625fe064cb591f9d5e1
MD5 2f1d3d7f20463a106002aec00ba4b639
BLAKE2b-256 ace7db6a307409579d295588ba04c87dcd5f87ccf77b7f7ba869fd14e9c38288

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