Best Practices for Writing Reusable Python

03:15 PM - 03:40 PM on July 16, 2016, Room CR5

Aaron Hall

Audience level:


We all want to write reusable maintainable code that follows best practices, but how? The "what" is easy, but the nuts and bolts are elusive. This talk discusses various ways of accomplishing this with multiple tested pathways. Who should come to this talk? Data Scientists, Web-Devs, Dev-Ops, if you've written code you want others to use, if you want to write code that others will use, this is for you. Who shouldn't come to this talk? If you already publish your own packages on PyPI and you get no joy out of critiquing people who give Best Practices talks, you might benefit more from one of the other talks.


Nuts and bolts of creating reusable code - docstrings, modules, packaging, documenting, linting, testing, test discovery, file structure layout, using standard library tools versus other toolsets.