Demo class for consuming JSON data and presenting it in a narrative format.
Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


CodeGnome JSON Demo


This is not actually designed to be useful software, although if you do find it useful, you are certainly welcome to use it under the terms of the GNU General Public License, Version 3 or later (see the LICENSE file for details.)

The purpose of this demo is two-fold:

  1. Provide a basic example of how easy it is to consume JSON data using Python.

  2. Provide an example of how easy test-driven development with Python can be, especially with some of the newer assertions available in more recent versions.

Installation Notes

The code was built and tested on Python 2.7.1, and lightly tested against Python 3.2 as well. If it works for you on any other Python version, great! If not, feel free to submit a compatibility patch that doesn’t break Ubuntu’s currently-supported Python versions.

Running the Code on *nix Systems

Running the Demo
cd CodeGnome_JSON_Demo
Executing the Unit Tests
cd CodeGnome_JSON_Demo/unittest