دوره Using Databases with Python ، فصل 5 : Databases and Visualization
دربارهی این فصل:
In this section, we put it all together, retrieve and process some data and then use the Google Maps API to visualize our data.
این دوره شامل 6 فصل زیر است:
And if you don't understand this material, you really need to go back and review all those other chapters because we're going to start moving pretty fast. And so you have this gathering process that basically says look, this is slow, yucky, unreliable, dangerous, and you might want to start this up and then restart it. But in this, because the problem is harder to solve and there's unreliability and other external things, we will basically break it into multiple steps.
I provided all these things so that when you run these programs that stuff is all there, but if you want to learn and see some examples of how to make a little simple java script visualization with a line or a word cloud or a map, we've got it and you can take a look at those things. But we need to avoid rate limiting, so we're going to cache this in a database meaning we're only going to retrieve data at once and then we're going to use the Google Maps API to visualize this in a browser. So up next we're going to show how we can use this to build a very simple search engine and then run the page rank algorithm.
So this data is read in by this program, geoload.py, and if you recall, this Google geodata has rate limits, it also has API keys, which we'll talk about in a bit, too. And then we're going to simply insert this new data that we just put in, and then we're going to commit it, and every tenth one, this is count mod 10, we're going to pause for five seconds, and we can hit control C here, and then we're going to do the geodump, okay? We're going to go grab the zero item in that array, and then we're going to go find geometry, and then location, and then lat and lng, for the latitude and longitude.
Hi I'm Arya and I'm a lecturer at the University of Applied Science and I'm teaching some about digital interactive media. Yes, and I'm also using the stuff I've learned and I'm using the peer grading system as well in one of my lectures just to try. I wanna learn about from scratch about Internet, and look how it's functioning, where it's coming from, to understand it actually.
And as long as they can make money in a way that respects the freedom of other people, I think that's good. After all, I'm a programmer and I'm not unhappy when I make some money, but I only do it in ways that respect the freedom of other people. And at the same time, a number of people have found ways to get paid to write free software.
And one day we discovered the group that put out the web server that we were using basically folded when all their developers left to go join a brand new company called Netscape. It turns out to be not that hard to be able to work together when people have the same common goal, which is let's build a product that does all of this great stuff. So I think that rule, that right to fork, limits the kind of excesses that we see whenever we start to talk about how do groups make decisions.
مشارکت کنندگان در این صفحه
تا کنون فردی در بازسازی این صفحه مشارکت نداشته است.
🖊 شما نیز میتوانید برای مشارکت در ترجمهی این صفحه یا اصلاح متن انگلیسی، به این لینک مراجعه بفرمایید.