Building Data-Driven Web Apps with Flask and SQLAlchemy Transcripts
Chapter: Welcome to the course
Lecture: What can you build with Python?

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Let's take just a moment and talk about
0:01 what you can build with Python.
0:04 Maybe you're having a debate with your engineering team
0:07 about whether you should choose Python or ASP.NET or
0:10 Java or Go or whatever, and I think it's really
0:14 important to have comparisons.
0:16 You can point out other amazing web apps out there
0:19 that are probably doing way more traffic
0:22 way more better performing and so on
0:24 than what you're going to need that are also built
0:27 in Python, and that gives you really great talking
0:29 point for discussing what framework you should use
0:32 and whether or not you should use Python.
0:34 Of course, I think you should. It's amazing.
0:37 But, let's talk about some things built with Python.
0:40 The Onion. Maybe you're heard of The Onion.
0:42 This is like a fake news comedy site.
0:45 They make purposefully fake news that is hilarious.
0:49 Really really love checking them out.
0:51 They're quite funny to read. Built in Python.
0:53 Spotify, their web app and some backend services.
0:56 Built in Python. Pretty awesome, great music service there.
1:00 NASA, they build so many amazing space things.
1:04 They're working on sending people back to the moon
1:07 which I think is pretty awesome, and they had a cool
1:10 video showing all the technology and stuff that they're
1:13 using, and they had one bit of code.
1:15 Know what that code was?
1:17 Yeah, that's right. Was Python.
1:19 Bitly, the URL shortening service.
1:22 You know
1:25 So you can shorten these URLs, do a whole bunch
1:27 of analytics and analysis and statistics around it?
1:30 Built by Python, of course.
1:32 Bit Bucket. Competitor to Get Hooked.
1:34 They also do things like Jira and so on.
1:36 So, Bit Bucket is a social control, collaboration
1:40 and issue tracking site. Very very popular.
1:44 You knew it. Python. Survey Monkey. Python.
1:48 Quora, what I think is one of the best online Q&A
1:51 forums for deep, usually deep and thoughtful answers.
1:55 Really nice, love it, these guys are super
1:57 passionate about their work with Python.
1:59 Of course, the site's built with Python.
2:01 But they do even more than that.
2:02 They have an engineering BLOG where they talk about
2:04 cool things they've done in trying to make their apps
2:07 and their website run better, and tweaking Python
2:10 and trying to understand it better. So that's super cool.
2:13 Disqus, the little comments section you can embed
2:16 at the end of your BLOG or the end of web pages.
2:18 They've talked a lot about their use of Python
2:21 and they're doing quite a bit of traffic.
2:24 Python of course.
2:25 Instagram, another super passionate set of users
2:28 around Python.
2:29 Their web app and services use Python
2:32 and they handle a ton of traffic
2:35 so they gave a great keynote at Pycon 2017 about
2:38 migrating from Python 2 to Python 3, and Django.
2:41 Onto the latest version of Django doing some really
2:43 cool tricks. They've done some unusual things, like they've
2:47 disabled garbage collection, and just recycle their
2:49 worker processes every 12 hours or something
2:52 to actually get pretty significant improvements
2:54 in memory usage and performance.
2:57 They do a bunch of cool stuff with Python
2:59 and they actually BLOG a lot about it as well
3:01 which is great.
3:02 Reddit, the front page of the Internet, as some say.
3:05 Built on Python and SQLAlchemy.
3:08 It's interesting they use a SQLAlchemy core
3:10 which we'll talk a little bit about
3:11 as well as Python for their site.
3:13 YouTube, I already discussed them earlier.
3:15 They handle millions of requests per second.
3:17 Built on Python. Pretty great.
3:20 The brand new freshly relaunched
3:24 Python package index site?
3:26 Built with Python, of course, but they handle
3:29 an incredible amount of traffic, and really
3:31 interesting piece of infrastructure.
3:33 Built with Python. Pinterest. Python. Paypal.
3:37 Paypal does a lot with Python.
3:39 They have some internal services
3:41 microservice type things that work together
3:43 and there's one built in Python that's super interesting.
3:46 It's like this pricing exchange service, and a whole
3:50 bunch of other parts of the site, and the apps and stuff
3:53 all need to talk to each other, talk to the service
3:55 to figure out what is the fractional rate I'm going to
3:58 charge for this thing or that, and so on.
4:00 And that service gets several billion requests
4:03 per day with either millisecond or sub millisecond
4:07 response time written in Python. Pretty awesome.
4:11 Drop Box. Huge users of Python.
4:13 The creator of Python, Guido van Rossum, works there
4:15 as well as some other core developers.
4:17 They have over a million lines of Python code, actually.
4:20 The little client side app that you get is even Python
4:23 which is quite unusual, as well as a lot of their
4:25 backend services, so a very big center of the
4:27 universe at Python.
4:29 And they just talked about converting all their code
4:31 over to Python 3, using mypy as well
4:34 which is a pretty interesting engineering story.
4:36 So of course, Drop Box is all in on Python, and us.
4:39 You bet that we're all in on Python as well.
4:42 All of our infrastructure and whatnot is built
4:45 in Python and has been so super successful
4:48 so we're very very happy, big advocates
4:51 of Python web app
4:53 because they've worked out so well for us.
4:55 Now let's use a little Python to actually tell you more
4:58 about this.
4:59 So if you want to read more about any of these
5:00 except for my site, I guess.
5:02 It's not listed there.
5:03 But all the other uses we're talking about here
5:05 you can go to bitly/pyapp-25 and it'll take
5:09 you to this article that highlights
5:11 not just all of these users of Python
5:13 but it exactly how they're using it.
5:15 That's good company to be in, I would say.