Latest / Talk Python To Me / #96: Exploring Awesome Python
Transcript
- 0:00Python is said to be a language that comes with batteries included.
- 0:03It has many meanings depending on the level you're focusing on.
- 0:06The lowest, it's a very rich and expressive language.
- 0:09Most commonly, this phrase means Python has a very powerful and comprehensive standard library.
- 0:16Itertools or elementary, anyone?
- 0:18But more holistically, most of the batteries are external, interchangeable ones from PyPI.
- 0:23Right now on PyPI.io, there are over 97,000 packages listed there.
- 0:30That's fantastic.
- 0:31However, it does lead to a discoverability problem.
- 0:34What options do you have for admin backends on web apps?
- 0:37How about cryptography or raw socket programming and so on?
- 0:40This week, Matt Makai is back with me.
- 0:43Remember him talking about deployments on episode 26 last year?
- 0:46This time, we're talking about Awesome Python,
- 0:48a website and open source project attempting to categorize and sort of rank these options.
- 0:54This is Talk Python To Me, episode 96, recorded January 16th, 2016.
- 1:00Developers, developers, developers, developers, developers.
- 1:03I'm a developer in many senses of the word
- 1:06because I make these applications, but I also use these verbs to make this music.
- 1:11I construct it line by line, just like when I'm coding another software design.
- 1:15In both cases, it's about design patterns.
- 1:19Anyone can get the job done.
- 1:20It's the execution that matters.
- 1:22I have many interests.
- 1:23Sometimes you can fly to Python.
- 1:24Welcome to Talk Python To Me, a weekly podcast on Python,
- 1:27the language, the libraries, the ecosystem, and the personalities.
- 1:30This is your host, Michael Kennedy.
- 1:32Follow me on Twitter where I'm @mkennedy.
- 1:34Keep up with the show and listen to past episodes at talkpython.fm
- 1:38and follow the show on Twitter via at Talk Python.
- 1:42This episode has been sponsored by AnacondaCon from Continuum Analytics and by Hired.
- 1:47Thank you both for supporting the podcast.
- 1:50Hey, Matt.
- 1:51Welcome back to Talk Python.
- 1:53Thanks, Michael.
- 1:53It's good to be back.
- 1:54It's great to have you back.
- 1:55You just pointed out a little bit ago that it's been 70 episodes
- 1:59since you were on episode 26 to talk about deployments with Python.
- 2:04I can't believe it's been so long.
- 2:06It's hard to believe.
- 2:07It's been like a year and a half, almost two years.
- 2:09Yeah, yeah.
- 2:10Well, that was a great episode.
- 2:11It was really popular.
- 2:12And, you know, the world has changed a lot since then.
- 2:16So that's a lot of cool things we're going to be talking about today.
- 2:19We're going to focus on stuff that we found, mostly you have found,
- 2:23that's awesome in the Python community.
- 2:25But before we get into those, let's, you know, 70 episodes ago.
- 2:29I'm not sure everybody can remember back 70 episodes.
- 2:32What do you do day to day?
- 2:33Sure.
- 2:33So I'm a developer evangelist at Twilio.
- 2:36And Twilio makes it easy for developers to add communications.
- 2:40So if you want to send a text message or you want to make a phone call with Python
- 2:44or any programming language or add video chat to an application,
- 2:48you can do that with Twilio.
- 2:49What I do as a developer evangelist, I am, first off, a software developer.
- 2:54I write a lot of code.
- 2:55Most of my code is open source.
- 2:56So it'll be examples for how to use Twilio or even just how to create something as a developer.
- 3:03It doesn't have to use Twilio.
- 3:05And then I travel and speak at tech conferences all on software development.
- 3:11No marketing fluff.
- 3:12Just really just being a software developer, I get to write code, explain code, and teach other people,
- 3:18which is just absolutely awesome.
- 3:20Yeah, that's great.
- 3:21I always, I've always thought that these developer evangelist jobs were just fantastic, right?
- 3:25Like it's part research and play.
- 3:28It's part telling people about stuff that's cool.
- 3:30And you have a lot of freedom to kind of learn and explore, right?
- 3:34Yeah.
- 3:34I mean, the big thing for me is just getting the time to create projects.
- 3:38Like when I have an idea, I can just go sit down, write some code, implement it,
- 3:41and then show it to other people.
- 3:42It's really, it's one of my favorite parts about it.
- 3:45How much does that feedback like tweak or inform the APIs that Twilio uses?
- 3:50Oh, a lot.
- 3:51Coming back from the evangelist.
- 3:52Yeah.
- 3:52I mean, one of the best parts about the gig is I get to use all of our APIs before they come out.
- 3:56So before anybody gets their hands on them, myself and some of my colleagues are like testing out the APIs,
- 4:02giving feedback to the API teams.
- 4:04And that helps to improve the results that ultimately get into the hands of developers.
- 4:10Oh, that's great.
- 4:10Now, if I go out and search for something on Python, there's a very good chance that something that you are responsible for that's not directly part of Twilio will be like the number one Google result for my answer.
- 4:22You do full stack Python, right?
- 4:23Yeah.
- 4:23So I'm the author of full stack Python, which is a open source project.
- 4:27I started over four years ago.
- 4:29And the whole idea behind full stack Python was I'm a Python developer.
- 4:33And I had this before I joined Twilio.
- 4:35I had a bunch of junior developers that were joining my team and they kept sending me emails.
- 4:39Hey, what's a what's a wsgi server?
- 4:41Like, what is that?
- 4:42And I kept sending all these emails and I was like, this would probably be relevant to much more than just our team.
- 4:48So I started putting together a project with pages that had explanations on every single Python topic.
- 4:54And it's just expanded out from there.
- 4:56I pretty much work on it every day.
- 4:57And it's it's read by over 80,000 developers a month at this point.
- 5:02That's fantastic.
- 5:02And you have a book that goes with it as well, right?
- 5:04Yeah, that's what I was on for in episode 26 back 70 episodes ago.
- 5:09It's about it's a step by step guide to deploying Python applications.
- 5:13So if you've never done it before, you've built your first web application.
- 5:16This is every single step to get a virtual private server and to stand everything up that you need DNS, the wsgi server, reverse proxy, all those things that trip developers up and certainly trip me up several years ago when I was trying to deploy my own applications.
- 5:31Yeah, it feels to me like that kind of that kind of information, those kinds of things are the things that you kind of it's a lot of work and a lot of research to get it all put all the pieces combined just right.
- 5:42So your web apps work great, but then you write it down, you put it in a script and you forget about it.
- 5:46So having like a book as a reference to learn it the first time and then keep it around is really cool.
- 5:50Yeah, exactly.
- 5:51So and as we talked about on that episode, first, I teach how to do it manually and then we automate it with Ansible.
- 5:56So it's a pretty good way to kind of understand the nitty gritty and then automate it.
- 6:00And you know what, if you want to forget about it at that point and just use the scripts, you can, but at least you learned it the first time.
- 6:05Yeah, absolutely.
- 6:06You'll understand that when you come back, right?
- 6:07You'll know what you're doing if you need to need to come back and tweak the automation.
- 6:11That's cool.
- 6:11Now we're going to talk about Awesome Python, the project, the GitHub project.
- 6:15But before we get into that, how about we do a quick update on our Python for Entrepreneurs course that you and I are writing together?
- 6:20Yeah, let's do it.
- 6:21Yeah, let's do it.
- 6:22So that course is almost done.
- 6:24I have to say, this one is, how shall I put it, longer than I expected.
- 6:28A little longer to write than I expected.
- 6:31But I haven't even told you, I've finished almost all the chapters I have to record.
- 6:37They're off to editors.
- 6:38I have basically one and a half chapters left to record and I'll be done.
- 6:43And then that just leaves a few more to go and that class will be all wrapped up.
- 6:45Yeah, and for me, I'm just finishing up some of the second Git chapter and then we're going to get into deployments and SEO and everything that goes along with actually running the application that you build.
- 6:57So I'm really excited.
- 6:59I am so excited to get this thing out to people.
- 7:02I know people have been watching it in early access mode, which you get from just buying, pre-ordering the course.
- 7:07But I'm excited for it to be like really wrapped up and done.
- 7:11Yeah, I really hope this turns out to be a great resource for the Python community around sort of this whole lifecycle of idea to web app to deployment to business.
- 7:20It'll be fun.
- 7:21Okay, so we'll come back and let people know when that's actually finished, but it'll be soon.
- 7:26I promise those of you who are out there waiting.
- 7:28So let's talk about some stuff that's awesome.
- 7:30Sure.
- 7:30So the awesome Python repository has the great slogan, life is short, you need Python.
- 7:37And it is one of many awesome lists.
- 7:41So the awesome list popped up on GitHub where people just started throwing together lists of tools and resources that they were using.
- 7:48And so this repository came up in the Python community.
- 7:53And so this is a GitHub Vinta slash awesome Python.
- 7:57It was created by Vinta Chen about a little over two years ago.
- 8:00And this is kind of the main one for the Python ecosystem that goes over all of the different open source projects and categorizes them, whether they're a task queue or web framework has some sort of basic categorization for each of the projects.
- 8:15Yeah, I think this is really handy when you don't know what it is you need for something.
- 8:22And so I don't know how many projects are listed here.
- 8:24I probably could have gone through GitHub source code and like written some script or something to figure it out.
- 8:29But it seems to me like it's close to like 500, 400 projects.
- 8:35And they're all categorized.
- 8:36Like you said, here's admin backends.
- 8:38Here's authentication.
- 8:40Here's caching.
- 8:41And maybe under caching, there's like 10 choices on how you can do caching and plug that into your apps.
- 8:47So if you don't know what you need or what even a good choice for caching is in Python, you're just like, hey, I know I need caching, but that's as much as I know, you know, drop into awesome-python.com.
- 8:58And then you can go to the caching section and, you know, pick.
- 9:03Yeah, so I think for me as a fairly senior developer, what I think these lists are most useful for is if you've already been programming in one language, say you're a Java developer.
- 9:14Like I actually came from Java and then started in Python several years ago.
- 9:17And I didn't know what the equivalent to a web application server was.
- 9:22Well, that's a WSGI server.
- 9:23And with the awesome lists, I can see at a glance, like what should I be using for caching in Python?
- 9:28So if you were already familiar with all the conceptual ideas, like a task queue, like a web framework, then you can see the implementations in a different programming language.
- 9:39So you could go to the awesome Ruby repository and see the equivalents to the Python projects that are out there in case you just happen to want to learn Ruby or you're, you know, on the job and you have to suddenly write some Ruby code.
- 9:52Yeah, I think exactly.
- 9:53If you know I need caching and you want to say these are the five things I should probably research and you can compare them pretty quickly because, you know, you'll open up the GitHub page.
- 10:02You can tell, does this have five stars or 5,000 stars, right?
- 10:05How active is it?
- 10:06What are the deployments?
- 10:08Things like that.
- 10:08It's really good for that.
- 10:10If you totally don't even know what you need to look for, you know, maybe something like full stack Python makes more sense, right?
- 10:17You want to talk about how you see those differently?
- 10:18Yeah, so there is a there's a bit of difference between an awesome list and what I'm trying to create with full stack Python, which is the awesome list is really a laundry list of all of the open source code that is out there that might be applicable to your your project.
- 10:33But again, going back to task use, for instance, if you're a junior developer or you're in a boot camp or you're just starting to program and you don't know what a task queue is, well, seeing a list of implementations really is not going to help you.
- 10:45It's not going to sell re RQ and these different implementations.
- 10:50You don't know what they're going to do for you.
- 10:52So that's why I have like a task queue page that explains the conceptual idea and then explains the differences between the implementations.
- 10:59So I think what's missing from an awesome list is the context.
- 11:03But if you're a more senior developer, you've already been working in one ecosystem and you're trying to switch over to another one or you're just trying to see what other implementations are out there compared to the implementations you've been using that.
- 11:15I mean, it's great for that.
- 11:16Doesn't it just kind of gets past the verbiage and gives you all the implementations that you need?
- 11:21Yeah, I find having been a programmer for a long time.
- 11:23I find these lists really, really helpful for discovering things that, you know, maybe they're not at the top of Google, but actually turn out to be just the thing that I need.
- 11:32So but yeah, it's when you're totally new, maybe maybe it's not the best place to start.
- 11:37But still, even if you're new, go check out the project.
- 11:39It's you'll find it interesting, I think.
- 11:42So you and I chose some things out of this awesome Python list that we thought would be fun to highlight as part of the show.
- 11:50Yeah, my criteria for this.
- 11:52So we picked 10 libraries at random that are listed in the awesome Python.
- 11:55And by the way, Talk Python To Me is not one of the 10 we chose, but it is listed on an awesome Python as it should be.
- 12:02Thank you.
- 12:03And so is Full Stack Python.
- 12:05And so the criteria that we used were projects that were not completely obvious to the community, but that are almost everywhere, or that have like a ton of potential to really impact the Python ecosystem.
- 12:19So for example, we didn't choose Django because Django is talked about widely and used widely in the Python ecosystem.
- 12:26But we did pick a CMS that is powered by Django under the cover.
- 12:31So the CMS runs on top of Django, and we'll get to that in a few minutes.
- 12:35So that's sort of the criteria we used to pick 10 projects at random that we wanted to highlight because they're important to the Python ecosystem, or they have potential to become really important in the future.
- 12:45I think that's really interesting and really great because it's while we could do a show where we just go and say, let's just go find the 10 most downloaded packages on PyPI.
- 12:55That would actually be pretty interesting.
- 12:57But I think here we're going to hopefully expose people to things that are like, oh, I didn't even know that existed.
- 13:02That's going to be awesome.
- 13:03I'm going to go check it out.
- 13:04So let's see if we can deliver on that, huh?
- 13:06Exactly.
- 13:07All right.
- 13:08You want to dive in?
- 13:09Yeah, let's get started.
- 13:09So the first thing that I'm really happy to see that's on our list is something that helps us move from legacy Python to Python, or as some people say, from Python 2 to Python 3.
- 13:19Sure.
- 13:20Yeah.
- 13:21So this is the library 6.
- 13:24So 6 is a Python 2 to 3 compatibility library.
- 13:28And this is one that you're not necessarily going to build an entire application around, but it is incredibly useful for developers who have built a Python 2 library.
- 13:39And now they want to support both Python 2 and 3.
- 13:42So you can think about it as a bridge.
- 13:446 is a bridge from Python 2 to Python 3 and allows you to support both ecosystems at once.
- 13:51So it's really providing utility functions to smooth over some of the differences between the Python versions.
- 13:57And the goal is really to have that Python code that you're writing for your own library be compatible with both Python 2 and Python 3.
- 14:07Right.
- 14:07So where there's some kind of difference versus, you know, like raw input versus input or bytes versus stir, things like that.
- 14:15You can use this library and it will know which version of Python it's running on and it will, you know, switch between them.
- 14:22Right.
- 14:22Yep.
- 14:23Exactly.
- 14:23So if you're using Python 2.6 or above Python 2.6, 2.7, and then you want to support Python 3, for example, the syntax compatibility.
- 14:33So we've got print functions that have changed.
- 14:35We have other tech, the way that Unicode is handled.
- 14:40All those things need to be either smoothed over in your own code or you can just use 6 as a dependency.
- 14:46And it's only one Python file, which is awesome.
- 14:49So you can just copy this into your project.
- 14:51And then this helps you to smooth over those differences in that would otherwise come up because you're trying to support both 2 and 3.
- 15:00Right.
- 15:00And hopefully you can do this without having if Python 3, this code, if Python 2, that code.
- 15:07But right, just leveraging this library and presumably somewhere deep inside of it, it's doing those types of things for you.
- 15:13So you mentioned some of the areas that you can help with.
- 15:16What else does it cover?
- 15:18Where am I to use this?
- 15:19For example, if you have unit test assertions in your code or you're renaming modules and attributes.
- 15:25So there's actually a huge laundry list of areas that you may not be that intuitive if you're a Python developer, that if you're building a library for others to use, sort of it just crops up as you're looking to port from 2 to 3.
- 15:40And that's really where this would come in.
- 15:42Yeah.
- 15:42Okay, cool.
- 15:43Yeah, I remember there's like a module, something like copy underscore reg in Python 2 and it's copy reg without the underscore in Python 3 or vice versa.
- 15:51You know, things like that, right?
- 15:52Like, why are these so just barely different?
- 15:55This is crazy.
- 15:55Anyway.
- 15:57Okay.
- 15:57So, yeah.
- 15:58So if you've got some Python 2 code that you want to bring forward or maybe you can even use it to help somewhat bring a Python 3 libraries to support Python 2 if you're writing some kind of package, right?
- 16:09Yeah.
- 16:10Yeah.
- 16:10Yeah.
- 16:11And the reason why I picked this one to highlight was it's really everywhere.
- 16:14Many of the really popular, most commonly used Python libraries rely on 6 library in order to smooth over the differences in Python 2 and 3.
- 16:26And so it's sort of the guy behind the scenes who's helping everybody out, but no one really talks about as like the main person.
- 16:33It's the guy behind the curtain.
- 16:34Yeah.
- 16:34Okay.
- 16:34Awesome.
- 16:35Yeah.
- 16:35So check it out, 6.
- 16:36And it's named 6 because 2 times 3.
- 16:38Yeah.
- 16:39There you go.
- 16:39Nice.
- 16:40Let me take just a moment and tell you about an offer from one of our sponsors, Continuum Analytics.
- 16:45They're hosting AnacondaCon 2017.
- 16:48It's the first conference for open data science leaders around the world.
- 16:52This is the definitive gathering place for the Anaconda crew.
- 16:55Whether you're a new or a long-standing member of the data science community focused on business or technology, AnacondaCon will help you conquer your biggest data science challenges.
- 17:05Over 20 industry experts will discuss the open data science movement and share their best practices for leveraging Anaconda.
- 17:12You'll hear how they're discovering cures for rare genetic diseases, performing city planning, and refining tax policy analysis with Python.
- 17:20Team Anaconda wants to help empower your whole team, so they're offering a two-for-one ticket price to AnacondaCon 17 from now through January 31, 2017.
- 17:32Register today at talkpython.fm/acon to take advantage of this excellent offer.
- 17:38That's talkpython.fm/acon.
- 17:41Thank Continuum for supporting Talk Python.
- 17:44They help make the show possible.
- 17:45Now back to the interview with Matt.
- 17:47There are a lot of data scientists and actual straight scientists that listen to this show, and they might be happy to hear about your number two item here.
- 17:58Yeah.
- 17:59So I picked Boca, or you can also pronounce it Bo-kay.
- 18:02In the official FAQ for the project, it says you can pronounce it either way.
- 18:06I'm not sure if there's a more right version, but we'll call it Boca for now.
- 18:11And so what this allows you to do is write Python code and create data visualizations.
- 18:16And so I have tried to create data visualizations in many different JavaScript libraries before.
- 18:23The most popular right now, it seems like, is D3JS.
- 18:27And I love those libraries.
- 18:28But when I'm in Python land, sometimes I just, I can't think about switching over into the JavaScript world.
- 18:36And so a Boca allows you to just write the Python code, and then it will build the visualizations for you.
- 18:42Now, it's not relying on D3JS, but it draws visualizations that are very similar to that.
- 18:48And so you're not just getting like a cut rate data visualization.
- 18:52This is actually building something that is like, you can include it in your web application, and it is nice and professional.
- 18:59Yeah, this is really, really a cool library.
- 19:01And if you're already doing some kind of scientific computation or numerical computation in Python,
- 19:09you don't want to like drop out and just, you know, drop a bunch of data into a JavaScript file or to an HTML file
- 19:16and then write a bunch of JavaScript D3 to actually turn that back into something visual.
- 19:20You can basically do all the visualizations in Python and then just plug it in.
- 19:24And what's really cool is it's not just like generating like a picture, say, with Matplotlib.
- 19:29Like, so with Matplotlib, you can say, here, I'd like to have this picture, boom, save it to an image,
- 19:33then put the image on a page.
- 19:34But these things, these bokeh graphs and visualizations that go up there, they're totally interactive, right?
- 19:41Yeah, exactly.
- 19:42So it's not just, as you said, it's not just an image that is generated.
- 19:46It is the actual visualization that can be, that is fully interactive as well.
- 19:50And so you can control how much interactivity and what data and what axes you want to, you want the user to be able to explore.
- 19:57But you can do that all in, in Python itself.
- 19:59And I actually, I found out about this project a couple of years ago at PyCon 2015.
- 20:04Sarah Bird gave an awesome talk where, and you can actually go, go find it on YouTube for, if you search Sarah Bird PyCon 2015.
- 20:12And she drew an entire map with just bokeh.
- 20:15And I was like, whoa, you just, you just wrote, she live coded some Python code.
- 20:20And I was like, whoa, you've got a map on there with all your data.
- 20:22That would have taken me a week in D3JS.
- 20:25I was just so impressed with it.
- 20:27Yeah, it's really, really cool.
- 20:28Okay.
- 20:29So, you know, another thing that's really popular in Python these days, it seems, is static site generators, right?
- 20:38Yep.
- 20:38That well, and, and, and Pelican, which is a static site generator, which is not the project we pick, but Pelican, I use every single day to create full stack Python.
- 20:46So I picked a separate one, and this one is either pronounced make docs or mk docs.
- 20:53I actually just gave a talk on static site generators at San Francisco Python, and I tweeted at Tom Christie, who's the creator of not only Django rest framework, but this project as well, make docs.
- 21:05And I said, hey, how do I, I'm going to check myself before I wreck myself.
- 21:09How do I pronounce this project?
- 21:10And he said, well, you know, I say mk docs with a Scottish accent.
- 21:15And I was like, mk docs.
- 21:17Okay.
- 21:18I don't, you know, I'm not, I don't really have a Scottish accent.
- 21:22So, okay, sure.
- 21:24And then he said, but, you know, I don't really know.
- 21:25Let me, let me talk to one of their core committers.
- 21:27And he said, mk docs, that's how he pronounced it, but they don't really have a particular opinion about it.
- 21:32So, you know, whatever's easiest for you.
- 21:35If you've got a great Scottish accent, I say go for that route, but, but I certainly do not.
- 21:40So what make docs is, is a static site generator for really for project documentation.
- 21:46Let me ask you a quick question or clarification just for everyone listening, because many people would know, but not everyone.
- 21:52What's a static site?
- 21:53Yeah.
- 21:53So a static site is kind of taking you back to the origins of the web.
- 21:57It's just HTML flat files, HTML, and it has CSS and usually JavaScript, but there's no database backend.
- 22:05There's no dynamic content on the backend.
- 22:08So it's really just files that can be served up by a web server.
- 22:11And the reason why it's called a generator.
- 22:13So that, that would be the static site.
- 22:15The generator part of it is you write your content either in markdown or restructured text or some sort of markup format.
- 22:23And then you have templates.
- 22:25So for Pelican, for example, Pelican has Jinja templates that you can use.
- 22:30So Jinja is a template engine and make docs has its own, actually make docs makes it even easier.
- 22:37You don't even have to write the templates.
- 22:38If you don't want to, you just write the content.
- 22:40And what that does is it combines the content that you've written with some sort of template engine and then produces HTML files or some sort of output.
- 22:48It could be XML, whatever you want, but most commonly you're producing a static site, which would be an HTML.
- 22:53Okay.
- 22:53Yeah, that's really cool.
- 22:54And there's a lot of benefits to that.
- 22:56It's super easy to scale a site like that, right?
- 23:00You don't have to worry about the databases and concurrence execution.
- 23:04You're just serving static files.
- 23:05And it's also easy to put that on to like a CDN sort of thing, like Fastly or something, right?
- 23:10Yeah.
- 23:11So the way that I deploy a full stack Python is it's just, you know, it's just a bunch of HTML files that get generated with some CSS and JavaScript.
- 23:18And then I just have a content delivery network.
- 23:22So I have the files hosted.
- 23:24Sometimes I use GitHub pages.
- 23:26I've also switched it over to Amazon S3.
- 23:28In front of that is a CDN, and I use Cloudflare.
- 23:32And what that does is it just serves up all those files.
- 23:35There's no database calls or anything like that.
- 23:37It's just really fast, immediately serving up those files to whatever web browser is requesting them.
- 23:43Nice.
- 23:43And it serves them up.
- 23:44It moves them around the globe and serves them up from somewhere by place, which is pretty awesome.
- 23:49So people on the other side of the earth don't suffer because you decided to put your server in New York or whatever.
- 23:55Globally distributed, exactly.
- 23:56Yeah, yeah.
- 23:57That's awesome.
- 23:57Okay.
- 23:58So what's cool about MkDocs?
- 24:00Why is it a great one?
- 24:02How does it work?
- 24:03I think the thing about static sites is they've traditionally been made around blogs.
- 24:08But project documentation is one of the best examples that I think, if you want to use the word, use cases that I've seen.
- 24:16So the idea behind MkDocs is it's already being used to power a really popular project, a Python project, which is Django REST framework.
- 24:24And that allows MkDocs to have a real project using it.
- 24:30And then they open sourced it so that anybody can use it.
- 24:32And the idea is generate beautiful project documentation.
- 24:36Now, for many developers, documentation is sort of not the first thing on their mind.
- 24:40But in the Python community, I think we have really great documentation for most of our projects.
- 24:45It's kind of something that is a badge of pride.
- 24:47And so that's where I think using MkDocs and just writing your content, you don't have to worry about the styling if you don't want to.
- 24:55It's just going to create a beautiful set of project documentation for you.
- 24:59Yeah, that's excellent.
- 25:00And I think, you know, you could even check in the docs into, like, your GitHub repository.
- 25:04And if somebody clones your repo, they can just go, like, right there and just have offline docs as static files.
- 25:09That's really cool.
- 25:10Very nice.
- 25:11Okay, MkDocs.
- 25:12You know, speaking of Markdown, I think having Markdown wherever you accept user input is really nice in your web apps.
- 25:20You know, Stack Overflow definitely popularized this.
- 25:23Markdown comes from John Grubner a long ago, I don't know, like 2008 or something like this.
- 25:28It's not a brand new idea.
- 25:29But certainly using Markdown to accept input from users is much safer than accepting pure, you know, rich formatted HTML, right?
- 25:39Yeah.
- 25:39So the thing about Markdown is it's a certain format.
- 25:43And there's, well, for better or worse, without getting too into the weeds, there are different variations on that format.
- 25:49But there is sort of a standard Markdown format.
- 25:52And there's a Python project that parses that out.
- 25:54So then you can work with it in your Python code.
- 25:57And so the Python Markdown project is kind of everywhere.
- 26:01Whenever you're talking about a content management system or a static site generator like MkDocs or Pelican, which I use.
- 26:07Really, when you do pip install Markdown, what happens is that a Markdown parser is installed and allows the whatever libraries you're depending on to then parse out that Markdown and work with it in their own code.
- 26:20Yeah, that's really cool.
- 26:21So, for example, on like Python Bytes, the new podcast that I started, so Python Bytes.fm, on there, there's a back-end CMS type thing that I created for it.
- 26:31And there's a place we put the show notes.
- 26:33And on Talk Python, that was just an HTML fragment.
- 26:36But every now and then I would mess up that HTML fragment.
- 26:39And it would screw up the site.
- 26:41Or, you know, I just have to like format HTML in the browser and write it by hand.
- 26:46And it's not so fun.
- 26:47So when I did Python Bytes, I'm like, that's it.
- 26:49This part is going to be input as Markdown, output as, you know, HTML.
- 26:54And so I use something similar to Python Markdown for that, which is really cool.
- 26:59I actually use this thing called Python-Markdown2.
- 27:02I don't think they're related to these two things.
- 27:04It's nice because it has extensions.
- 27:07You can add on like variations.
- 27:09Like I want to add like GitHub table support type things and stuff like that.
- 27:13Yeah.
- 27:14Again, this is just another one of those libraries that's everywhere.
- 27:16And whether they're using Python Markdown, Python Markdown2, or there's many other parses that are out there,
- 27:21they're kind of the guy, the gal behind the scenes that is doing a lot of the heavy lifting
- 27:26and allows other projects to take advantage of that work that's done.
- 27:29Nice.
- 27:30So while we're on the topic of, hey, I want to put some stuff into some kind of back end on my site and have it show up,
- 27:37one thing you do is write a site from scratch and fill in a few pieces like show notes and episode names,
- 27:43or you could grab a whole CMS, right?
- 27:45Yeah.
- 27:46So Django can often be used as a CMS, which is a content management system.
- 27:51I would say like WordPress is probably the most popular of these, right?
- 27:55If you look at like overall deployments or maybe Squarespace, but plug it into Django is really sweet.
- 28:00So you found a really nice one.
- 28:02What happens is if you start building a site on Django, and particularly if people that are not developers are using it,
- 28:08you often find that you run into limitations.
- 28:11And that's not, I wouldn't say that this is necessarily something that Django has to fix.
- 28:15This is where a content management system comes in.
- 28:17So let me give you a specific example.
- 28:20If you have people that are not developers that are punching their content into this content management system, like Django and the Django admin panel, for example,
- 28:29and then you want to roll back, you say, oh, shoot, I deleted, I deleted a page.
- 28:34You know, let's roll back.
- 28:36Well, Django doesn't have that type of capability.
- 28:40And that's where content management systems are on top of that.
- 28:44So the one that we picked here is Wagtail.
- 28:47And Wagtail is actually a newer content management system than some of the other ones like Mezzanine or Django CMS.
- 28:54But Wagtail is, I've been really impressed with Wagtail.
- 28:58I've used it a bit, both as a non-developer user to punch content in and a little bit on the back end as well.
- 29:04And it's been really powerful so far.
- 29:06Yeah, that's really great.
- 29:07And they've got a great example.
- 29:09They have like a demo video for it as well for Wagtail.
- 29:12And it was used at the Royal College of Art.
- 29:14It's in the UK somewhere.
- 29:16And it basically powers that website with thousands of web pages and many, many users and all sorts of really cool workflows.
- 29:25It's actually quite visual and pretty.
- 29:27One of the things that comes to mind when I think of CMSs is they seem synonymous with slow and clunky to me.
- 29:36There's a tradeoff with CMSs, which is that they're building all this extra functionality on top of an existing web framework.
- 29:42And they need to be used by people that are not developers.
- 29:45So you don't want to get into a situation where the CMS is preventing you from doing things with your content that you want.
- 29:53So there's a tradeoff.
- 29:54Sometimes CMSs are too heavy-handed.
- 29:56Sometimes they're just really confusing to use.
- 29:59But I found that Wagtail, which we're actually using at Twilio, is actually one of our favorite CMSs.
- 30:05And we did a large evaluation with a lot of different programming languages.
- 30:08And this is the one that came on top for us.
- 30:10It's not necessarily the best for everybody, but it's the one that works really well for us.
- 30:14I can say the Royal College of Art website is quite zippy, even though I'm like nine hours time zone away from it.
- 30:22So mostly any sort of slowness would be ping time.
- 30:25So I feel like this is a CMS that doesn't have that feeling, right?
- 30:29It's really nice.
- 30:30And it's awesome because you're using it at Twilio, too.
- 30:32Well, the thing about Wagtail is that they've done a great job with making it really polished.
- 30:36And I think that's one of the reasons why we were so impressed with it.
- 30:39And so this is what's powering the Twilio docs.
- 30:43We actually look at our documentation, the documentation for the Twilio APIs as a platform itself, because many different teams around Twilio are using the docs.
- 30:52They're writing docs.
- 30:53They're updating the docs when things need to be fixed.
- 30:56And so we needed some sort of powerful platform that allowed many different teams to interact with it.
- 31:01So after our evaluation, we've used Wagtail as our CMS for the Twilio docs.
- 31:05Yeah, it's really cool.
- 31:06I'm looking forward to finding a place to use it because it looks like it's fun to use.
- 31:10The back end looks real friendly and modern, not like some crummy sort of app.
- 31:14It's nice.
- 31:14It's a really nice and polished project, really.
- 31:16I think a little bit newer and up and coming as a CMS.
- 31:19Awesome.
- 31:20And it's cool that it was on the awesome list.
- 31:22Okay, so another thing that I think is really interesting is design patterns.
- 31:26I've always loved design patterns.
- 31:27You know, I've read, I remember reading the Gang of Four book about C++ and small talk design patterns like way long ago.
- 31:35And then reading it again so I could actually understand it like a few years later.
- 31:40But one of the things that I think is interesting is if you take those patterns and you apply them to Python, sometimes they look very different and sometimes they look very similar.
- 31:49Like, for example, the decorator pattern.
- 31:52You know, that has one form of C++, but it's almost a language feature in Python.
- 31:57Yeah.
- 31:58That's where the, on the awesome list is the Python patterns repository.
- 32:03So there's a link to Python patterns.
- 32:05And this is the implementations of various patterns, whether it's like behavioral patterns or structural patterns, different conceptual ideas.
- 32:14And they're implemented in Python code.
- 32:15And they're implemented in Python code, which allows someone, for example, when I was going from Java and I had constantly use the singleton pattern or the factory pattern to then see what that looks like in Python.
- 32:27I think it's really great for people who are coming from another language.
- 32:31They already have these ideas in their mind, right?
- 32:33They can drop in really quick and you just pull up like, you know, 20 lines of code and you're like, oh, this is how you do it in Python.
- 32:39I never would have thought to do it this way.
- 32:40This is so much better than what I was trying to do a minute ago.
- 32:43And they have some interesting ones in here.
- 32:46They have the standard gang of four ones like state, strategy, iterator, visitor, and so on.
- 32:50But then they also have some things like the Borg design pattern and the Blackboard design pattern.
- 32:57So I actually learned a few things.
- 32:59And I don't really know yet where I'd use the Borg, but I'm pretty sure I like the name of it.
- 33:04This repository is great for learning.
- 33:06I would caution anyone that is coming from another programming language to suddenly drop different patterns into their code when those patterns may not be idiomatic to the way that you would write Python code.
- 33:19Because Python code has its own way of a different way that you would write Python code, for example, making everything explicit rather than implicit like you would in the Ruby ecosystem.
- 33:30So I think these are awesome for just learning about how different patterns could be implemented.
- 33:35But I would caution people to make sure that this is actually how you would write Python code as opposed to just dropping them into your code without thinking about them.
- 33:44Yeah, I kind of have like an Einstein type of philosophy about design patterns.
- 33:50Like design patterns are awesome.
- 33:51And you should use them in your code.
- 33:53But just enough, right?
- 33:56Things should be as simple as they can, but not simpler, right?
- 33:58Like you should have patterns that solve problems.
- 34:01But I feel like people, when they learn design patterns at first, they're like, oh, I'm going to put patterns everywhere.
- 34:05I can't wait to like turn everything into a state pattern.
- 34:07And then the visitors go in here like, oh, no.
- 34:09Oh, no, that's going to be unmaintainable, right?
- 34:11And so patterns, I don't know, to me, they're like salt, right?
- 34:15A little bit here and there.
- 34:15Yep.
- 34:16And if you find yourself with a specific problem in your code, knowing what those patterns are and how they can be implemented in your programming language can be really powerful.
- 34:25Yeah, absolutely.
- 34:25You know, another thing that I'd like to lean on to some kind of framework for is authentication, especially things like OAuth.
- 34:34Those are super, super complicated to figure out yourself.
- 34:37But luckily on our list here, we have some OAuth stuff, right?
- 34:40Yeah.
- 34:40So the project we picked here is Authomatic.
- 34:43And the tagline here is simple but powerful framework authentication and authorization client.
- 34:48I think there's a spectrum with authentication libraries.
- 34:52On one hand, you've got sort of these maybe heavy handed.
- 34:56They tell you exactly how to implement authentication models.
- 35:00So for example, OAuth.
- 35:01Let's say you want to have a Twitter-based login or a GitHub-based login.
- 35:05Some of the authentication authorization frameworks will tell you, hey, in these three steps, add this to your code, and then you'll have OAuth login.
- 35:16But on the other hand, these libraries have to work with various frameworks.
- 35:23So the way that you would implement something in Django versus Flask versus Pyramid versus Turbogears can be different.
- 35:29And that's where I think taking a look at all the different libraries can be helpful.
- 35:35So Authomatic seemed like a really great one because it had examples with different frameworks, which I really liked.
- 35:41Yeah.
- 35:42You can definitely go in there and it's like these are the few things you drop in for Django.
- 35:45Here's the few things you do for Flask.
- 35:47Here's what you do for Pyramid.
- 35:48Even one for Google App Engine.
- 35:49And I really found that some of the other ones that seemed comprehensive had almost no examples.
- 35:55And you're like, but there's all these moving parts.
- 35:57How do I put this together in this particular web framework?
- 36:01Like, why is there no example here?
- 36:02Yeah, I looked at a number of them.
- 36:04And maybe we should put a little word of caution in that this hasn't been updated for a little while.
- 36:08But that's kind of true with some of the other options out there as well.
- 36:11So they kind of seem more steady state or they're in some sort of flux or something.
- 36:16So look through the whole list.
- 36:18Here's just one example to sort of point out.
- 36:19Like, there's a bunch of great things about OAuth and social auth and things like that.
- 36:23Yep.
- 36:23And this makes it much easier for you to implement them rather than having to rewrite everything in your own code.
- 36:29Yeah, for sure.
- 36:30This portion of Talk Python is brought to you by Hired.
- 36:44Hired is the platform for top Python developer jobs.
- 36:47Create your profile and instantly get access to 3,500 companies who will work to compete with you.
- 36:51Take it from one of Hired's users who recently got a job and said,
- 36:54I had my first offer on Thursday after going live on Monday and I ended up getting eight offers in total.
- 37:00I've worked with recruiters in the past, but they've always been pretty hit and miss.
- 37:03I tried LinkedIn, but I found Hired to be the best.
- 37:06I really like knowing the salary up front.
- 37:08Privacy was also a huge seller for me.
- 37:10Sounds awesome, doesn't it?
- 37:12Well, wait until you hear about the sign-in bonus.
- 37:14Everyone who accepts a job from Hired gets $1,000 signing bonus.
- 37:17And as Talk Python listeners, it gets way sweeter.
- 37:20Use the link Hired.com slash Talk Python To Me and Hired will double the signing bonus to $2,000.
- 37:25Opportunity's knocking.
- 37:27Visit Hired.com slash Talk Python To Me and answer the door.
- 37:38You talked about static sites earlier.
- 37:40We mentioned the deployment and the performance story and all that, and that's great.
- 37:44But sometimes you just need a data-driven web app, right?
- 37:49Like, for example, it's super hard to go to, like, a static site and add voting or comments or things like this, right?
- 37:56So maybe the thing that you're building, you really do need to have some kind of data-driven thing here.
- 38:02But if it's not fast enough, what are you going to do?
- 38:05Well, you've got to have caching.
- 38:06So, you know, caching is one of these really hard problems in computer science.
- 38:10So taking advantage of a library that allows you to implement caching can be really helpful.
- 38:15And I know this one you picked, Beaker.
- 38:18Why don't you tell us a little bit about Beaker?
- 38:20Yeah, yeah.
- 38:21Beaker looks really awesome.
- 38:22So Beaker is a way in which you can cache binary representations, pickled versions of Python object graphs.
- 38:31So you just take the thing you want to save and you just stash it in Beaker.
- 38:35And it can go into all different places, right?
- 38:38It can go into databases.
- 38:41It can go into memcached.
- 38:42It can go into just be stuck in memory, you know, until your process reboots.
- 38:46You can go straight to the file.
- 38:47And it also has a SQLAlchemy plug-in.
- 38:49So you point SQLAlchemy at the database that you care about, right?
- 38:54SQLAlchemy supports all sorts of different databases.
- 38:56And then it just talks to SQLAlchemy.
- 38:58So pretty much any type of database you want to use as a back-end for your cache, if you don't want to put it in memory, you can do it here.
- 39:06So there's all sorts of cool stuff.
- 39:08Like you can take it and plug it in as middleware in WSGI servers.
- 39:13So it automatically has little plug-ins for pylons, pyramid, turbo gears, things like this.
- 39:18Yeah.
- 39:20I think this could be really helpful for people who need that one or two slow pages to go much faster.
- 39:26Yeah.
- 39:27And if you can't build your site as a static site, certainly you're probably going to investigate caching at some point in order to improve the performance.
- 39:33So Beaker seems like a really capable one to use.
- 39:37Yeah.
- 39:37Yeah.
- 39:37It definitely does.
- 39:38So some of the features they list are like it's fast, obviously.
- 39:42That's a requirement for a cache, right?
- 39:44But it has multiple reader, reader, writer, block performance.
- 39:48So it avoids duplicate creation but allows for high parallelism for reading.
- 39:53All the back-ends, like I said, you can extend it and write your own back-end if you want to plug into TinyDB or, you know, whatever.
- 40:00All that kind of stuff is really cool.
- 40:02Yeah.
- 40:02Sounds like a good one to check out.
- 40:04So another one that you picked, which I think is really smart because people always say, hey, don't roll your own crypto.
- 40:11And you don't want to write your own password storage hashing library unless you're just trying to learn how it's done.
- 40:18But you don't necessarily want to write something for production.
- 40:20But you picked Passlib, which you've used in the past.
- 40:23Why don't you tell us about Passlib?
- 40:25Yeah, I use Passlib all over the place.
- 40:26I use it on the training website, for example, for accounts there.
- 40:29And I don't want people to end up on, you know, some sort of news story.
- 40:34Oh, a development server with production data was compromised.
- 40:39And here's, you know, a quarter million accounts.
- 40:42And too bad they used poor, like an old outdated hashing algorithm or something like that.
- 40:48And it turns out that everybody's going to have to reset all their passwords on the internet everywhere.
- 40:52So Passlib, I hope, will help people avoid that fate.
- 40:58The idea with Passlib is it takes all the best practices around password storage and verification and validation and puts them into two functions, encrypt and verify.
- 41:11So if you can't remember to call encrypt and verify, you know, you probably have no business writing authentication code, right?
- 41:18But the idea is they provide a whole bunch of different caching algorithms or, sorry, hashing algorithms.
- 41:25And they only support ones that have no known vulnerabilities, are public, have public reference implementations, can be made to be computationally expensive, you know, have a lot of scrutiny and things like that.
- 41:40So Argon2, Bcrypt, SHA-512crypt, things like that.
- 41:45So you're already starting from, thank goodness they didn't use MD5 for the hashing, right?
- 41:50Which is one of the problems.
- 41:53The other problem is with the advent of graphics, the GPU processing, people can use the GPUs to do advent of computational GPU processing, not for graphics.
- 42:04They can use the power of those graphics cards to just try so many variations on these hashes because the graphics cards can do them really quickly.
- 42:11And so you want to make the stored passwords computationally difficult to guess at.
- 42:17So instead of just hashing with a strong algorithm, Passlib will take it and it'll hash it like 200,000 times.
- 42:24So it'll take the input, stuff it back around, hash that thing, and then just, you know, fold it over 200,000 times.
- 42:30And it also adds random salt to each thing it stores.
- 42:34And, of course, folds that all through.
- 42:36So it's just super hard to guess what the possibility is.
- 42:40But it's easy for you.
- 42:42You get back some kind of password hash.
- 42:43You call verify with the plain text password and either it matches or it doesn't.
- 42:46Yeah.
- 42:47Well, it seems like it provides a really good tradeoff between, you know, developers want to spend a least amount of time working on security.
- 42:54And so they have more time to work on features.
- 42:56And it seems like this is making a good tradeoff where it's, hey, this is really simple.
- 43:01Here's what you do.
- 43:02Call these two functions and we'll take care of this bit for you.
- 43:05So that seems like, as far as a library, that's probably some of the best you can ask for.
- 43:09Yeah, it's really cool.
- 43:10And you can actually evolve over time.
- 43:12So, for example, part of the thing that gets stored in the database has the number of rounds or the number of folding iterations you've done.
- 43:21And so as computers get faster, you can actually crank that number up over time without breaking the old passwords.
- 43:28And then when the user comes back, you just regenerate with a newer, more computationally expensive variant.
- 43:33Nice.
- 43:34Yep.
- 43:34Also supports two-factor authentication, but I know nothing about this.
- 43:39You could use Authy for that or implement with SMS via Twilio.
- 43:43That's my little Twilio commercial for this one episode.
- 43:46Oh, awesome.
- 43:47Very cool.
- 43:48Okay.
- 43:49So another thing that's cool, well, something that's just awesome about Python, the whole ecosystem, is really pip and the deployment and packaging story, right?
- 43:58That I can just go grab all these awesome packages and, you know, 95,000 others.
- 44:03Yeah.
- 44:04So the fact that we have PyPI as the central repository for all of our dependencies and it's really easy to upload your own libraries to the central repository.
- 44:14As a Python developer, it makes things so much easier for me.
- 44:17When I was a Java developer and I used to use Maven, Maven was incredibly complicated.
- 44:23You have this huge, you have these massive XML files.
- 44:27It worked, but it was just, it was really complicated.
- 44:31And then I came over to Python and you've got a requirements.txt file.
- 44:35And requirements.txt, when I read it, I thought, this is so beautiful.
- 44:40I literally thought it was beautiful.
- 44:42There, you have the name of the library that you depend upon.
- 44:45You have, and then you optionally have the version number that you want to use for that library.
- 44:51Now I say optionally, but really it should be required.
- 44:54Before I joined Twilio, I did a lot of Python consulting and it was my nightmare when I would get a project and either would not have a requirements.txt file.
- 45:04You know, this is something that had been running in production for a few years and they said, yeah, we threw all this stuff together.
- 45:09You know, we use Django.
- 45:10And I thought, okay, Django, that's great.
- 45:12Which version?
- 45:13And they're like, well, we don't, we don't know.
- 45:15And so, so we've got, we luckily have now some tools that help out with figuring out what those dependencies are.
- 45:24So pip-tools is a set of tools, not only to keep your, your pinned dependencies fresh, but also to kind of infer what some of the requirements are that you may, you may have.
- 45:35What's great about this is if you don't necessarily know what the exact version numbers are of all of the, of all of your dependencies, you can use the, some of the pip-tools in order to infer some of those things.
- 45:47So if you, for example, like Django, which version of Django is at 1.4 is a 1.10.
- 45:51This will help you to figure that out.
- 45:53Yeah, absolutely.
- 45:54Yeah.
- 45:54And pip-tools will actually generate the full dependency graph for you.
- 46:00So one thing you might say in your requirements file is like, I require flask and maybe even say I require flask 0.10.1 or whatever it happens to be.
- 46:10Right.
- 46:10But flask itself requires it's dangerous and Jinja to and markup safe and these types of things.
- 46:16So you can go to pip-tools and you say, run pip compile, and it will actually generate a requirements.txt.
- 46:22That has the sort of closure of all of your dependencies, the dependencies and their dependencies and so on.
- 46:28So you can see and pin every single dependence you have.
- 46:31And it also adds a little comment like these dependencies were added because of flask.
- 46:36This one was added because of Jinja, which was added because of flask, things like that.
- 46:41I think that was really cool.
- 46:42Yeah.
- 46:42Yeah, definitely.
- 46:43And just incredibly handy.
- 46:44If you get dropped into a project and you have no idea what the exact version numbers and requirements and dependencies of dependencies are.
- 46:53Yeah, absolutely.
- 46:53And the thing that I use actually in production for this kind of stuff, it's not the same, but I use pyup.io.
- 47:00I met those guys through the show a while ago and I'm like, wow, this is such a cool project.
- 47:04Pyup.io.
- 47:05And you basically, it's like an online system.
- 47:08You point it at your GitHub repo, public or private, and it will watch this file.
- 47:12And if there's changes or releases or especially security releases, it will like send you a pull request saying there's a security vulnerability and it's dangerous or something.
- 47:22Here's the updated requirements.txt to fix it in your app.
- 47:25Wow.
- 47:26That is incredible.
- 47:27That's super useful.
- 47:27Yeah.
- 47:28It's the notification.
- 47:29I mean, these things are changing all the time, but it's like the push notification to you that your app now has like an important update to its dependency, which I thought was really cool.
- 47:38Awesome.
- 47:39Okay.
- 47:39Well, those were a great bunch of libraries.
- 47:42Hopefully you guys learned a lot about them.
- 47:44Matt, it was fun to explore these with you.
- 47:47I didn't know about all of them before we started talking.
- 47:50Well, I don't think anybody knows all of the Python projects that are out there.
- 47:55You wouldn't get any coding done if you knew what all the projects were.
- 47:58So that's what I think is great about the awesome lists is you get to see at a glance just different libraries that you may never have known about.
- 48:06Yeah.
- 48:07I totally agree.
- 48:08And that's why I think it's so interesting to bring it up for people is because you can drop in there and really quickly learn about all these tools that you didn't know about a few minutes ago.
- 48:17Very cool.
- 48:17All right.
- 48:18So as always, before I let you get out of here, let me ask you the two questions.
- 48:22Okay.
- 48:23So I don't even actually remember your answer from a year and a half ago.
- 48:27So when you write some Python code or any code, really, what editor do you use?
- 48:30So I use Vim.
- 48:31That hasn't changed.
- 48:33It's been Vim for a fairly long amount of time.
- 48:36Now, to be fair, I use Vim for Python code.
- 48:40Most things I do.
- 48:41I use Xcode for my Swift code and I use IntelliJ, the ultimate IntelliJ edition for Java code.
- 48:48So I've been doing some more Java coding lately.
- 48:51So I kind of bounce back and forth.
- 48:52But I almost always use the Vim mode in whatever editor that I'm in.
- 48:57Yeah.
- 48:57That's probably a requirement for you, right?
- 48:59That it has a Vim mode.
- 49:00Yes.
- 49:01Nice.
- 49:02All right.
- 49:03And we kind of touched on a bunch here, but you want to pull out a favorite PyPI package?
- 49:07Oh, man.
- 49:08I'm going to, I got to, you know, I got to give a shout out to Pelican.
- 49:13I just, as a static site generator, I think when you use a tool, and I may have said this
- 49:18on episode 26, but when you use a tool for six, seven years and you still love it, I think
- 49:23that's a really good, really good sign.
- 49:25So Pelican is that tool for me.
- 49:27And it's a great static site generator that powers full stack Python.
- 49:32Yeah, that's awesome.
- 49:33I think that is a really good sign.
- 49:34If you love it after you've lived with it for a while, then it must be something special.
- 49:39Very cool.
- 49:40So I feel kind of like as a final call to action, I noticed there were some projects not listed
- 49:46there that I thought were awesome.
- 49:48You look in various, some of the categories, you're like, oh, why is this not listed here?
- 49:53So maybe if you're out there and you own a package or you're really passionate about it
- 49:57and you don't see it there, you think it's awesome, maybe go send those guys a message
- 50:01and let them know they should add your package.
- 50:03All right.
- 50:04Well, Matt, it's been fun to talk to you.
- 50:07Thanks for sharing these packages with everyone.
- 50:09Yeah.
- 50:09Thanks, Michael.
- 50:10It's been a great time.
- 50:11Yeah.
- 50:11Great to catch up with you.
- 50:12See you later.
- 50:14This has been another episode of Talk Python To Me.
- 50:17Today's guest has been Matthew Mackay.
- 50:19And this episode has been sponsored by AnacondaCon from Continuum Analytics and by Hired.
- 50:26Thank you both for supporting the podcast.
- 50:28Whether you want to hear the keynote by Ryan Curran from Forrester Research, meet the guys
- 50:32behind Anaconda, or just mingle with high-end data scientists, you need to find your way to
- 50:36Austin, Texas for AnacondaCon this February.
- 50:39Start at talkpython.fm/acon.
- 50:42Hired wants to help you find your next big thing.
- 50:45Visit Hired.com slash Talk Python To Me to get five or more offers with salary and equity
- 50:50presented right up front and a special listener signing bonus of $2,000.
- 50:53Are you or a colleague trying to learn Python?
- 50:56Have you tried books and videos that just left you bored by covering topics point by point?
- 51:01Well, check out my online course, Python Jumpstart by Building 10 Apps at talkpython.fm/course
- 51:07to experience a more engaging way to learn Python.
- 51:10And if you're looking for something a little more advanced, try my Write Pythonic Code course
- 51:14at talkpython.fm/Pythonic.
- 51:17Be sure to subscribe to the show.
- 51:19Open your favorite podcatcher and search for Python.
- 51:22We should be right at the top.
- 51:23You can also find the iTunes feed at /itunes, Google Play feed at /play, and
- 51:29direct RSS feed at /rss on talkpython.fm.
- 51:32Our theme music is Developers, Developers, Developers by Corey Smith, who goes by Smix.
- 51:37Corey just recently started selling his tracks on iTunes, so I recommend you check it out at
- 51:42Talk Python.fm slash music.
- 51:44You can browse his tracks he has for sale on iTunes and listen to the full-length version
- 51:48of the theme song.
- 51:50This is your host, Michael Kennedy.
- 51:51Thanks so much for listening.
- 51:53I really appreciate it.
- 51:54Smix, let's get out of here.
- 51:56Smix, let's get out of here.
- 51:56Outro Music.
- 52:18Thank you.