personroles.resources   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
2
"""
3
4
Module resources provides constants (like GERMAN_PARTIES, PEERTITLES, ...) and
5
helper functions like exceptions and data containers like Party that are needed
6
for personroles.
7
8
Constants:
9
    GERMAN_PARTIES
10
    PEERTITLES
11
    PEER_PREPOSITIONS
12
13
Helper functions:
14
    exceptions:
15
        NotInRange (legislature of state)
16
        NotGermanParty
17
        TooManyFirstNames (in Germany not more than three)
18
    print style:
19
        AttrDisplay
20
    Party:
21
        _Party_base:
22
            party_name
23
        _Party_default:
24
            party_entry
25
            party_exit
26
    planned:
27
    Speech:
28
        _Speech_base:
29
            speech_key
30
        _Speech_default:
31
            speech_content
32
"""
33