I recently gave a talk on reproducible research using Python to a group of fellow graduate students at the Wisconsin IceCube Particle Astrophysics Center. My aim with this talk was to provide an introduction to some software development best practices for scientist.
Topics covered in the talk include:
-
What a Python package is.
-
How to make Python packages installable with
pip
. -
Creating virtual Python environments.
-
Writing tests with
pytest
.
I made a GitHub repository for the talk materials (slides and an example python package).
Additional Resources
If you are interested in additional resources, I highly recommend:
-
David Beazley’s “Modules and Packages: Live and Let Die!” talk @ PyCon 2015 [youtube] [slides]
-
David Baumgold’s “Get Started With Git” talk @ PyCon 2016 [youtube] [slides]
-
How To Package Your Python Code tutorial http://python-packaging.readthedocs.io