Python from G to Whatever

Table of Contents


This freecodecamp article has some references to python stuff the author likes. Not all of it is of interest to me, but some of it is, so this is just my dump of the links I like.



geopy allows you to use python to find out geographic information for locations. It provides a common front end for different services like Google Maps, Bing, etc.


inspect is a python built-in that helps you take advantage of python's introspection features. Besides looking at other people's code, it shows you how well (or not) you are providing information for other coders using your code.


I haven't actually used newspaper but it looks interesting.


sh is a subprocess replacement. I've always been kind of leery about using python to run shell commands, but this at least makes it look nicer.


Although wikipedia is one of the classic web-scraping examples, there's actually a python library to pull articles more directly.