Skip to main content

py365

What is it?

Python Library for App Development over MS Graph365

The concept is simple - look at the API docs and "copy" same structure.
While not very "pythonic" (I would guess - what does it mean anyway?),
it is easy to follow and go along: Just open the official API reference

What is it good for?

If you are using any of MS services you are getting to the point that automating things via code is the best way to unleash it true massive power.

While you can use .net core and other services, scripting with python is still very convenient if all you need is just small or serveless scripts.

Target Python - 3.6

Since this is the version used by Azure serverless engines.

How to use it?

$ pip install py365
# Graph365 is the main access point to the MS Graph
# rsc is the graph resources we use to feed the graph API
from py365 import Graph365, rsc

#Connect to the tenant
g365 = Graph365(appId=config['app_id'],
                appSecret=config['app_secret'],
                tenantId=config['tenant_id']) 

# Create new user 
# API doc: https://docs.microsoft.com/en-us/graph/api/user-post-users?view=graph-rest-1.0
user = rsc.User(displayName="Steve J", userPrincipalName="steve.j@consotco.com")
g365.users.createUser(newUser=user)

API implemented

  • Create User (Partially)
  • Get User (Partially)
  • Update user (Partially)
  • Send email
  • Guest Invite

What is next? (ATM)

  • Modify online excel
  • Get Planner tasks
  • Add unit testings

Metadata

Release files for py365 0.1.2

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

Source distribution (sdist)

Source distribution for py365 0.1.2
File Size Uploaded Provenance Actions
py365-0.1.2.tar.gz 9.9 kB Without provenance Details for py365-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py365 0.1.2
File Interpreter ABI Platform Actions
py365-0.1.2-py3-none-any.whl Python 3 none any Details for py365-0.1.2-py3-none-any.whl

Total release size: 32.5 kB

Release files / py365-0.1.2.tar.gz

Download URL py365-0.1.2.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4c8259cf793ac35c571e1725db3f926ba87fae0def6a3eb65729dda1871be580
BLAKE2b-256 checksum
How to use checksums
9a1ba5a1b8f4635aaa887f1712527b5fe950b591645e7c2300fc5916fa7800df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / py365-0.1.2-py3-none-any.whl

Download URL py365-0.1.2-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
163169b5d52c3bfdff12ad24a01ca82ff8f7bb7458fa9b00f44dabdfa342a327
BLAKE2b-256 checksum
How to use checksums
570cd2ea62f862a92c38f659c729f10c043af5e467ae258a45d12d38caffc39f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Security for py365 0.1.2

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