Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/todd-a-jacobs/codegnome_json_demo
Demo class for consuming JSON data and presenting it in a narrative format.
https://github.com/todd-a-jacobs/codegnome_json_demo
Last synced: about 2 months ago
JSON representation
Demo class for consuming JSON data and presenting it in a narrative format.
- Host: GitHub
- URL: https://github.com/todd-a-jacobs/codegnome_json_demo
- Owner: todd-a-jacobs
- License: gpl-3.0
- Created: 2011-06-13T10:10:42.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-03-24T23:18:35.000Z (almost 13 years ago)
- Last Synced: 2023-03-11T07:43:11.601Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.asciidoc
- License: LICENSE
Awesome Lists containing this project
README
= CodeGnome JSON Demo
Todd A. Jacobs== Purpose
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
link:LICENSE[] file for details.)The purpose of this demo is two-fold:
. Provide a basic example of how easy it is to consume JSON data using
Python.. 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
./CodeGnome_JSON_Demo.py
----------------------------------------------------------------------.Executing the Unit Tests
----------------------------------------------------------------------
cd CodeGnome_JSON_Demo/unittest
./run_test.sh
----------------------------------------------------------------------