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

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

Uploaded Source

Built Distribution

exchangelib-4.6.2-py2.py3-none-any.whl (238.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: exchangelib-4.6.2.tar.gz
  • Upload date:
  • Size: 224.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.0

File hashes

Hashes for exchangelib-4.6.2.tar.gz
Algorithm Hash digest
SHA256 7e7555a4e89a6910ab76140b598ee9fe8fd5a322e98cc0d059d7d8a24f6146d7
MD5 d32cdefe29b36143cca1f1dc9cb72fe7
BLAKE2b-256 fdd58d32dd19a4a747c2ec81778de80dd290d696c3ada1d9a93306ed433e5b9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exchangelib-4.6.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 238.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.0

File hashes

Hashes for exchangelib-4.6.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c919fe919ed7dc67c20491c22f0143607a6e2c8efb04ac428929a1fa197c392a
MD5 dfda9d5a2f8e66b633f4f732293eab0d
BLAKE2b-256 fc180c7f99d848c975be35c8a18d5880e21eee00c34367ad5eff6fcb2c1f09a8

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