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

Uploaded Source

Built Distribution

exchangelib-5.5.1-py3-none-any.whl (243.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exchangelib-5.5.1.tar.gz
  • Upload date:
  • Size: 212.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for exchangelib-5.5.1.tar.gz
Algorithm Hash digest
SHA256 d6dcb71196e686e29434d5273ce7c9b9902454214098cc3569f740f74f273e95
MD5 31870295468eb36deec2545ae7d5f196
BLAKE2b-256 8b5212b3482e4a3b36eb255c71ccdd1a6625be793676788b1d32a9ff0d3aae81

See more details on using hashes here.

File details

Details for the file exchangelib-5.5.1-py3-none-any.whl.

File metadata

  • Download URL: exchangelib-5.5.1-py3-none-any.whl
  • Upload date:
  • Size: 243.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for exchangelib-5.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c230cf20dffb9964f4a584b6255800fac9f75f404d253934c429e7e37e3075bb
MD5 6a60c3e1bb037b859bcaca989807d7cb
BLAKE2b-256 30ccac2963b9eec5ba16ffd8f553bb77574269185b5b83301fe3d8f773ba5bc2

See more details on using hashes here.

Supported by

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