Change the future

Thursday 9 a.m.–12:20 p.m.

Scripting: from Hard-drive to Github to PyPI

Matt Harrison

Audience level:
Novice
Category:
Best Practices/Patterns

Description

How do you start a new project? How do you deliver a script to co-workers? How do you develop it with best practices? How do you use virtualenv and pip? How do you package it? How do you automate testing, building, uploading to PyPI?

This class will walk you through creating your own simple script and ending with something that is worthy of others.

Abstract

Have you ever wondered what the best way to structure, package and deploy a simple script or library? This hands-on tutorial will cover various aspects and then allow you time to implement them.

  • Project Layout
  • Best practices for "scripts"
  • Best practices for re-usability
  • Best practices for testing
  • Automating with make
  • Creating a development environment
  • Creating packages
  • Uploading packages to PyPI
  • Working with Distributed version control
  • Installing packages