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

Uploaded Source

Built Distribution

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

exchangelib-5.6.0-py3-none-any.whl (243.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exchangelib-5.6.0.tar.gz
  • Upload date:
  • Size: 212.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for exchangelib-5.6.0.tar.gz
Algorithm Hash digest
SHA256 a65cffba3b4d1166347059e88b1f11eae9a9d70119c3ad9b33389d7258f6181c
MD5 a1fda422980dc53332270b10c28f1d8e
BLAKE2b-256 79809b4ceca48c3b8b7f33cd8164e0a03ae2410fb313309ac681850dc46bc502

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exchangelib-5.6.0-py3-none-any.whl
  • Upload date:
  • Size: 243.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for exchangelib-5.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d843ff56f41f3a1eaff73e4bbb4ecce21957aa52b65bef01440414ffbba377e
MD5 64f28a34b09abbdbb84b0d0d59df8de3
BLAKE2b-256 8aaed99bf36bcf539f6ee270a1b6c478ad8f40f6469a77d9c0986f8def646369

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