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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exchangelib-4.9.0-py2.py3-none-any.whl (251.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for exchangelib-4.9.0.tar.gz
Algorithm Hash digest
SHA256 d6a1c3f7c55a42ff2ec33629128eeed09e87b09834e4006ed7a3c9931258f3e1
MD5 9b18548f4db7acd4fc281dd2bc5eead9
BLAKE2b-256 cbee76f68a9de2f224a3ed726701ef9db8493570e27043253c8d890b40fcd6f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exchangelib-4.9.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 251.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for exchangelib-4.9.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 43d7d5ef4a18dcdfe6a28c2d534d842697b0302ef2569b5d0af498f77fc78661
MD5 4b04b0bd8cc74784dbd4ce48f242be5c
BLAKE2b-256 83b955bdc0c1e36611cc17e0b3dae7a730da69406cb0df3bac6eaf1b84ad4688

See more details on using hashes here.

Supported by

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