python

Playing Piano(Python App) in Azure App Service Linux

Azure App Service is a Paas solution to run Enterprise-grade Web Applications. Azure has recently announced App Services on Linux. It supports running web apps natively on Linux. App Service Linux provides pre-defined application stacks(Nodejs, PHP and others ). App Service on Linux uses Docker containers to host these pre-built…

TensorFlow for Beginners

I have spent couple of hours on weekend to understand the concepts of tensorflow and would like to contribute in simplest form as most of the articles I read were too complicated and took me a while to understand. A tensor consists of a set of primitive values shaped into…

Profile Python Applications in Azure App Services

Slow application performance issues tend to be challenging to troubleshoot regardless of the platform in which your application is running. This is due in great part to the sometimes random nature of these issues. These types of issues also often do not result in a specific error being logged. If…

Running Python Code on Azure Functions App

Update 4/25/17 : Adding steps to install python from Site Extensions. These are Python binaries patched to work well in Azure App Services. Thanks to Steve Dower for contributing Python Site extensions and keeping them up-to-date. Azure Functions is an event driven, compute-on-demand experience that extends the existing Azure…

Running Flask app with HttpPlatformHandler in Azure App Services

Flask is a micro web framework written in Python and based on the Werkzeug toolkit and Jinja2 template engine. Below are list of steps we would follow Create Sample Project Create Azure WebApp and Use Site Extension to Upgrade Python Create and Change Deployment script Adding web.config (for production…

Install Python Modules on Azure App Services

Installing Python packages in Azure App Services is little tricky using pip. In this blog, I would provide best practice to do that. Pip Install on Azure App Services might fail because It may simply be that the package is not available on the Python Package Index. It could be…

Running Python Webjob on Azure App Services using non-default python version

You can run programs or scripts in WebJobs in your Azure App Service web app in three ways: on demand, continuously, or on a schedule. There is no additional cost to use WebJobs. This article shows how to run Python Webjob on Azure App Services using non-default python version. we…

Django app with HttpPlatformHandler in Azure App Services (Windows)

In my previous blog Deploying Django App to Azure App Services using Git, I have provided detailed steps on how to run Django app in Azure App services using wfastcgi wfastcgi.py provides a bridge between IIS and Python using WSGI and FastCGI, similar to what mod_python provides for…

Deploying Django App to Azure App Services using Git and new version of Python

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.…

Debugging Django and Flask Applications in Azure App services

After creating a Azure Web app using Django Framework in Python, you may end-up getting Application errors at some point of your Application Development Process. This Blog describes how to enable Application logs for a Azure Web APP which uses Django Framework. Before starting debug process make sure that you…