You can run these OSMnx example notebooks interactively online with Binder or locally with the official OSMnx docker image. All of the examples are in this repo's notebooks folder.
OSMnx is a Python package to work with street networks: retrieve, model, analyze, and visualize street networks and other spatial data from OpenStreetMap.