Chapter 6. Writing an Application

We have seen in the last chapter a repeatable way to write packages and to gather code in namespaces. We can write a Python application by gathering a series of packages and making them interact by writing a package that ties everything together.

This chapter presents a small case study to demonstrate how to build, release, and distribute such an application.

Atomisator: An Introduction

Let's implement an application called Atomisator.

Atomisator is a small command-line tool that is able to generate an RSS XML file that is a combination of various news feeds:

$ atomisator Reading source http://feeds.feedburner.com/dirtsimple Phillip Eby 10 entries read. Reading source http://blog.ianbicking.org/feed/ Ian Bicking 10 ...

Get Expert Python Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.