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

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

Uploaded Source

File details

Details for the file O365-0.9.7.tar.gz.

File metadata

  • Download URL: O365-0.9.7.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for O365-0.9.7.tar.gz
Algorithm Hash digest
SHA256 656015366359298fd2074601d9a32d31bebd2a20467b3c36100476c1b933f0ee
MD5 85b17acfb1eed60d8a70fbf1c265fd2c
BLAKE2b-256 15e17b267429d50e2615aac6737700a92d776defb1eee4edebad8c9575ebe658

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