Python from G to Whatever

Table of Contents

Introduction

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.

Links

Geopy

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

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.

Newspaper

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

sh

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.

Wikipedia

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