Tag Archives: Python

Python logo
Working with SharePoint from Python application

Calling Microsoft Graph API from Python

Below is how I authenticate and call Microsoft Graph API to work with SharePoint from Python application. Plain no MSAL or Azure libraries used: secrets is a Python file where I assign client secret to variable clientSc (so my secret is not shared on github). This is ok for demo purposes but generally, you should […]

Using SharePoint REST API from Python code

Using Microsoft Graph API is a preferred and recommended way to connect to SharePoint Online and other Microsoft 365 resources programmatically from Python code. But if by some reason you are required to use classic SharePoint REST API, here is how it is done. Prerequisites: Using client Id and client secret to access SharePoint REST […]

FastAPI on Azure Functions with Azure API Management

Following Pamela Fox tutorial “FastAPI on Azure Functions with Azure API Management“. The idea is to deploy FastAPI to Azure Functions the way auto-generated interactive documentation would be public, but actual API would be protected. Pamela solved it with Azure API Management and subscription keys: “One of my goals was to have the documentation be […]

Python Logo

Python dev env memo

This is just a memo for myself how to Python with Anaconda Jupyter Notebooks Anaconda: https://www.anaconda.com/Anaconda promptcd your codejupyter notebook !pip install matplotlibimport matplotlib as pltplt.__version__ EclipseJava IDE + Install New Software from http://www.pydev.org/updates/ PyCharmFile – Other Settings – Settings for New Projects – Project Interpreter – “+” Spyderadfsgv Django Virtual environment under Windows reference: […]