Git Workshop Part 4: Python Packaging

Purpose

In this documentation we just have some tasks that will help you understand the features of the Kiwi Template for Python Packages. For a description of the content that enables you to solve the tasks, please take a look at the template’s documentation.

Tasks

The idea of the tasks is that you create a python package arround this file:

number_magic.py
def addition(arg1, arg2):
    """
    This functions adds the first and the second argument.

    :param arg1: the first summand
    :type arg1:  float
    :param arg2: the second and last summand
    :type arg2:  float
    :return:     the sum of both summands
    :rtype:      float
    """
    return arg1 + arg2

Tasks 3: Conventions

Support

If you encounter issues, please let us know.

Indices and tables