Python code for galaxy redshift survey astrophysics.