These Python Snippets are tested with Python 3.6.x. All snippets are available as Jupyter notebooks (http://jupyter.org/).
To get started create a virtual environment and install the required packages.
- Juypter Notebook
- pandas
- geojson
- beautifulsoup4
- feedparser
- scikit-image
- matplotlib
The following example shows how to create an environment with "conda" (http://conda.pydata.org/) and Python 3.6 with the required packages.
conda create -n py36-ps python=3.6
source activate py36-ps
The Python snippets are organized by topic.
GeoJSON
RSS
HTTP
- Load the content from a website with urllib.request
- Extract the text from a HTML document with Beautiful Soup
Image