Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Azure Serverless Computing

You're reading from   Mastering Azure Serverless Computing A practical guide to building and deploying enterprise-grade serverless applications using Azure Functions

Arrow left icon
Product type Paperback
Published in Nov 2019
Publisher Packt
ISBN-13 9781789951226
Length 362 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Massimo Bonanni Massimo Bonanni
Author Profile Icon Massimo Bonanni
Massimo Bonanni
Lorenzo Barbieri Lorenzo Barbieri
Author Profile Icon Lorenzo Barbieri
Lorenzo Barbieri
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Section 1: Azure Functions 2.0 Fundamentals FREE CHAPTER
2. Developing and Running Azure Functions 3. Customizing Your Azure Functions 4. Programming Languages Supported in Azure Functions 5. Section 2: Azure Functions 2.0 Deployment and Automation
6. Deploying and Configuring Your Azure Functions 7. Leverage the Power of DevOps with Azure Functions 8. Testing and Monitoring 9. Serverless and Containers 10. Section 3: Serverless Orchestration, API Management, and Event Processing
11. Orchestration as Code - Durable Functions 12. Orchestration as Design - Logic Apps 13. Empowering Your Serverless API with API Management 14. High-Scale Serverless Event Processing with Event Grid 15. Section 4: Real-World Serverless Use Cases
16. Best Practices and Use Cases for Azure Serverless Computing 17. Assessments 18. Another Book You May Enjoy

Azure Functions and Python

If you want to start writing Azure Functions in Python you need to install Python version 3.6.x (you can download the installation package at https://www.python.org/downloads/; make sure that the minor version is 3.6). If you want to use VS Code to implement your Azure Functions in Python then you also need the Python extension for VS Code (you can download it directly inside VS Code or by going to https://marketplace.visualstudio.com/items?itemName=ms-python.python).

Once you have installed Python on your machine, you can create your first Azure Function in the same way you did for C# and Node.js.

First of all, you have to create a virtual environment. You can do this opening Command Prompt and using the following commands:

py -3.6 -m venv .env
.env\scripts\activate

In this case, you create a virtual environment called .env and activate it. Once you...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime