akvo.rsr.project_overview module

Akvo RSR is covered by the GNU Affero General Public License.

See more details in the license.txt file located at the root folder of the Akvo RSR module. For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >.

class akvo.rsr.project_overview.Contributor(period, children=[], type=IndicatorType.UNIT, project_disaggregations=None)[source]

Bases: object

property actual_comment
property actual_denominator
property actual_numerator
property actual_value
property contributing_countries
property contributing_locations
property contributors
property country
property disaggregation_targets
property disaggregations_view
get_disaggregation_of(category, type)[source]
get_disaggregation_target_of(category, type)[source]
property is_cumulative
property location
property project
property target_value
property updates
class akvo.rsr.project_overview.ContributorCollection(nodes, type=IndicatorType.UNIT, project_disaggregations=None)[source]

Bases: object

property countries
property disaggregations
property locations
property total_denominator
property total_numerator
property total_value
class akvo.rsr.project_overview.DisaggregationTarget(target)[source]

Bases: ObjectReaderProxy

property category
property type
class akvo.rsr.project_overview.IndicatorType(value)[source]

Bases: Enum

An enumeration.

NARRATIVE = 3
PERCENTAGE = 2
UNIT = 1
classmethod get_type(indicator)[source]
class akvo.rsr.project_overview.PeriodProxy(period, children=[], aggregate_targets=False, project_disaggregations=None)[source]

Bases: ObjectReaderProxy

property actual_comment
property actual_denominator
property actual_numerator
property actual_value
property contributors
property countries
property disaggregation_contributions
property disaggregation_contributions_view
property disaggregation_targets
get_disaggregation_contribution_of(category, type)[source]
get_disaggregation_target_of(category, type)[source]
property indicator_target_value
property is_cumulative
property locations
property project
property target_value
property updates
property use_indicator_target
class akvo.rsr.project_overview.UpdateCollection(period, type)[source]

Bases: object

property disaggregations
property total_denominator
property total_numerator
property total_value
class akvo.rsr.project_overview.UpdateProxy(real)[source]

Bases: ObjectReaderProxy

akvo.rsr.project_overview.get_disaggregations(project)[source]
akvo.rsr.project_overview.get_periods_hierarchy_flatlist(root_periods)[source]
akvo.rsr.project_overview.get_periods_with_contributors(root_periods, aggregate_targets=False)[source]
akvo.rsr.project_overview.is_aggregating_targets(project)[source]
akvo.rsr.project_overview.make_object_tree_from_flatlist(flatlist, parent_attr)[source]
akvo.rsr.project_overview.merge_unique(l1, l2)[source]