Skip to content

Python Modules and Packages

Photo of
Hosted By
Matt H.

Details

Python is inherently modular, i.e. even basic data types can be considered as objects. Modules extend this idea to allow a program to be thought of as a hierarchy of objects. From a software design point of view, entire Python programs can be turned into modules and be used as such, in whole or in part.

This talk will cover some basics about Python modules as well as the lessons learned from developing Shepherd (https://github.com/unixnut/cloud-support/tree/master/shepherd), a modular tool for controlling a stable of hosts listed in an Ansible inventory file.

A basic knowledge of Python programming would be helpful in understanding this talk, but is not essential.

After viewing this talk, people should expect to be able to design (or rewrite!) their programs and libraries in a highly modular fashion, thereby making documentation, debugging and maintenance easier.

------

Alastair Irvine is a Software Engineer and system administrator by trade.He has a BSc in Computer Science from Curtin University.

His computer-related interests lie in various areas within his trade; suffice to say that he is a "geek of many colours". :) Alastair is a die-hard FOSS user and Linux fan.

He is also a freelancer with his own business. Warpspace IT (http://www.warpspace.net/) is a consultancy with a fairly broad focus on the technical side of IT.

45 St Georges Terrace, Perth · Perth