Anvil: Web Apps with Nothing but Python Transcripts
Chapter: Course conclusion and review
Lecture: Thanks and goodbye

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Look at that, you've made it to the end. And there it is, you see it? The finish line and you've made it across. Awesome!
0:08 You now possess many of Anvil's super powers. And there's actually a bunch of things we haven't even spoke about.
0:16 Background processes and other cool stuff like that. Go, take your idea, build it on Anvil and share it with us when you're done.
0:25 You can put it together without knowing all the ins and out of the details of the web. You can even try prototyping something there
0:31 and move it into Flask if that's really your end goal. So fun little platform, you can build some really cool apps as you've seen throughout
0:38 this entire course. You can take the code with you. Now, sharing the source code with you here is different than maybe sharing it with like
0:47 a standard Python course. Normally what I would do is just put the Python files that you need there, and other resources and you would go and use that.
0:54 But Anvil is a little bit different so let's break out of this view. And actually let me walk you through GitHub real quick.
1:00 So here we are at the Anvil Course Repo yeah, right now it says private, cause I haven't published this course yet, but soon as I do
1:06 that'll be public and you can just get to it. So, we've got our source code down here and you've already seen two of the things.
1:13 We've added the fitnessd_client and the fitnessd_loader. Right here is the GUI App that we've built for example. Right, you can see it's code here.
1:22 So, this is regular Python code you just download this, create a virtual environment run the requirements, install the requirements with pip.
1:29 And you can run the app. Nothing unusual about that. But, for Anvil itself, the thing that we actually get when we go over to this thing.
1:39 You can't run this locally, that's not how Anvil works. It has to run within Anvil cause it's got to tie the client, and the server
1:46 and the database, all that stuff together. So I gave you that code, we go back here under Anvil App. I gave it to you in two forms.
1:55 You can export from Git, the actual raw code you can clone it, and if you go down here you can see the forms.
2:02 For example, here's the UI definition of our Account page. It looks like this YAML stuff. And here's our card, and let's see
2:12 stuff that we'll recognize here. Label gender, for example, right? And then here's the Python code, it is the code behind for it, right?
2:21 Here's our Go Pro that we just did and there's the code. So this is really nice, you actually have the code locally.
2:28 You can work with it, you can do whatever you want. With like a local editor and copy code around from maybe here, into your real app.
2:36 That's a really nice thing, if I want to just copy this whole method into my app just go here and just copy into your app.
2:43 However, this can't be run, right? So I just gave you this, you can download it and have the code locally as text files.
2:50 If you want to run and edit the code you have to clone it into your account. So over here there's runable, and to do that
2:58 you just click on this thing here. It says, "okay, you can start it by clicking this." and it says Michael has invited you to work
3:07 on a copy of their app. Okay, so that's what you would get. That's how you would actually get a runable version.
3:12 That you can tweak and play with, and so on. It's a lot of fun, you have all the code I think everything you need to take exactly what
3:19 we built right during this course and run with it. So finally, thank you for taking my course. I'm Michael Kennedy, follow me on twitter
3:26 where I'm @mkennedy. Check out our other courses over at training.talkpython.fm and go build something awesome with Anvil.


Talk Python's Mastodon Michael Kennedy's Mastodon