Skip to content
Python worker for Azure Functions.
Branch: dev
Clone or download
elprans Add support for raw data type bindings
The generic binding infrastructure now allows annotating the function
argument as `str` or `bytes`.  This also adds support for `str` and
`bytes` binding for the blob functions as an example.

The binding data adapter is responsible for checking the declared
`dataType` in function.json against the declared parameter type
annotation.  All existing bindings, except blob, currently refuse to
bind if `dataType` is specified.

Issue: #66.
Latest commit b31ede8 Nov 19, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ci Update CI tests for more control Mar 1, 2019
docs Revert "Merge branch 'pp-docs' into dev" May 9, 2018
pack NuGet for per-platform worker run environments (#329) Mar 4, 2019
python Restore compatibility with pre-b1 releases of worker in (#247) Dec 6, 2018
tests Add support for raw data type bindings Mar 19, 2019
.flake8 Add support for Python 3.7 Aug 27, 2018
.gitignore NuGet for per-platform worker run environments (#329) Mar 4, 2019
LICENSE Initial commit Jan 16, 2018 CI fixes Aug 27, 2018 Add status badges for dev and master (#362) Mar 14, 2019
azure-pipelines-nightly.yml Update CI tests for more control Mar 1, 2019
setup.cfg Add support for Python 3.7 Aug 27, 2018

Branch Status
master Build Status
dev Build Status

This repository will host the Python language worker implementation for Azure Functions. We'll also be using it to track work items related to Python support. Please feel free to leave comments about any of the features and design patterns.

🚧 The project is currently work in progress. Please do not use in production as we expect developments over time. To receive important updates, including breaking changes announcements, watch the Azure App Service announcements repository. 🚧


Python support for Azure Functions is based on Python3.6, serverless hosting on Linux and the Functions 2.0 runtime.

Here is the current status of Python in Azure Functions:

What's available?

  • Build, test, debug and publish using Azure Functions Core Tools (CLI) or Visual Studio Code
  • Triggers / Bindings : HTTP, Blob, Queue, Timer, Cosmos DB, Event Grid, Event Hubs and Service Bus
  • Create a Python Function on Linux using a custom docker image

What's coming?

  • Triggers / Bindings : Custom binding support
  • Python 3.7 support

Get Started

Give Feedback

Issues and feature requests are tracked in a variety of places. To report this feedback, please file an issue to the relevant repository below:

Item Description Link
Python Worker Programming Model, Triggers & Bindings File an Issue
Linux Base Docker Images File an Issue
Runtime Script Host & Language Extensibility File an Issue
Core Tools Command line interface for local development File an Issue
Portal User Interface or Experience Issue File an Issue
Templates Code Issues with Creation Template File an Issue


This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit

Here are some pointers to get started:

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

You can’t perform that action at this time.