Learn Azure Functions Python V2 (Local Setup and Examples)

Поділитися
Вставка
  • Опубліковано 4 жов 2024
  • This video goes over how to setup and work with Azure Functions Python V2 locally. Includes HTTP and storage example functions.
    Links:
    -Part 2 UA-cam Video (Deploy, Configure and Use in Azure): • Learn Azure Functions ...
    -Install Azure Functions Core Tools: learn.microsof...
    -Install Azurite (local storage emulator): learn.microsof...
    -Install Azure Storage Explorer: azure.microsof...
    -DataEngineeringWithNick Azure Functions code repo: github.com/Dat...

КОМЕНТАРІ • 62

  • @lattebean66
    @lattebean66 12 днів тому

    This tutorial is by far the best that's currently out here on UA-cam.
    Subscribed.

  • @joemx149
    @joemx149 8 місяців тому +9

    What a nice tutorial! Excellent. All one have to know. Impatiently waiting for part 2: deployment.

  • @danielotto8386
    @danielotto8386 5 місяців тому +3

    This is the best intro video to Azure functions with Python v2 by far! Highly encourage you to make part 2 :)

  • @mantrax314
    @mantrax314 4 місяці тому +1

    One of the BEST tutorials. I understand so much better from here than documentation.

  • @cristianvargasestay1086
    @cristianvargasestay1086 7 місяців тому +1

    I had this video open, along with another 20 tabs on Brave, and i learnt it the hard way.... i wished i'd started with this video.
    It was very clear, you explained the decorators, another kind of triggers... very helpful

  • @MT-gw4vm
    @MT-gw4vm 3 місяці тому +1

    Thank you for this video! Everything is so clearly explained. I had no idea what local development looked like for azure functions, so this video was quite eye opening.

  • @jefwesb
    @jefwesb 7 місяців тому +4

    Great video Nick, looking forward to part 2.

  • @priyankagorkhe2870
    @priyankagorkhe2870 7 місяців тому +1

    Thanks a million! I was searching for this kind of teaching from last 2 weeks! Life saving for me😊

  • @hyakushiki23
    @hyakushiki23 8 місяців тому +3

    Dude you made an awesome video. Super helpful!
    I'm with the pack also waiting for part 2

  • @SomethingRandomChannel
    @SomethingRandomChannel 8 місяців тому +3

    That was brilliant man, please release the next one! ❤❤

  • @trushankdesai7633
    @trushankdesai7633 3 місяці тому +1

    Saved a day, thank you for teaching this, its has wide amount applications

  • @MrAbhishekparida
    @MrAbhishekparida 7 місяців тому +3

    pls start a course in functions ... .Loved it . liked and subscribed

  • @shreyaroraa2234
    @shreyaroraa2234 9 місяців тому +2

    Good video Nick.
    Will be waiting for part2 deployment

  • @omarcruz6326
    @omarcruz6326 8 місяців тому +1

    Hi Nick !
    I wanted to see that I have watched a couple of videos about this topic and for sure I can say that the material that you are sharing here has a very very good quality. Great Job !!! I definitively: Like & Subscribe ! 👌
    I will also recommend your channel to family and friends !

  • @lowellzima182
    @lowellzima182 8 місяців тому +4

    Excellent video thanks ! I am at the deploy process, where I need this Azure Functions API for a Static Web App Ressource, and my function doesn't appear on my panel in azure portal, whereas I put them in blueprints and called it like you. On local setup, it works like a charm, but deployement doesn't work as expected. Do you have this video on the deployement somewhere ? I didn't find it on your channel. Anyway, thanks for the clarity, nice content you have there !
    EDIT : I was able to make it work :)

  • @emrahe468
    @emrahe468 7 місяців тому

    you should give some online courses. this was the most understandable & clear azure video i have seen, as a beginner

    • @emrahe468
      @emrahe468 7 місяців тому +1

      fyi, there is huge lack on Udemy about the Azure Functions v2 Python. almost all of the courses are outdated or v1 or lack of coverage. if you can act quick, you can make a really nice start with an ~4h course

  • @torsteinlunde3931
    @torsteinlunde3931 7 місяців тому +1

    This is very good and clear explaining!

  • @muftkuseng5924
    @muftkuseng5924 6 місяців тому +1

    This video was so helpful! When do you plan for part 2? You are so clear in your instructions!

  • @badoiuecristian
    @badoiuecristian 3 місяці тому +1

    Thank you, great tutorial to get started with the new model

  • @bassboy8211
    @bassboy8211 4 місяці тому +1

    Loved this video, would love to see the part 2

  • @tjw590
    @tjw590 2 місяці тому +1

    Great video, very helpful! Thank you

  • @Its_ur_amy
    @Its_ur_amy 7 місяців тому +1

    Thanks a lot for awesome setup walkthrough

  • @aelouadii
    @aelouadii 10 днів тому

    I would to think you very very much, it was the more clear lesson I took, I subscribe

  • @M.NaasifEmrith
    @M.NaasifEmrith 4 місяці тому

    Here's the revised message:
    Nick, awesome video 🤩!! Your passion and expertise make complex things easy to understand, just like Azure Functions simplify cloud computing .
    Thanks a million for sharing your knowledge and inspiring others 👏💻"

  • @Paul_Klimb
    @Paul_Klimb 8 місяців тому +1

    Wow! this is excellent, thank you so much!
    What I did was I setup ADF with event grid to trigger an Azure Function. This is all working fine. What I am working on now is the unit testing for that Azure Function. Anyway, if you have time, would you be able to go through the CI process with Unit Testing for an azure function?

  • @Mars6555
    @Mars6555 Місяць тому

    Buddy, It's very useful. Thank you.

  • @mandeeplamba
    @mandeeplamba 5 місяців тому +1

    Hi, great intro, do you have videos or can make few for Durable Function and Orchestrations.

  • @TheWongAndOnly910
    @TheWongAndOnly910 4 місяці тому +1

    Great tutorial.

  • @nostalgia18rishi
    @nostalgia18rishi 6 місяців тому +1

    Great content. around 13:09 when I run the test_function I get this error - No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.). None of the stack overflow solutions help. Could you help?

    • @dataengineeringwithnick7532
      @dataengineeringwithnick7532  6 місяців тому

      Hi @nostalgia18rishi. It's because you have a syntax error either in the additional_functions.py file or the main function_app.py file.
      In the additional_functions.py file, make sure it matches exactly to mine: github.com/DataEngineeringWithNick/AzureFunctionsPythonV2/tree/main/MyFunctionProject. Then in the function_app.py file, make sure you register the additional function (from additional_functions import bp) app = func.FunctionApp() app.register_blueprint(bp).
      Hope this helps.

  • @johnaweiss
    @johnaweiss 5 місяців тому +1

    8:37 With `IsEncrypted` = true, the following does nothing -- no new setting is added:
    `func settings add "myConn" "1234"`
    Edit: I was wrong, this is s refresh issue on the VS code interface.

  • @badoiucristian4780
    @badoiucristian4780 3 місяці тому +1

    for linux debian to activate venv the command is source './.venv/bin/activate' now the path my differ depending on the version of the venv, i don't have scripts

  • @tadastadux
    @tadastadux 4 місяці тому

    thank you. great video. how to pass people.csv as paramater?

  • @karthikeyanrajendran3194
    @karthikeyanrajendran3194 5 місяців тому +1

    I am getting an error No module found name azure , in import azure.functions as func. Can you let me know how to fix this

    • @dataengineeringwithnick7532
      @dataengineeringwithnick7532  4 місяці тому

      Did you install the azure-functions Python library in your virtual environment? If not, add azure-functions to your requirements.txt file and then in the command line run pip install -r requirements.txt. When importing the module in the function_app.py file, also make sure there's no space. Should be import azure.functions as func

    • @karthikeyanrajendran3194
      @karthikeyanrajendran3194 4 місяці тому

      @@dataengineeringwithnick7532 Yeah I did it and now I am getting an ODBC error. I am calling a SQL stored procedure and it was working fine until last week. All of a sudden I am getting Login failed for the user error. I was able to manually login to the server with same user. Any idea what could be the reason.

  • @cboyda
    @cboyda 9 місяців тому +1

    Great content, but please stop closing the expanded explorers along with typing CLS, it makes it impossible to read the actual code output unless the video is constantly paused :(

  • @abduljaweed8131
    @abduljaweed8131 7 місяців тому

    Hi bro
    I have one scenario like i have a documents in cosmosdb for nosql and i want to create a pipeline to triggered it if certain value is updated in cosmosdb document like age=21then trigger the event and then perform some transformation using python and then send that changes to new cosmosdb container
    If you make one video on that scenario that could be great helpful

  • @pavankumarchahar
    @pavankumarchahar 4 місяці тому

    how to define output binding in V2 Programming model for example I want to write a file to another blob container or postgres SQL , Database after perform Transformation steps to source (input files).

    • @dataengineeringwithnick7532
      @dataengineeringwithnick7532  4 місяці тому

      Here's the doc for setting up a blob output binding: learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob-output?tabs=python-v2%2Cisolated-process%2Cnodejs-v4&pivots=programming-language-python. It's a similar initial setup like in the video except you'd use an @app.blob_output (and additional code from the doc link). when defining it. The code block from the documentation should help with how to define it.

  • @2762raju
    @2762raju 8 місяців тому

    I have one doubt

  • @johnaweiss
    @johnaweiss 5 місяців тому

    i don't have setuptools

    • @johnaweiss
      @johnaweiss 5 місяців тому +1

      i added setuptools to requirements.txt, close/saved it, and i got this:
      > pip install -r .
      equirements.txt
      Requirement already satisfied: azure-functions in c:\users\johny\onedrive\documents\coding\python\myfxproj\.venv\lib\site-packages (from -r .
      equirements.txt (line 5)) (1.19.0)
      Collecting setuptools (from -r .
      equirements.txt (line 6))
      Downloading setuptools-69.5.0-py3-none-any.whl.metadata (6.2 kB)
      Downloading setuptools-69.5.0-py3-none-any.whl (893 kB)
      ━━━━━━━━━━━━━━━━━━━━━ 893.7/893.7 kB 1.2 MB/s eta 0:00:00
      Installing collected packages: setuptools
      Successfully installed setuptools-69.5.0

  • @Apagador69
    @Apagador69 5 місяців тому

    You DO know IDE does NOT stand for Interactive Development Environment, right ?