TutorialΒΆ

The parrot module is a module about parrots.

Doctest example:

>>> 2 + 2
4

Test-Output example:

json_string = '''
{
    "label" : "concepts",
    "category" : {
        "index" : {
            "POP" : 0,
            "PERCENT" : 1
        },
        "label" : {
            "POP" : "population",
            "PERCENT" : "weight of age group in the population"
        },
        "unit" : {
            "POP" : {
                "label": "thousands of persons",
                "decimals": 1,
                "type" : "count",
                "base" : "people",
                "multiplier" : 3
            },
            "PERCENT" : {
                "label" : "%",
                "decimals": 1,
                "type" : "ratio",
                "base" : "per cent",
                "multiplier" : 0
            }
        }
    }
}
'''
print(2 + 2)

This would output:

4