Latest / Talk Python To Me / #218: Serverless Python functions in Azure
Transcript
- 0:00Do you have stateless code that needs to run in the cloud?
- 0:02The clear answer years ago was to create an HTTP or even GASP, a SOAP service before then.
- 0:08While HTTP services are still very important, some of this code can be moved entirely away
- 0:13from the framework that runs it and over to serverless programming and hosted functions.
- 0:18On this episode, I meet up with Asavri Tayal to discuss serverless programming in the cloud.
- 0:23This is Talk Python To Me, episode 218, recorded live at Microsoft Build on May 8, 2019.
- 0:29Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the
- 0:47ecosystem, and the personalities.
- 0:49This is your host, Michael Kennedy.
- 0:51Follow me on Twitter where I'm @mkennedy.
- 0:53Keep up with the show and listen to past episodes at talkpython.fm and follow the show on Twitter
- 0:58via at talkpython.
- 1:00This episode is brought to you by Command Line Heroes from Red Hat and Datadog.
- 1:04Please check out what they're offering during their segments.
- 1:06It really helps support the show.
- 1:08Asavri, welcome to Talk Python.
- 1:09Hi, Michael.
- 1:10Thank you.
- 1:11It's super to have you here.
- 1:12It's great to meet you live at Build.
- 1:15So it's going to be a lot of fun to talk about serverless.
- 1:17Yeah, excited to be here.
- 1:18Yeah, it's cool.
- 1:19So it feels like everyone I'm having on the show lately is doing this like sort of dual
- 1:23life, right?
- 1:24Like we're at PyCon and then now are at Microsoft Build.
- 1:28Yep.
- 1:29Same for you?
- 1:30Same for me.
- 1:30We were just in Cleveland at PyCon and it was great.
- 1:34So now coming back to Seattle back home and enjoying Build.
- 1:38Yeah.
- 1:39Both of those are great conferences.
- 1:40What was your thoughts on PyCon?
- 1:41Did you enjoy it?
- 1:42You had a good time there?
- 1:43Yeah, this was my second PyCon ever.
- 1:45Definitely a lot of fun.
- 1:46I really like the sense of community that Python developers have.
- 1:50It's different from all the marketing conferences we go to.
- 1:53You know, Build being one of them.
- 1:55So always a pleasant experience.
- 1:57Always good.
- 1:58Yeah.
- 1:58Yeah, I would say one of the biggest differences I felt was when you walk onto the expo floor
- 2:04at PyCon, it's like everybody there is kind of doing their own thing, their own separate
- 2:09thing.
- 2:09It's just a sampling of the community, whereas places like Build, they're great, but they're
- 2:14like, it's more like, here's the team for this.
- 2:16So here's the team for that, right?
- 2:17It's much more sort of focused.
- 2:19Great.
- 2:19I like the fact that at PyCon, everybody was there to share their stories of, hey,
- 2:23this is how we use Python.
- 2:25This is what we build.
- 2:26And maybe it's useful for you as well.
- 2:28So I'm going to share my story with you.
- 2:29That was definitely my favorite part of PyCon.
- 2:32Yeah, that's awesome.
- 2:33I had a great time there as well.
- 2:34I always enjoy that conference.
- 2:35So let's go ahead and get started with your story, though.
- 2:39How did you get into programming in Python?
- 2:40Yeah, I started web development when I was 15.
- 2:44And definitely my first programming language was JavaScript.
- 2:49But eventually, as I got exposed to Python, and I remember, I think my first web application
- 2:55that I developed was in Django, was developing like a portal of some kind for farmers to go
- 3:03up and look up various great imaging systems that was being developed by a computer vision
- 3:08lab.
- 3:08So anyway, that's how I started Python.
- 3:11And eventually, when there was an opportunity to make Azure great for Python developers, it
- 3:17just happened that I was there and I had some experience with Python and was basically asked
- 3:23to take over Python for functions and app service.
- 3:25Yeah, that's super cool.
- 3:26Tell me more about this Django app.
- 3:27Yeah, so the Django app I was building was back in college.
- 3:31I was working with the University of Illinois computer vision laboratory.
- 3:34And they were building a algorithm that could take as input the image of some grain and basically
- 3:43identify the quality of that grain based on a machine learning model or a computer vision
- 3:48model.
- 3:49So I wasn't as involved with the data science part of things.
- 3:52But at the end of the day, the algorithm needed to plug into a portal that the farmer could
- 3:56go interact with, plug in their grain and get market value for it.
- 4:01So that portal was something I built using Django.
- 4:04Yeah, that sounds like a really fun first project, actually.
- 4:06Yeah.
- 4:07Nice.
- 4:07Okay, so that was then.
- 4:09And did you study computer science at University of Illinois?
- 4:11Yes.
- 4:12Yeah, cool.
- 4:13And now you're at Microsoft working on the Azure team.
- 4:16Yes.
- 4:17Tell me what you do there.
- 4:18Yeah, so I'm a product manager on Azure Functions.
- 4:21And currently, I'm leading both the Python experience on Azure Functions and Java experience
- 4:27as well.
- 4:27So really, what that means is everything that needs to be built, either on the platform tooling
- 4:34or the runtime, I go in and build.
- 4:36So trying to understand the story of the journey of a Python developer on the Azure Functions
- 4:43platform, how they come in, what their problems are.
- 4:46So on a daily basis, speaking to lots and lots of customers about why they're trying to use
- 4:51serverless, why they're trying to use functions, what are some problems they face today and how
- 4:55we can solve them.
- 4:56And really taking those requirements back to the engineering team, building POCs and prioritizing
- 5:01features on the product.
- 5:02Yeah, that's cool.
- 5:02Did you have a lot of those conversations at PyCon?
- 5:05At PyCon, yes.
- 5:06Also at Build the last two days, it's great to see that the number of folks who are developing
- 5:11with Python are increasing at Build every year.
- 5:14Yeah, it's pretty cool.
- 5:15Did you guys have like an expo stand area?
- 5:18We do.
- 5:19It's a pretty, there's a lot of hustle bustle around the functions stand.
- 5:23It's been great to see all the interest, yeah.
- 5:26Yeah, I'm sure it's a fun area to work on.
- 5:28Yep, for sure.
- 5:28Cool.
- 5:29So before we get into the details of Azure Functions and the Python story, let's focus
- 5:34on just serverless.
- 5:35We had servers.
- 5:36And then we had the cloud, we had kind of virtual servers, and then we have serverless.
- 5:42Walk us through that.
- 5:43Right.
- 5:43So we almost think of serverless as the evolution of application development on the cloud.
- 5:49You know, we used to have on-prem or on-premise, and then we moved on to IaaS, then we moved
- 5:55on to PaaS.
- 5:56And now serverless is even the next level of PaaS.
- 5:59What that means is, hey, PaaS already took away your problems of having to manage physical
- 6:05hardware when it comes to servers.
- 6:07Now you only need to worry about what's running on that hardware.
- 6:10But you still needed to worry about what OS you're using, what packages or dependencies are installed
- 6:16on that OS.
- 6:17patching those OS is upgrading those machines.
- 6:21serverless takes away all of that because at the end of the day, what you need to do as a
- 6:32developer is give us your application code, and we'll run it in the cloud for you.
- 6:37Very important concept in serverless is that you also no longer need to estimate how many
- 6:43app servers do you need to run your application.
- 6:46So typically when you were building an app, you would have to think, hey, my app's going
- 6:49to get 20,000 requests.
- 6:51And so I estimate I'll need about maybe 100 servers to serve those requests coming in.
- 6:57You no longer have to do that with serverless because we're going to automatically scale based
- 7:03on events that your application is receiving.
- 7:05Right.
- 7:05You don't have to worry about memory, like your server running out of memory because it's
- 7:10doing too much and things like that, right?
- 7:11Exactly.
- 7:11Just at the individual level, maybe.
- 7:13Exactly.
- 7:13And that's why when we talk about serverless, we actually also start to talk about event-driven
- 7:17serverless, which is really important because if you write an application that's going to
- 7:22be triggered off an event in the cloud, something like an HTTP request or an event in some source
- 7:27system somewhere, could be storage, could be an eventing mechanism, we are constantly
- 7:31watching for those events.
- 7:32And when those events occur, we'll go ahead and spin the resources you need to run your
- 7:37application.
- 7:37And when more of those events happen, we go spin more resources.
- 7:41So you're really never out of compute or memory in that matter.
- 7:45Yeah, that's pretty cool.
- 7:46So maybe some scenario like that fits in my world.
- 7:48Maybe I have some videos from an online course, but they're in a raw form.
- 7:52I want to get them transcoded for the right kind of streaming.
- 7:55I could upload them to like a storage that could trigger an event, a serverless function, which
- 8:00grabs it, runs it through a transcoder service, and then drops it back maybe like in a file
- 8:04in a location and something like this.
- 8:05Yeah.
- 8:06Exactly.
- 8:06Both.
- 8:07I think in the scenario that you described, there were two important factors.
- 8:10One, your scenario was event-driven.
- 8:12You were going to kick it off and then process something and drop it in a queue somewhere.
- 8:16And the other one that it seemed like it was a lightweight job that you maybe didn't need
- 8:22to stand dedicated servers up for.
- 8:24Right.
- 8:24Can you do like timing?
- 8:25Like, could I say run this function every hour?
- 8:28Yes, absolutely.
- 8:29We've got the timer trigger.
- 8:30So if you go ahead and set the time that you'd like your function to run on, we can always
- 8:34do that.
- 8:34Cool.
- 8:35So I guess maybe I would put that into like an automation category.
- 8:39Like what are some of the other main scenarios?
- 8:40I guess this was automation.
- 8:42The other two scenarios that we talk about with Python, the first one is web scripting or APIs.
- 8:48If you, for instance, had a Cosmos DB instance and you wanted to go ahead and stand up
- 8:53a REST API in front of that Cosmos DB, you could do that using functions.
- 8:58Okay.
- 8:58So it might be like an easy way to build an API endpoint that serves up JSON or something
- 9:02like that.
- 9:03Exactly.
- 9:03How would I guess, in the Python space, what technology would I use that?
- 9:06Like if I were building an API and I was hosting it in uWSGI, I would do that with Flask
- 9:12or Pyramid or API star or something like that.
- 9:16Like, do I work at that level in these functions or like what's the story there?
- 9:20Yeah.
- 9:20So when you develop a function, you would have to pick a trigger for your function, right?
- 9:25That's the event that we were talking about earlier.
- 9:28In this case, as long as you tell us, hey, it's going to be an HTTP trigger, you configure
- 9:33the parameters you want for that request.
- 9:35Things like, are we accepting a get post request or are we authenticating against an API key
- 9:41or an AED or no auth to mechanism?
- 9:43As long as you give us that configuration and give us the Python script that you'd like to
- 9:47run when that trigger occurs, we'd be able to run it as a function for you.
- 9:52You no longer have to go in and define droughts in a Flask app.
- 9:55Right.
- 9:56Do I return a string?
- 9:57Do I return a dictionary?
- 9:58Like, what do I return?
- 9:59It's up to you.
- 10:00We have this concept called bindings and functions.
- 10:03So you can actually return or you can bind your return value to a data source.
- 10:10So for instance, if you were to say, hey, I'd like an output binding for my function app,
- 10:14which was Azure Q Storage, for instance, right?
- 10:17And I'd like to bind that to the return value of function.
- 10:20Now, whatever you return, whether it's a string value or a byte array or a JSON string or a stream,
- 10:26we'd go ahead and use that to create a message in Azure Storage Q.
- 10:31Okay.
- 10:31That's pretty cool.
- 10:32That's the website.
- 10:34And what's the third one?
- 10:35The third one that we're actually seeing very often is ML inferencing.
- 10:39So I've mentioned I've been talking to a lot of customers for serverless, specifically Python applications and serverless.
- 10:47And really seeing two personas.
- 10:50One, a lot of data scientists who are coming to us and telling us, hey, I trained a machine learning model.
- 10:56Now I'd like to deploy it as a web service.
- 10:58Serverless sounds like I no longer need to worry about all those things that typically I don't care about.
- 11:05And I would have to go spend time on figuring out.
- 11:08Right.
- 11:08As a data scientist, you don't care about like configuring uWSGI for high performance or whatever.
- 11:14I'm not a data scientist, but I imagine for a data scientist,
- 11:16those problems are not even fun.
- 11:18You like thinking about the algorithm you want to use for training your model or the libraries you want to use.
- 11:22Probably not about what packages to install or when to security patch your OS, right?
- 11:27Yeah, yeah.
- 11:28Serverless is a great scenario there because you give us your model, you give us your scoring script,
- 11:33tell us what event to use, and we'll go ahead and provision the application for you in the cloud, right?
- 11:38And then there are also second kind of category of the people or customers that we speak to who are,
- 11:44saying maybe not mainstream Python developers.
- 11:47They might say, hey, we work at a large enterprise and we're using Java for our mainframe application.
- 11:52But our data science team gave us this thing called a model,
- 11:56and we need to kind of run it in our application or use it in our application to make some predictions.
- 12:01Doesn't look like I can do that with Java.
- 12:04I'd like to do that with Python.
- 12:05Serverless is a great way to create a microservice that you can invoke via an HTTP endpoint,
- 12:11all written in Python, that you can call from your mainframe Java application if you want to do it.
- 12:17That sounds pretty cool.
- 12:17Do you find students using it a lot for like testing out their code or creating little projects?
- 12:22That's a good one.
- 12:23I still think serverless is very new to the student community.
- 12:27We're trying to create more awareness in that space.
- 12:30But definitely spoken to a couple of people who've taken an interest and started to use serverless more on the cognitive services side of things.
- 12:38But I think we still have a long way to go there.
- 12:40There's always kind of a lag between academic courses and stuff like that, right?
- 12:44They don't seem to change technology super fast.
- 12:47So I can imagine that.
- 12:48So you're talking about Azure Functions, and obviously it supports Python, and that's great.
- 12:54But just to kind of round out the story, like what other languages does it support?
- 12:58Yeah, Functions supports JavaScript, TypeScript, .NET, Java, and we recently announced PowerShell as of a week ago.
- 13:07That sounds pretty cool.
- 13:09What does a workflow look like if I write regular functions in a Python file?
- 13:12I know what that is, but I don't edit this like on Azure or AWS or wherever I'm working on with my functions.
- 13:20Like what does the workflow kind of look like there?
- 13:22Give me a sense.
- 13:23To help you develop functions, we basically have two tooling options.
- 13:27And they sort of walk you through the process of building a function.
- 13:31The first one is we've got an extension with Visual Studio Code where you can go in and say,
- 13:37hey, I'd like to create a project, which is a function project.
- 13:40Pick a language for your project.
- 13:42That would be Python.
- 13:43Pick a trigger for your very first function.
- 13:45It can be an HTTP trigger.
- 13:47And then it'll populate a template for you that you can start modifying.
- 13:52So when I say a template, it's basically a combination of two files.
- 13:56One's a template Python script, which pretty much has a single function.
- 14:00It's a hello world function.
- 14:01Takes an HTTP request, returns hello name as the response.
- 14:04Right.
- 14:05So that's where you write your normal code, right?
- 14:06Exactly.
- 14:07You can do pretty much what you want between the beginning and end there, right?
- 14:11Like long as it conforms to the shape.
- 14:13Exactly.
- 14:14You can do pretty much what you want.
- 14:15You can also load up additional modules within that folder itself.
- 14:19So you don't have to have all your Python code living in that file.
- 14:22If you had dependencies or in our ML case, if you wanted to throw in a model as a dependency
- 14:27in your function, you can go ahead and add all of the data within your function project.
- 14:30And what about packages I'm using?
- 14:32Like suppose I'm using requests or NumPy or whatever.
- 14:35Right.
- 14:36So we've got a requirements TXT format that we support.
- 14:39You automatically get that when you generate a new function project.
- 14:42Just go and type in your packages and the versions you need and we'll go ahead and install them
- 14:47for you when you deploy.
- 14:48Yeah, that's cool.
- 14:48So basically it creates a little virtual environment for the thing.
- 14:52Right.
- 14:53When you're developing locally, we actually leave it up to you for how you'd like to manage
- 14:57your dependencies.
- 14:57As long as you're running in some environment where the Python path does have the packages you
- 15:03need, we'll be able to identify the packages on that path and run.
- 15:06So we leave it up to you whether using VN, FIPN, the global Python installed in your machine
- 15:12definitely feels like Python developers are passionate about how they manage their virtual
- 15:16environments.
- 15:16For sure.
- 15:17In the cloud, the only contract is that you give us a requirements TXT file and we'll use
- 15:21that to install the packages.
- 15:22This portion of Talk Python To Me is brought to you by Command Line Heroes.
- 15:28Command Line Heroes is an original podcast from Red Hat and it's back for its third
- 15:33season.
- 15:33This one is all about the epic history of programming languages.
- 15:37The very first episode explores the origin and evolution of Python.
- 15:41Let me tell you, this show is really good.
- 15:44It has a great host.
- 15:46It's highly produced and edited.
- 15:47Imagine if Radiolab made a tech podcast.
- 15:50Yeah, it'd be like that.
- 15:51Even better, this particular episode has a bunch of cool Python personalities such as Guido
- 15:55van Rossum and I even make an appearance in there.
- 15:58Listen and subscribe wherever you get your podcasts or just visit talkpython.fm/heroes.
- 16:04That's talkpython.fm/heroes.
- 16:08Do you like pre-compute that little environment or something?
- 16:11So, because you don't want to obviously reinstall it per request.
- 16:14Yeah.
- 16:14So, it basically gets installed during deployment time.
- 16:18Yeah.
- 16:19When you deploy your function, we take your code, install the dependencies that it needs, package
- 16:23it up as a zip package, store it in Azure storage.
- 16:26And when your applications are invoked or the first call comes in, that's when we go ahead
- 16:31and run that zip package on the platform.
- 16:34How's it run?
- 16:35Does it run like in a Docker container?
- 16:36Does it run in like a VM?
- 16:38How is it shared?
- 16:39Like, what's that story look like?
- 16:41Good question.
- 16:42You shouldn't worry about it because it's serverless.
- 16:44But since you asked nicely, I'll share it with you.
- 16:47We do run in a container underneath the covers.
- 16:50Good thing is our Python offering is actually running on Linux, which is something that's brand
- 16:55new to Azure Functions.
- 16:56Traditionally, we only supported Windows hosting.
- 17:00Just given the kinds of scenarios Python developers are bringing in, we decided to go ahead and
- 17:05host Python on Linux.
- 17:07So, underneath the covers, things are running in a Docker container on Linux.
- 17:12We actually go ahead and even open source that image.
- 17:15It's called the Azure Functions Python image on our Docker Hub profile.
- 17:19And you can use that to build your own custom container.
- 17:22Or if you're just giving us code, we'll go ahead and run that code in that container for you.
- 17:27That's cool.
- 17:27Could I use it to like test locally?
- 17:29Could I, you know, Docker pull, Docker run that image locally and play with it?
- 17:33Yeah, you can absolutely do that.
- 17:35If you wanted to have the container approach, the cool thing is you don't need to.
- 17:39Right.
- 17:39We've got something called the Azure Functions Core Tools.
- 17:42It's a CLI experience.
- 17:44As long as you install the Azure Functions Core Tools on your local machine and VS Code, in
- 17:49fact, does that for you.
- 17:50You can test your functions locally simply by hitting F5 in VS Code.
- 17:55It automatically starts the function process.
- 17:58In fact, it'll even identify that it's a function process and go ahead and attach the Python debugger to the functions process.
- 18:04So you can start serving your function on the local host endpoint and start testing against real Azure events.
- 18:11That sounds pretty cool.
- 18:12I saw that it had a command line.
- 18:14So you can do things like go in and say like it's the funk command, right?
- 18:20So you can go and say funk new.
- 18:22And then you can say, what is it?
- 18:24Funk run or something like this to like.
- 18:26Yep.
- 18:26Funk host start.
- 18:27Yeah.
- 18:27Funk host start.
- 18:28That's right.
- 18:29That sounds funky.
- 18:29Yeah.
- 18:30So yeah.
- 18:31So you can do that in the command line as well.
- 18:33Like if you don't use Jules Chico.
- 18:35That sounds pretty cool.
- 18:36Absolutely.
- 18:36So you can use the command line in conjunction with your favorite editor.
- 18:41So if you were using PyCharm, that's what some of the users are using as well.
- 18:44Yeah.
- 18:44You can definitely go ahead and attach.
- 18:46Yeah.
- 18:46That's cool.
- 18:47Like one of the things that drives me crazy about working with the cloud, any cloud, right?
- 18:51Whatever is the sort of airplane scenario as I see it.
- 18:55All right.
- 18:56Like I'm working on this project and now I'm somewhere without internet or I'm in a hotel
- 19:02with bad internet or whatever.
- 19:03And it's just like, well, now you're done.
- 19:06You know, it doesn't work anymore.
- 19:07And so it's cool that you have this way to kind of like run it locally, like regardless
- 19:11of that.
- 19:12Yep.
- 19:12And it's the same runtime that's running in the cloud as well.
- 19:15So there's nothing different about it.
- 19:16Okay.
- 19:17Well, that seems pretty cool.
- 19:18We talked about some of the events, right?
- 19:20We talked about HTTP.
- 19:21We talked about, I asked if I could do it on a timer, like a cron job equivalent, which
- 19:25is pretty cool.
- 19:26What are some of the other ones?
- 19:27All the storage events.
- 19:28So Azure Storage, QBlob, Cosmos DB events, also the eventing and messaging systems.
- 19:35So Service Bus Queues, Service Bus Topics, Event Hubs, any IoT Hub messages coming to an
- 19:41Event Hub, Event Grid.
- 19:43And the cool thing is, as of two days ago, we also announced Kafka.
- 19:47Kafka triggers are supported as well.
- 19:50Going back to functions being open source, I feel like sometimes I can't say that enough.
- 19:54We've got an extensibility model where we do support any trigger or binding that you want
- 19:59to bring in.
- 20:00An example would be somebody recently wrote a SignalR binding for Python.
- 20:04And so pretty much any binding that you bring can plug into our extensibility model as well.
- 20:09That's pretty cool.
- 20:10Could I build a Slack one?
- 20:11So anytime a certain Slack message comes in?
- 20:13Yes.
- 20:14I actually just built a demo for that yesterday.
- 20:16Oh, really?
- 20:17We should talk about that.
- 20:19That's pretty awesome.
- 20:19Like, what was the scenario you were like laying out there?
- 20:22Yeah.
- 20:22So we wanted to build a demo when a GitHub issue is filed.
- 20:26I'd like to go ahead and process that issue, do some sentiment analysis on it, and go ahead
- 20:31and post to our Slack channel.
- 20:33So that was the simple scenario I was building.
- 20:35But definitely felt like just having those bindings to these data sources or just being
- 20:42able to write my Python code and not focus on anything else made things really easy for
- 20:46my demo.
- 20:47Of course, that's super cool.
- 20:48You mentioned the IoT stuff, and that seems like a really interesting angle, right?
- 20:53People create these little IoT devices, and they've got to be sitting back like tons of data in
- 20:59some cases.
- 21:00So I can just somehow subscribe to that in particular and not necessarily have to write an HTTP endpoint.
- 21:06What was the story there?
- 21:07Right.
- 21:08So the IoT events are generally routed through IoT Hub to Event Hub.
- 21:13So as long as these events are coming into Event Hub, we've got an Event Hub triggered.
- 21:17So every time a message is received on Event Hub, we'll go ahead and trigger or invoke your
- 21:21function script and pass it the message coming from or the data coming from your IoT device
- 21:26for the function to process.
- 21:28So that actually makes a very popular scenario for serverless as well, because IoT scenarios are
- 21:35generally burst nature.
- 21:37So you'll suddenly get 1,000 events that you need to process and spin up functions for,
- 21:42and then it might just go down to zero.
- 21:45So really, it doesn't probably make sense for you to be paying for VMs that are running 24
- 21:50hours to serve that one-time burst activity.
- 21:53Yeah, sure.
- 21:53Well, you talk about paying and pricing, right?
- 21:56Like, if I go and spin up a virtual machine, Linode, or somewhere like that, I know that
- 22:02it's $5 or $10 a month flat, right?
- 22:06Like, there's no surprises.
- 22:07If I leave it on, it's $10, let's say.
- 22:10What's the story with functions?
- 22:12I feel like of so many of the cloud resources, it's not always sure, but with functions, it's
- 22:18like really not clear all the time, like what is this going to cost?
- 22:22Right.
- 22:23There's a lot of factors, right?
- 22:24Not just how many times it's called, but how much work did each function do, things like
- 22:28this.
- 22:28How do I know, like, what this might cost?
- 22:31Or is there a free tier, things like that?
- 22:32Yeah.
- 22:32With functions, we actually support a few different hosting plans, and the price is typically tied
- 22:37to what hosting plan you pick.
- 22:39So the first and the most popular one is the serverless, or the truly serverless, or what
- 22:44we call the consumption plan.
- 22:46What that means is that when a function execution occurs, there's a flat rate for that function
- 22:52execution, and you only get charged for the compute that you use GB per second to run that
- 22:59function, right?
- 23:00So your actual compute consumption determines the cost.
- 23:03And of course, any other resources that you might be using during that consumption, memory,
- 23:07et cetera.
- 23:08That's the truly serverless plan.
- 23:10On that, I believe we give you, and I do need to go back and double check this once, but
- 23:16I know we give you a million executions free to get started.
- 23:19I forget the other thing that we also give you free with the memory.
- 23:24I should go back, double check that.
- 23:25The other hosting plan that we have is called an app service plan.
- 23:29And this is different from what a lot of the other serverless vendors actually provide, because
- 23:33we had a bunch of customers who told us, hey, I love the functions programming model,
- 23:38but you know, I already have the set of VMs that I'm using to run a web application.
- 23:43Maybe can I just use the extra compute available to me on those VMs to run my function as well,
- 23:49and scale within those set of VMs.
- 23:52And so that's what we call the app service plan.
- 23:54Hey, it's not truly serverless, but if you already have a set of N VMs, tell us about those VMs and what plan they're running on,
- 24:01call the app service plan, and we'll go ahead and run the function on that for you.
- 24:05It's not serverless scaling.
- 24:07It's CPU-based scaling.
- 24:09So it's scaling based on CPU metrics, how much CPU is being used or how much memory is being used.
- 24:14But it's kind of a determined set.
- 24:17It does give you advantages like now you can put your functions within a VNet.
- 24:21So there's networking options.
- 24:23You can connect to data in a VNet, you know, those kind of capabilities.
- 24:26So we more or less had these two groups of people, the serverless plan people, really happy about their true serverless event-based scaling.
- 24:35They just don't have to think about it.
- 24:36It does its magic.
- 24:37Exactly.
- 24:38It's the cloud.
- 24:39And then we had the folks who were super happy with the app service plan because the performance is great because things are already provisioned for you and all the networking capabilities.
- 24:47So in the last few months, we actually went and did some work to enable a third hosting plan, which we're very, very excited about, actually.
- 24:55It's called the Elastic Premium Plan.
- 24:58And in the Elastic Premium Plan, what you can essentially do is you can tell us how many reserved VMs you want for your application.
- 25:07So if you're going to have a third one, which is the first time, which is the first time you want for your application.
- 25:11So if you're going to have a third of the application, you can tell us how many of the applications are going for your application.
- 25:11So if you're going to have a third of the application, you can tell us how many of the applications are going for your application.
- 25:16So if you're going to have a third of the application, you can tell us how many of the applications are going for your application.
- 25:20I always want to have my application warm and running on that one instance.
- 25:24But if I receive traffic that's more than that instance can handle, I'd like to scale out to meet that demand and scale back down to one when the demand's gone.
- 25:34Which is cool because now you get the benefits of really good performance because reserved instance, networking options because you already have something that's provisioned there, and the serverless scale.
- 25:47Yeah, that sounds pretty cool.
- 25:48Like most of the time, probably just one VM may do it.
- 25:53And one of the things that I think that I'm always a little suspicious of in the serverless world is there's how long your code takes to run,
- 26:02and then how long it takes end to end for the request to come in, for the temporary Docker image to spin up and get created, and all that kind of stuff.
- 26:12And it seems to me like you might be able to avoid a lot of it in this scenario you're talking about here.
- 26:17If you have your own VM that's dedicated to it.
- 26:20In fact, what you explained right now, we're already optimizing for that.
- 26:24So, you know, the whole point of us running in a Docker container, which we are certain what container it is, is the fact that it's already warm and running.
- 26:32Even when a first call comes to your application, we're actually running a dummy Python site.
- 26:37And when we invoke your application, we go ahead and specialize that site with your code and with your application settings in order to invoke your code.
- 26:45A lot of that's already been done.
- 26:47A lot of that's already been done.
- 26:48So we're optimizing for performance even on the serverless plan.
- 26:51That said, though, even that doing that job takes a little bit of time because, again, it is serverless.
- 26:57We're not provisioning anything for you.
- 26:59So when you do specialize something, it takes a little bit of time.
- 27:02If you absolutely had a workload that could not function on that kind of latency either, premium plan is a great option.
- 27:10Interesting.
- 27:11There's a lot of talk about Docker and Docker images and stuff in here.
- 27:14And it's really cool.
- 27:15And that obviously gives you like a decent level of isolation in your environment and stuff like that.
- 27:20But would I be able to like create my own Docker container?
- 27:24Say instead of taking the one that we talked about that we could get Docker pull and mess with, could I base a custom image on that and like get it exactly the way I want?
- 27:34And then run that?
- 27:35Yeah, you can absolutely do that.
- 27:36So like I said, our Docker image is open source.
- 27:39You could go ahead and extend that image to add whatever requirements you want to add.
- 27:45And the typical reasons why we see somebody would do that is if you had dependencies that weren't essentially pip installable, but something that was an OS level dependency.
- 27:54Maybe you wanted to install the PyTorch package via apt-get on your container, right?
- 28:00In that case, custom container is a great scenario.
- 28:03The other one is if you were using a distribution of Python that we didn't support out of the box, something like the Anaconda distribution.
- 28:10Again, go ahead and customize the container with the Anaconda distribution and you can still use functions with it.
- 28:16Okay, then I put like blob storage and point to it in my container or my function concentrate.
- 28:20How do I do it?
- 28:21You can simply push your Docker image to either Docker Hub or ACR and we also support private repositories.
- 28:28But as long as you bring us the image itself, we'd be able to use that to create a function app.
- 28:34This is mixing a lot of these cloud and networking ideas together, right?
- 28:37Right, and that's why the only caveat I will mention though with custom containers is we will not be offering the consumption or the serverless plan with custom containers.
- 28:46We are sticking to the premium plan and the app service plan to optimize for performance benefits.
- 28:52Sure.
- 28:53So we talked a little bit about being able to run with that func host start command, run locally our code.
- 29:02But, you know, if you're going to do like a production release of your code, you probably want to have continuous integration, maybe continuous deployment.
- 29:12Like how do I test this stuff?
- 29:14Can I test it in like some kind of CI system or something like that?
- 29:18We integrate with Azure DevOps.
- 29:19Azure DevOps is basically a CI CD tool.
- 29:23Specifically, Azure Pipelines is the CI CD component of DevOps.
- 29:27And it provides you with multiple client touch points.
- 29:31You can go to this portal where you'd say, hey, I'd like to set up a DevOps pipeline or a CI CD pipeline for my function app.
- 29:38We're already populating functions and Python templates in there.
- 29:42So it'll be able to generate the structure of the various steps that you need to take in order to do CD.
- 29:48And you can go ahead and integrate your own CI in there as well.
- 29:51We've also got the command line experience, which is starting from if you've already developed a function app,
- 29:59you can go ahead and run the az function app devops create command.
- 30:04It's documented in the functions documentation.
- 30:07But that'll automatically identify the app that you're using is a Python app.
- 30:11It contains requirements txt, which are certain packages.
- 30:14And go ahead and generate what's called an Azure Pipelines YAML file that contains exactly the script that needs to run for your CD step.
- 30:23Okay.
- 30:23And then how do I test it?
- 30:24Can I test it with like pytest or like what is the story?
- 30:28You can definitely write unit tests against pytest.
- 30:30For each of the triggers and bindings that we integrate with, we're including in the library mock interfaces.
- 30:37Right.
- 30:38Okay.
- 30:38So if I want to have like say a CosmoDB or like a blob storage one, I guess that would be hard to test.
- 30:44Like it would be hard to simulate something going into blob storage, right?
- 30:48Exactly.
- 30:48So in that case, you'd use that mock rich type that we're providing to create an object that you can test against in a CI CD kind of setting.
- 30:57If you were to be testing locally, however, we do let you run against real time Azure events.
- 31:04So if I started a function that's going to be triggered by a message being added to queue, when I'm running it locally on my local host endpoint, I can go to Azure, add a message to queue, and it will trigger off the function.
- 31:16Yeah, that sounds like a pretty cool way.
- 31:18So that's more of a development side of things.
- 31:20It's more like the inner loop, outer loop story.
- 31:22Okay.
- 31:22Right.
- 31:23So we think of like, hey, when you're developing locally, just trying to get your function to work in the way you want it to.
- 31:29Inner loop is great.
- 31:31You develop with a CLI.
- 31:32You test against real time Azure events.
- 31:33Now, when you think you're ready with your function app and you'd like to move to the cloud, that's when you go ahead and initiate the CI CD or DevOps create command.
- 31:42Okay.
- 31:42I'm happy with it.
- 31:43I want to put it out there.
- 31:44How do I do that without?
- 31:46Let's suppose I have a function.
- 31:48It's getting 100 requests per second, right?
- 31:51Even if it only takes, you know, half a second to deploy this thing, that could be a problem.
- 31:56Is there a way to roll it out so that it kind of upgrades without breaking inbound requests?
- 32:02We've got this feature called deployment slots.
- 32:05Okay.
- 32:06And essentially what that means is, hey, you can have different kind of canary environments that you're publishing your application to.
- 32:14For instance, I could have an app that's running in a production slot and 100% of my traffic is coming to that slot.
- 32:20Now I've got an updated version of that app, a V2 version, say.
- 32:24I'll go ahead and create a separate slot, which is, you know, my canary slot, say, and publish my application to that slot.
- 32:31And I can start navigating some of my traffic, the incoming traffic to that slot so that, you know, maybe 80% of my traffic is coming to production, 20% is going to canary, and so on and so forth.
- 32:44I start to navigate the traffic until I feel very comfortable that my staging slot or my canary slot is doing what I expected to do and bring my number of requests on the production slot down to zero before I swap.
- 32:57Yeah, that's actually cooler than I expected.
- 32:59I figured, like, there might be some kind of, like, Kubernetes sort of upgrade story type of thing.
- 33:05But the ability to, like, send, like, 1% of your traffic at it and just go, well, let's just make sure that this is going to hang together.
- 33:13Yep.
- 33:13Yeah, that's pretty cool.
- 33:16This portion of Talk Python To Me was brought to you by Datadog.
- 33:19Get insights into your Python applications and infrastructures with Datadog's fully integrated platform.
- 33:25Debug and optimize your code by tracing requests across web servers, databases, and services in your environment.
- 33:32Then correlate and pivot between distributed request traces, metrics, and logs to troubleshoot issues without switching tools or contexts.
- 33:39Get started today with a 14-day trial, and Datadog will send you a free t-shirt.
- 33:44Visit talkpython.fm/Datadog for more details.
- 33:50So, Bill, there's always a lot of announcements from folks at Microsoft.
- 33:54Like, this is one of the conferences that you hold back all of your big news for, right, until you, like, let it out here.
- 34:01So, I guess, you know, maybe give us a rundown on, like, what's the big news for you in the serverless and Python?
- 34:08Yeah, it's interesting because we've actually been releasing pretty exciting announcements over the last month, month and a half almost.
- 34:17So, the Elastic Premium plan that I spoke about went out about a month ago.
- 34:22And that's the biggest thing, even at Build, we're talking about it, and a lot of people already knew.
- 34:28So, I would say that's the biggest announcement of it all.
- 34:31The second one that's also super exciting is support for Kubernetes.
- 34:35So, Functions was already open source, the runtime and the programming model and the framework itself.
- 34:42But there was still a component of the platform that was still novel to what Azure was doing.
- 34:49That was called the Scale Controller.
- 34:50And just to give you a little rundown, Scale Controller is the component that's responsible for event-based scaling.
- 34:57So, for instance, if your function was triggering off messages in a queue, are Scale Controllers always watching that queue?
- 35:05How many messages are on that queue?
- 35:06What's the size of each message?
- 35:07How long is it taking to process?
- 35:09And depending on that, actually scaling your infrastructure.
- 35:12Now, we actually went in and rewrote that Scale Controller in Golang and made it open source.
- 35:20So, you can now deploy your functions containers or function apps to Kubernetes and also take advantage of the event-based scaling.
- 35:27It's a project we're calling KEDA.
- 35:29And it's an attempt to really open source a lot of what we're doing in functions and try to reduce the vendor lock-in that may still be remaining.
- 35:40For instance, I mentioned earlier in the podcast, we added support for the Kafka trigger.
- 35:44That was motivated by the KEDA project.
- 35:47We're also looking at adding support for things like RabbitMQ as triggers.
- 35:51That sounds super cool because, you know, to me, I feel like the cloud is the new lock-in, right?
- 35:56For both good and bad, like, you know, not just Azure, but AWS and the other ones.
- 36:01Like, the more you take advantage of these really cool features, the more you are kind of committed, right?
- 36:07But it sounds like with this, as long as you're willing to run a Kubernetes cluster, you can kind of bring it wherever you want it to go.
- 36:13Exactly. And it's more for the audience, I'd say, who are already bought into Kubernetes.
- 36:18You know, you don't have to do that if you really, truly are serverless.
- 36:22Just leave the infrastructure to us and let us do what we do best.
- 36:27But if you're a big enterprise and everything you have is going to be running on Kubernetes and you want functions to be a part of that,
- 36:34it's a great way to still be able to take advantage of the event-driven serverless functions.
- 36:38Okay, so I already have a Kubernetes cluster.
- 36:40Can I just take this and, like, run it on the cluster as one of the things and then start calling the endpoints there?
- 36:47Exactly.
- 36:48Where's the rest of the infrastructure?
- 36:49Like, where are the HTTP endpoints that tie it back to the functions and, you know, stuff like that?
- 36:54Is that enough to just sort of have my own little private serverless thing in some cluster or what?
- 37:00Yeah, absolutely. I'd actually, without going too much in detail on KEDA, I would encourage you to look at the documentation.
- 37:07It's got some great references on how things are actually working in the Kubernetes space.
- 37:12There's a lot going on in terms of your cluster, your pods.
- 37:15I'm still learning about Kubernetes, to be honest.
- 37:18There is great documentation online.
- 37:20I'd encourage you to go look up KEDA, KEDA project.
- 37:23Okay, cool. What else?
- 37:25We introduced this concept called extension bundles.
- 37:28It's a little underneath the cover, so you don't really need to know about it.
- 37:32But really, historically, what happened was because our core runtimes were in .NET.
- 37:37There's a lot of .NET that kind of flew out or snuck up on you when you were developing Python.
- 37:43And really, we don't want that for our Python developers.
- 37:46You know, we want, if you're a Python developer, let us come and plug into your ecosystem rather than trying to drive you to .NET.
- 37:53Extension bundles abstracts away a lot of that stuff.
- 37:57So if you're using an extension or a binding that's written in .NET, you no longer have to have the .NET SDK installed.
- 38:05All you need is Python if you're developing in Python.
- 38:08And we'll take care of all of that for you.
- 38:11You're kind of what you would expect, but I guess it's nice that it's there, right?
- 38:14It's an evolution of the platform.
- 38:15I think from functions we want to where you could only develop on Windows and host on Windows to v2, where you can now develop on any platform, be it macOS, Windows, Linux machine, and host on Linux, to finally being able to abstract the few fritters that were still left.
- 38:32I'm really excited and looking forward to a place that we're at right now.
- 38:37I think we're getting pretty close.
- 38:38Yeah, that's cool.
- 38:39So speaking of environments, what versions of Python are supported?
- 38:44Today we support 3.6, Python 3.6.
- 38:46We're looking to add 3.7 support in the future as well.
- 38:49We've already got a container image available if that's of interest.
- 38:52And I guess if you can do your own container, then put whatever else you want out there, right?
- 38:56Exactly.
- 38:56Our core runtime is actually already compatible with 3.6 and 3.7.
- 39:01We heard feedback from specifically some of the ML users that there were packages like TensorFlow that weren't yet compatible with 3.7 or were still working on the wheels for 3.7 and such.
- 39:13So we just decided to delay that by a few months before we go ahead and make a big release.
- 39:19Sure.
- 39:19Okay, cool.
- 39:20One of the things that I saw people doing on AWS Lambda is using sort of abstracting away the deployment of something like Flask, right?
- 39:32So there's a project called Zappa, and Zappa will let you take what looks like a Flask function and turn it into a bunch of serverless functions, which is an interesting idea.
- 39:44I don't know.
- 39:45I saw that in the docs you guys have something kind of like that, but it's much more manual than working directly with Flask.
- 39:52Do you have any plans for something like that?
- 39:54Not yet.
- 39:55And honestly, we're still thinking about it.
- 39:57We don't know if that's a direction that most users want to go in.
- 40:01Just speaking to customers, and we've got a very good community of preview users.
- 40:05They've given a lot of feedback.
- 40:07This hasn't come out that much.
- 40:09So really, I'd encourage you and everybody who's listening to give us feedback on that.
- 40:15Tell us if that scenario is something that's important for you, and help us just understand how we should think about these things.
- 40:23Yeah, honestly, I look at that, and it's super interesting, and it's kind of cool to think about it.
- 40:27But in practice, I'm like, do I really want to maintain my web app as like 100 separate little things?
- 40:33Or does it make more sense to maybe build like 10 specialized serverless bits and then host the rest of it as like a regular web app or something?
- 40:42I don't know.
- 40:42It's an interesting idea, though.
- 40:44Right, right.
- 40:45Yeah, yeah.
- 40:45Cool.
- 40:46Well, I guess that's probably about it.
- 40:50Anything else you want to share about the service that you guys got going on right now?
- 40:53We've got a few things in motion.
- 40:55I would say the biggest one, definitely Python is something that is our biggest focus right now for the Azure Functions team.
- 41:03So just keep your eyes and ears open for what we have coming next in terms of improvements for the preview itself and our geo offering.
- 41:12That's really my biggest call to action here.
- 41:15Yeah, cool.
- 41:16One of the things I thought was really nice is I went to the Azure serverless functions bit for Python and said to subscribe to our announcements.
- 41:24Just go watch the GitHub repository.
- 41:26That's a pretty cool way to like, instead of like, yeah, we're going to shoot you a newsletter or something.
- 41:31No, just it'll be in GitHub.
- 41:32Subscribe to it.
- 41:33Yeah, we definitely spend a lot of time and lives on GitHub these days.
- 41:38Open source is great.
- 41:39Anytime we want to speak to the community, we pretty much post an announcement.
- 41:43Even something like, I'm not sure if you've heard of durable functions in Python.
- 41:47We're thinking about, hey, it doesn't make sense to have durable functions for Python.
- 41:51Do Python users have scenarios that they need durable for?
- 41:55Something I posted the announcement about a GitHub issue about, and there was a ton of interest.
- 42:00So it's a great way to just go watch our repository, see what we're doing every day, the questions we're asking, and participate in the discussion.
- 42:07Yeah, that's cool.
- 42:08What do you mean by durable functions?
- 42:09Like functions, if they fail, they'll like restart, kind of like a transaction, or what is this?
- 42:13No, actually.
- 42:14So going back to a little bit of principles of serverless per se, serverless functions are typically supposed to be short-lived and stateless, right?
- 42:24Okay.
- 42:25But what we heard was there can be scenarios that are long-running because maybe you're running some kind of an orchestration.
- 42:31Maybe you're doing a function, like a map-reduced scenario, a fan-in, fan-out scenario, right?
- 42:36I see.
- 42:36And that can be a problem because a lot of the server infrastructure, serverless infrastructure will stop your function if it takes too long, right?
- 42:44Exactly.
- 42:44In fact, on our infrastructure, on our platform, it's a 10-minute default timeout, but you can tweak it to be a 20-minute at the max.
- 42:53The new Elastic Premium plan actually can run forever.
- 42:55That's a premium benefit of the Premium plan.
- 42:58But with durable functions, what we do is we are basically providing a framework for you to be able to orchestrate your function executions.
- 43:07There are two concepts in durable.
- 43:09There is something called an orchestrator function, which can run forever.
- 43:12And orchestrator function basically calls into what are called activity functions, which are basically just regular functions and have the 20-minute timeout.
- 43:21So if I were doing a scenario like function chaining, I could have my orchestrator function kind of coordinate calling function A, taking the response from function A, and using it to invoke B.
- 43:32Similarly, B to C, and so on.
- 43:35Simple function chaining scenario or something where I was actually doing a fan-in, fan-out would be more complicated.
- 43:39I could orchestrate various functions with the long-running orchestrator function.
- 43:44Or even the other day, somebody built a scenario which required an OTP pin, for instance.
- 43:48Human interaction with a function, which we humans take time sometimes to respond.
- 43:53Yeah, for sure.
- 43:54So those kind of scenarios are possible with durable functions.
- 43:57It kind of solves the problem of being able to maintain state and run for a longer duration.
- 44:02Does it like serialize a state while it's waiting and like bring it back?
- 44:06It basically does.
- 44:08Somebody on Twitter today just posted about the black magic of durable.
- 44:11So it's a little bit complex and I can go into the details.
- 44:14But yes, it's basically using storage to maintain state.
- 44:17Okay, cool.
- 44:17That's exciting.
- 44:18That's a cool idea.
- 44:19Yeah.
- 44:19All right.
- 44:19Well, thanks for sharing all these ideas.
- 44:21There's just a couple of questions I'll ask you before I'll let you go.
- 44:25One is if you're going to write some Python code, what editor do you use?
- 44:29Yeah, so good question because I was traditionally using PyCharm and recently, when I say recently,
- 44:34since about the last year or so, starting using VS Code.
- 44:38And I'm really appreciating right now the VS Code ability to be able to work with Azure
- 44:44because I work a lot with the Azure cloud.
- 44:45The extensions do a great job at it.
- 44:47Yeah, that's cool.
- 44:48There's definitely a lot of integration there.
- 44:50Do you have plugins for PyCharm as well?
- 44:53I was using a few plugins for PyCharm.
- 44:55I honestly don't even remember what plugins there were right now.
- 44:58Yeah, sure.
- 44:59It's been a while.
- 44:59All right.
- 45:00And then a notable PyPI package that maybe you ran across.
- 45:03You're like, oh, that's cool.
- 45:04People should know about this.
- 45:05So yesterday, I ran into something called Flask Dance.
- 45:10Flask Dance.
- 45:11And really, what it helps you do is a lot of the OAuth dance that you would do manually,
- 45:15typically, I mentioned the Slack application to you, right?
- 45:18A lot of the OAuth dance that you would do typically yourself, it makes it really, really easy to be able to do that.
- 45:25And I was super thankful for that package yesterday when I had to do this in a short time.
- 45:29Yeah, that's awesome.
- 45:30Because OAuth can be kind of annoying.
- 45:32You do this, and then it calls back this function, and then it gets to be...
- 45:35And of course, every API provider does it differently.
- 45:38Yeah, of course.
- 45:39And yeah, that's no fun.
- 45:41So awesome.
- 45:41Flask Dance.
- 45:42That's cool.
- 45:42I hadn't heard about that one.
- 45:43All right.
- 45:43Final call to action.
- 45:44People are excited about serverless.
- 45:46What should they do?
- 45:46I think you should go check out Azure Functions.
- 45:49We've got some great getting started material.
- 45:51Like I said, if you're a CLI person, go ahead, download a CLI tool, start developing.
- 45:55Or you can also use VS Code.
- 45:57We are all eyes and ears right now for any feedback that you can give us.
- 46:02And given that we're out there in the open, all of our discussions, ideas, feature requests,
- 46:08you really have a great chance to influence the Azure product, I'd encourage you to come
- 46:13participate and talk to us.
- 46:14Yeah.
- 46:15All right.
- 46:15Cool.
- 46:15Well, thank you so much for being on the show and sharing all of what you're up to here.
- 46:18Yeah.
- 46:19Thank you so much for having me.
- 46:20Yeah.
- 46:20Bye.
- 46:20This has been another episode of Talk Python To Me.
- 46:24Our guest on this episode was Asavri Tayal, and it's been brought to you by Command Line Heroes
- 46:28and Datadog.
- 46:29Command Line Heroes is a podcast telling the story of developers.
- 46:33This season is all about programming languages and starts off with Python, of course.
- 46:38Subscribe at talkpython.fm/heroes.
- 46:41Datadog gives you visibility into the whole system running your code.
- 46:46Visit talkpython.fm/datadog and see what you've been missing.
- 46:50Don't even throw in a free t-shirt for doing the tutorial.
- 46:52Want to level up your Python?
- 46:55If you're just getting started, try my Python Jumpstart by Building 10 Apps course.
- 46:59Or if you're looking for something more advanced, check out our new async course that digs into
- 47:05all the different types of async programming you can do in Python.
- 47:08And of course, if you're interested in more than one of these, be sure to check out our
- 47:12Everything Bundle.
- 47:12It's like a subscription that never expires.
- 47:14Be sure to subscribe to the show.
- 47:16Open your favorite podcatcher and search for Python.
- 47:19We should be right at the top.
- 47:20You can also find the iTunes feed at /itunes, the Google Play feed at /play,
- 47:25and the direct RSS feed at /rss on talkpython.fm.
- 47:30This is your host, Michael Kennedy.
- 47:31Thanks so much for listening.
- 47:33I really appreciate it.
- 47:34Now get out there and write some Python code.
- 47:36We'll see you next time.
- 47:40We'll see you next time.