{"id":13595513,"url":"https://github.com/O365/python-o365","last_synced_at":"2025-04-09T13:32:11.860Z","repository":{"id":27481869,"uuid":"30961752","full_name":"O365/python-o365","owner":"O365","description":"A simple python library to interact with Microsoft Graph and Office 365 API","archived":false,"fork":false,"pushed_at":"2025-04-08T16:30:18.000Z","size":14594,"stargazers_count":1770,"open_issues_count":59,"forks_count":432,"subscribers_count":45,"default_branch":"master","last_synced_at":"2025-04-08T20:13:02.442Z","etag":null,"topics":["addressbook","calendar","calendars","email","excel","graph","mailbox","microsoft","microsoft-api","microsoft-graph-api","microsoft-teams","oauth","oauth-authentication","office-365-rest-api","onedrive","outlook","planner","python","sharepoint"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/O365.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-02-18T10:50:04.000Z","updated_at":"2025-04-08T16:30:22.000Z","dependencies_parsed_at":"2024-01-11T18:30:39.580Z","dependency_job_id":"5d13bf58-c49e-4602-b454-c7f62e47f28e","html_url":"https://github.com/O365/python-o365","commit_stats":{"total_commits":750,"total_committers":142,"mean_commits":5.28169014084507,"dds":0.5893333333333333,"last_synced_commit":"464c3e1b856a5e274e8c2325d83b5012692645c5"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/O365%2Fpython-o365","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/O365%2Fpython-o365/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/O365%2Fpython-o365/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/O365%2Fpython-o365/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/O365","download_url":"https://codeload.github.com/O365/python-o365/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248049409,"owners_count":21039214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addressbook","calendar","calendars","email","excel","graph","mailbox","microsoft","microsoft-api","microsoft-graph-api","microsoft-teams","oauth","oauth-authentication","office-365-rest-api","onedrive","outlook","planner","python","sharepoint"],"created_at":"2024-08-01T16:01:51.539Z","updated_at":"2025-04-09T13:32:11.850Z","avatar_url":"https://github.com/O365.png","language":"Python","readme":"[![Downloads](https://pepy.tech/badge/O365)](https://pepy.tech/project/O365)\n[![PyPI](https://img.shields.io/pypi/v/O365.svg)](https://pypi.python.org/pypi/O365)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/O365.svg)](https://pypi.python.org/pypi/O365/)\n\n# O365 - Microsoft Graph and Office 365 API made easy\n\nThis project aims to make interacting with Microsoft Graph and Office 365 easy to do in a Pythonic way.\nAccess to Email, Calendar, Contacts, OneDrive, etc. Are easy to do in a way that feel easy and straight forward to beginners and feels just right to seasoned python programmer.\n\nThe project is currently developed and maintained by [alejcas](https://github.com/alejcas).\n\n#### Core developers\n- [Alejcas](https://github.com/alejcas)\n- [Toben Archer](https://github.com/Narcolapser)\n- [Geethanadh](https://github.com/GeethanadhP)\n\n**We are always open to new pull requests!**\n\n## Detailed docs and api reference on [O365 Docs site](https://o365.github.io/python-o365/latest/index.html)\n\n### Quick example on sending a message:\n\n```python\nfrom O365 import Account\n\ncredentials = ('client_id', 'client_secret')\n\naccount = Account(credentials)\nm = account.new_message()\nm.to.add('to_example@example.com')\nm.subject = 'Testing!'\nm.body = \"George Best quote: I've stopped drinking, but only while I'm asleep.\"\nm.send()\n```\n\n\n### Why choose O365?\n- Almost Full Support for MsGraph and Office 365 Rest Api.\n- Good Abstraction layer between each Api. Change the api (Graph vs Office365) and don't worry about the api internal implementation.\n- Full oauth support with automatic handling of refresh tokens.\n- Automatic handling between local datetimes and server datetimes. Work with your local datetime and let this library do the rest.\n- Change between different resource with ease: access shared mailboxes, other users resources, SharePoint resources, etc.\n- Pagination support through a custom iterator that handles future requests automatically. Request Infinite items!\n- A query helper to help you build custom OData queries (filter, order, select and search).\n- Modular ApiComponents can be created and built to achieve further functionality.\n\n___\n\nThis project was also a learning resource for us. This is a list of not so common python idioms used in this project:\n- New unpacking technics: `def method(argument, *, with_name=None, **other_params):`\n- Enums: `from enum import Enum`\n- Factory paradigm\n- Package organization\n- Timezone conversion and timezone aware datetimes\n- Etc. ([see the code!](https://github.com/O365/python-o365/tree/master/O365))\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FO365%2Fpython-o365","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FO365%2Fpython-o365","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FO365%2Fpython-o365/lists"}