Skip to main content

Python library for working with Microsoft Office 365

Project description

When I started making this library I was looking for something that would provide a simple interface to an office365 mailbox. I was creating a system that would allow people send an email to our printer without having to require they install drivers or be inside the office firewall (important for students). As I found working with the office API to be fairly easy, I quickly built up solid general use library for working with office 365.

The objective here is to make it easy to make utilities that are to be run against an office 365 account. for example, the code for sending an email is:

from O365 import Message

authenticiation = (‘YourAccount@office365.com’,’YourPassword’)

m = Message(auth=authenticiation)

m.setRecipients(‘reciving@office365.com’)

m.setSubject(‘I made an email script.’)

m.setBody(‘Talk to the computer, cause the human does not want to hear it any more.’)

m.sendMessage()

That’s it. making and sending emails and events is now very simple and straight forward. I’ve used it for emailing the printer and creating a overview of our car booking system. simple, easy, but still in development. Any suggestions or advice are quite welcome at the projects github page: https://github.com/Narcolapser/python-o365

Project details


Release history Release notifications | RSS feed

This version

0.9.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

O365-0.9.4.zip (18.9 kB view details)

Uploaded Source

File details

Details for the file O365-0.9.4.zip.

File metadata

  • Download URL: O365-0.9.4.zip
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for O365-0.9.4.zip
Algorithm Hash digest
SHA256 5586e8f84802e4330909ce09af8c6ebdff8e143eb0c615b7eac36d133df0d816
MD5 a9a0d97efafae5dd14e527f87736b7e8
BLAKE2b-256 612cc71c0a26a6a34ac947d74a866322fc6aad13ee76c3a05f2b47c95f40bf52

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