Skip to content

rhummelmose/azure-functions-python-poetry

Repository files navigation

Azure Functions Python Poetry

Sample setup using Poetry to build a sane Azure Functions development environment for Python in VSCode.

How-to

  1. Install Azure Functions Core-Tools: https://github.com/Azure/azure-functions-core-tools
  2. Make sure that you're using Python 3.6.7 inside the repository (I highly recommend using pyenv: https://github.com/pyenv/pyenv)
  3. Install Poetry: https://github.com/sdispater/poetry
  4. Run poetry install from the repository
  5. Copy local.settings.json-example to local.settings.json and adjust the values
  6. Copy .vscode/settings.json-example to .vscode/settings.json and adjust the values
  7. In VSCode install the Python extension
  8. Install dotnet-sdk: https://dotnet.microsoft.com/download
  9. Run func extensions install from the repository
  10. Run the VSCode task Run Functions
  11. Attach to debug

About

Sample of using Poetry with Azure Functions Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages