Skip to main content
Python-office365 - Office365 for your server
===========================================

The objective of office365api is to make it easy to make scripts and
applications that are to be run against an Office 365 account.

If you wanted to script retrieving an email it could be as simple as:

.. code:: python

from office365api import Mail
auth = ('YourAccount@office365.com', 'YourPassword')
mail = Mail(auth=auth)
messages = mail.inbox.get_messages()

And sending an email like this.

.. code:: python

from office365api import Message, Mail
from office365api.model import Recipient, EmailAddress
auth = ('YourAccount@office365.com', 'YourPassword')
message = Message(Subject='Heads up', Body='First automated alarm.',
From=Recipient(EmailAddress=EmailAddress(Name='Full Name', Address='you@gmail.com')),
ToRecipients= [Recipient.from_email(email='somebody@gmail.com')]
)

m = Mail(auth=auth)
m.send_message(message)

Gotchas
-------

Currently writen against v 1.0 of outlook rest api, in the future v 2.0
will be added. May be even graph rest api. However probably as a
separate project.

Currently uses basic authentication. In a very near future will be
switching to OAuth2.

This commit have only Mail module.

Mail
----

Main class for working with emails in Office 365. You can use it to
perform access to different folders and may features exposed by REST
api.

Metadata

Release files for Office365Api 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Office365Api 0.0.9
File Size Uploaded Provenance Actions
office365api-0.0.9.tar.gz 7.5 kB Without provenance Details for office365api-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Office365Api 0.0.9
File Interpreter ABI Platform Actions
office365api-0.0.9-py2-none-any.whl Python 2 none any Details for office365api-0.0.9-py2-none-any.whl

Total release size: 21.7 kB

Release files / office365api-0.0.9.tar.gz

Download URL office365api-0.0.9.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9b3e45693cd053cf6286ef57e85626f7852750a56b0a047ef97fefd2712ad536
BLAKE2b-256 checksum
How to use checksums
33c2638398bdfe5f8748c774e13f5dd21e1b5a789a36787d3ec40ebb51e6b801
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / office365api-0.0.9-py2-none-any.whl

Download URL office365api-0.0.9-py2-none-any.whl
Size 14.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
d89731f2cd7cd9eb4616514298f5dda0b1c7714e1bd6b2f7c9554261ec20e198
BLAKE2b-256 checksum
How to use checksums
a159db288e839bba3a49507b246d789110512367bbda436a604cf1391a041721
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Office365Api 0.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page