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

Uploaded Source

Built Distribution

exchangelib-4.7.0-py2.py3-none-any.whl (235.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: exchangelib-4.7.0.tar.gz
  • Upload date:
  • Size: 226.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 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.7.0.tar.gz
Algorithm Hash digest
SHA256 d0e6a444c9d5f7e8b1fece73edcb7c8faebd31ced60e99a4760697cceb0faf88
MD5 521a70c64f9f97c322277ed7878b7772
BLAKE2b-256 06ed0d988c2238e9d683f7d9f6646ddb9f7094204b263d26c7b2d5ad30381634

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exchangelib-4.7.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 235.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 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.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ff783f3a5d4e33ee43e22ba1e4b5949c376570bcc0def6e3fa7d35be0223c2bf
MD5 bae8f59530dd555abc5a2d632e3c57e1
BLAKE2b-256 154cd448b5f0fef578c28bb266e3be9e372894191159c1a1e6574d5117aefd18

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