diff --git a/src/pythonKarabo/karabo/__init__.py b/src/pythonKarabo/karabo/__init__.py
index bdbfc3a1e9..ff4d838b07 100644
--- a/src/pythonKarabo/karabo/__init__.py
+++ b/src/pythonKarabo/karabo/__init__.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
"""\
Useful commands in Karabo:
==========================
diff --git a/src/pythonKarabo/karabo/bound.py b/src/pythonKarabo/karabo/bound.py
index ffd7b6b469..50f6b33fcb 100644
--- a/src/pythonKarabo/karabo/bound.py
+++ b/src/pythonKarabo/karabo/bound.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa: F401
""" This module provides all the bound API names which a Device might need.
"""
diff --git a/src/pythonKarabo/karabo/bound_api/__init__.py b/src/pythonKarabo/karabo/bound_api/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/bound_api/__init__.py
+++ b/src/pythonKarabo/karabo/bound_api/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/bound_api/base_fsm.py b/src/pythonKarabo/karabo/bound_api/base_fsm.py
index 8556347f17..8709908536 100644
--- a/src/pythonKarabo/karabo/bound_api/base_fsm.py
+++ b/src/pythonKarabo/karabo/bound_api/base_fsm.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this template, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/camera_fsm.py b/src/pythonKarabo/karabo/bound_api/camera_fsm.py
index 2ae27b562f..1e736ed1f7 100644
--- a/src/pythonKarabo/karabo/bound_api/camera_fsm.py
+++ b/src/pythonKarabo/karabo/bound_api/camera_fsm.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
__author__ = "andrea.parenti@xfel.eu"
__date__ = "August 7, 2013"
diff --git a/src/pythonKarabo/karabo/bound_api/configurator.py b/src/pythonKarabo/karabo/bound_api/configurator.py
index fd8e1ebdff..e57837d891 100644
--- a/src/pythonKarabo/karabo/bound_api/configurator.py
+++ b/src/pythonKarabo/karabo/bound_api/configurator.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this template, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/decorators.py b/src/pythonKarabo/karabo/bound_api/decorators.py
index 5f43ee930c..9de5765958 100644
--- a/src/pythonKarabo/karabo/bound_api/decorators.py
+++ b/src/pythonKarabo/karabo/bound_api/decorators.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karathon import INIT, READ, WRITE, AccessType, AssemblyRules
from .configurator import Configurator
diff --git a/src/pythonKarabo/karabo/bound_api/device.py b/src/pythonKarabo/karabo/bound_api/device.py
index cc3a87c424..a781fc6441 100644
--- a/src/pythonKarabo/karabo/bound_api/device.py
+++ b/src/pythonKarabo/karabo/bound_api/device.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
__author__ = "Sergey Esenov "
__date__ = "$Jul 30, 2012 9:03:51 PM$"
diff --git a/src/pythonKarabo/karabo/bound_api/device_client.py b/src/pythonKarabo/karabo/bound_api/device_client.py
index 4236683af6..30f05f95f0 100644
--- a/src/pythonKarabo/karabo/bound_api/device_client.py
+++ b/src/pythonKarabo/karabo/bound_api/device_client.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.common.alarm_conditions import AlarmCondition
from karabo.common.states import State
diff --git a/src/pythonKarabo/karabo/bound_api/device_runner.py b/src/pythonKarabo/karabo/bound_api/device_runner.py
index 0a875bc793..ca7e04842e 100644
--- a/src/pythonKarabo/karabo/bound_api/device_runner.py
+++ b/src/pythonKarabo/karabo/bound_api/device_runner.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import argparse
import copy
import os
diff --git a/src/pythonKarabo/karabo/bound_api/device_server.py b/src/pythonKarabo/karabo/bound_api/device_server.py
index 6cd91dc26b..149102ae11 100644
--- a/src/pythonKarabo/karabo/bound_api/device_server.py
+++ b/src/pythonKarabo/karabo/bound_api/device_server.py
@@ -1,5 +1,19 @@
#!/usr/bin/env python
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# -*- coding: utf-8 -*-
__author__ = "Sergey Esenov "
diff --git a/src/pythonKarabo/karabo/bound_api/fsm.py b/src/pythonKarabo/karabo/bound_api/fsm.py
index 155f2fcb01..22b8e36653 100644
--- a/src/pythonKarabo/karabo/bound_api/fsm.py
+++ b/src/pythonKarabo/karabo/bound_api/fsm.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
__author__ = "Sergey Esenov "
__date__ = "$Jul 26, 2012 16:17:33 PM$"
diff --git a/src/pythonKarabo/karabo/bound_api/launcher.py b/src/pythonKarabo/karabo/bound_api/launcher.py
index adb1d03f4d..905a4154a1 100644
--- a/src/pythonKarabo/karabo/bound_api/launcher.py
+++ b/src/pythonKarabo/karabo/bound_api/launcher.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import copy
import ctypes
import signal
diff --git a/src/pythonKarabo/karabo/bound_api/no_fsm.py b/src/pythonKarabo/karabo/bound_api/no_fsm.py
index f5a72b0a35..08ece64d15 100644
--- a/src/pythonKarabo/karabo/bound_api/no_fsm.py
+++ b/src/pythonKarabo/karabo/bound_api/no_fsm.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this license header, choose License Headers in Project Properties.
# To change this template file, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/ok_error_fsm.py b/src/pythonKarabo/karabo/bound_api/ok_error_fsm.py
index 1d0e81ddf4..fd3b42af1c 100644
--- a/src/pythonKarabo/karabo/bound_api/ok_error_fsm.py
+++ b/src/pythonKarabo/karabo/bound_api/ok_error_fsm.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this template, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/plugin_loader.py b/src/pythonKarabo/karabo/bound_api/plugin_loader.py
index e1064ab708..78fcfb05b6 100644
--- a/src/pythonKarabo/karabo/bound_api/plugin_loader.py
+++ b/src/pythonKarabo/karabo/bound_api/plugin_loader.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import warnings
from pkg_resources import WorkingSet
diff --git a/src/pythonKarabo/karabo/bound_api/server_entry_point.py b/src/pythonKarabo/karabo/bound_api/server_entry_point.py
index e89ce2c7d9..33d9c5d503 100644
--- a/src/pythonKarabo/karabo/bound_api/server_entry_point.py
+++ b/src/pythonKarabo/karabo/bound_api/server_entry_point.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import sys
from os.path import basename
diff --git a/src/pythonKarabo/karabo/bound_api/start_stop_fsm.py b/src/pythonKarabo/karabo/bound_api/start_stop_fsm.py
index 97aef4501d..6ff3d672b9 100644
--- a/src/pythonKarabo/karabo/bound_api/start_stop_fsm.py
+++ b/src/pythonKarabo/karabo/bound_api/start_stop_fsm.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this template, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/start_stop_fsm_periodic.py b/src/pythonKarabo/karabo/bound_api/start_stop_fsm_periodic.py
index e62b3cc32d..526aceceb5 100644
--- a/src/pythonKarabo/karabo/bound_api/start_stop_fsm_periodic.py
+++ b/src/pythonKarabo/karabo/bound_api/start_stop_fsm_periodic.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
__author__ = "Sergey Esenov "
__date__ = "$May 10, 2013 2:35:08 PM$"
diff --git a/src/pythonKarabo/karabo/bound_api/tests/__init__.py b/src/pythonKarabo/karabo/bound_api/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/__init__.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/bound_api/tests/api_module_test.py b/src/pythonKarabo/karabo/bound_api/tests/api_module_test.py
index 8e64705335..bb9b23748b 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/api_module_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/api_module_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
import os.path as op
diff --git a/src/pythonKarabo/karabo/bound_api/tests/boundDevice.py b/src/pythonKarabo/karabo/bound_api/tests/boundDevice.py
index dfdb0f9f00..30976c8382 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/boundDevice.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/boundDevice.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
""" This is a test device, written in the bound API, for the
API cross test
"""
diff --git a/src/pythonKarabo/karabo/bound_api/tests/brokenBoundDevice.py b/src/pythonKarabo/karabo/bound_api/tests/brokenBoundDevice.py
index 2ae47c5a6e..52802ddd01 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/brokenBoundDevice.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/brokenBoundDevice.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
""" This is a broken device, it only serves test purposes
diff --git a/src/pythonKarabo/karabo/bound_api/tests/camera_fsm_test.py b/src/pythonKarabo/karabo/bound_api/tests/camera_fsm_test.py
index b1601fe520..504f79d474 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/camera_fsm_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/camera_fsm_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this license header, choose License Headers in Project Properties.
# To change this template file, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/tests/configuration_example_classes.py b/src/pythonKarabo/karabo/bound_api/tests/configuration_example_classes.py
index e17d3b7519..213e125ce0 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/configuration_example_classes.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/configuration_example_classes.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
__author__ = "Sergey Esenov "
__date__ = "$Apr 14, 2013 12:07:53 PM$"
diff --git a/src/pythonKarabo/karabo/bound_api/tests/decorators_test.py b/src/pythonKarabo/karabo/bound_api/tests/decorators_test.py
index c851431161..a873527ab9 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/decorators_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/decorators_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this template, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/tests/hash_test.py b/src/pythonKarabo/karabo/bound_api/tests/hash_test.py
index 62a171dca6..43fd33c266 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/hash_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/hash_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
'''
Created on Oct 17, 2012
diff --git a/src/pythonKarabo/karabo/bound_api/tests/hashfilter_test.py b/src/pythonKarabo/karabo/bound_api/tests/hashfilter_test.py
index d88a4512b8..a404718087 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/hashfilter_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/hashfilter_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this template, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/tests/hvmachine_test.py b/src/pythonKarabo/karabo/bound_api/tests/hvmachine_test.py
index 3634398385..33a8aad3cc 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/hvmachine_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/hvmachine_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this template, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/tests/imagedata_test.py b/src/pythonKarabo/karabo/bound_api/tests/imagedata_test.py
index 3e894cda42..621d8876a6 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/imagedata_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/imagedata_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import weakref
import numpy as np
diff --git a/src/pythonKarabo/karabo/bound_api/tests/io_test.py b/src/pythonKarabo/karabo/bound_api/tests/io_test.py
index 903b860706..1b6b472948 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/io_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/io_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
from karabo.bound import (
diff --git a/src/pythonKarabo/karabo/bound_api/tests/karabind/test_attributes.py b/src/pythonKarabo/karabo/bound_api/tests/karabind/test_attributes.py
index ce585db4cf..e4f7dd41df 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/karabind/test_attributes.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/karabind/test_attributes.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
import karabind
diff --git a/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash.py b/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash.py
index 0c78ace171..ee4fbc06f3 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import copy
import unittest
diff --git a/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash_attributes.py b/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash_attributes.py
index 7507ce5817..04b8a18062 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash_attributes.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash_attributes.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
import karabind
diff --git a/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash_attributes_node.py b/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash_attributes_node.py
index 92344ea286..71c4dee857 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash_attributes_node.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash_attributes_node.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
import karabind
diff --git a/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash_node.py b/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash_node.py
index 2d3f5c4c51..549c4dd1ac 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash_node.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/karabind/test_hash_node.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import karabind
import pytest
diff --git a/src/pythonKarabo/karabo/bound_api/tests/metadata_test.py b/src/pythonKarabo/karabo/bound_api/tests/metadata_test.py
index ec35df44e0..bd4cf9d0b5 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/metadata_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/metadata_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this license header, choose License Headers in Project Properties.
# To change this template file, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/tests/net_test.py b/src/pythonKarabo/karabo/bound_api/tests/net_test.py
index f8b74b3445..6c4af044ab 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/net_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/net_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import unittest
from signal import SIGTERM
diff --git a/src/pythonKarabo/karabo/bound_api/tests/ok_error_fsm_test.py b/src/pythonKarabo/karabo/bound_api/tests/ok_error_fsm_test.py
index 41d1b67fc7..755588f7ff 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/ok_error_fsm_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/ok_error_fsm_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this license header, choose License Headers in Project Properties.
# To change this template file, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/tests/old/__init__.py b/src/pythonKarabo/karabo/bound_api/tests/old/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/old/__init__.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/old/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/bound_api/tests/old/test_attributes.py b/src/pythonKarabo/karabo/bound_api/tests/old/test_attributes.py
index 730ec138fe..b01afec6ee 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/old/test_attributes.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/old/test_attributes.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import Hash, Types
diff --git a/src/pythonKarabo/karabo/bound_api/tests/old/test_constructors.py b/src/pythonKarabo/karabo/bound_api/tests/old/test_constructors.py
index 1bb1613b02..6a935cf802 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/old/test_constructors.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/old/test_constructors.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import Hash
diff --git a/src/pythonKarabo/karabo/bound_api/tests/old/test_find.py b/src/pythonKarabo/karabo/bound_api/tests/old/test_find.py
index 9caef34621..ef11c281d4 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/old/test_find.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/old/test_find.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import Hash
diff --git a/src/pythonKarabo/karabo/bound_api/tests/old/test_getAs.py b/src/pythonKarabo/karabo/bound_api/tests/old/test_getAs.py
index bd5a26187c..56b7abb9cc 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/old/test_getAs.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/old/test_getAs.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import Hash, Types
diff --git a/src/pythonKarabo/karabo/bound_api/tests/old/test_getSet.py b/src/pythonKarabo/karabo/bound_api/tests/old/test_getSet.py
index 751dbab758..1fe42c8837 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/old/test_getSet.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/old/test_getSet.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import Hash, Types
diff --git a/src/pythonKarabo/karabo/bound_api/tests/old/test_iteration.py b/src/pythonKarabo/karabo/bound_api/tests/old/test_iteration.py
index b9b38a6ed5..278fb8d3f0 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/old/test_iteration.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/old/test_iteration.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import Hash
diff --git a/src/pythonKarabo/karabo/bound_api/tests/old/test_merge.py b/src/pythonKarabo/karabo/bound_api/tests/old/test_merge.py
index cf93718d6b..6d3e2bc60a 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/old/test_merge.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/old/test_merge.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import Hash, similar
diff --git a/src/pythonKarabo/karabo/bound_api/tests/pluginloader_test.py b/src/pythonKarabo/karabo/bound_api/tests/pluginloader_test.py
index a6109e538a..a3379a6109 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/pluginloader_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/pluginloader_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
from warnings import catch_warnings, simplefilter
diff --git a/src/pythonKarabo/karabo/bound_api/tests/runner_test.py b/src/pythonKarabo/karabo/bound_api/tests/runner_test.py
index b29d430d12..6f00abc0c0 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/runner_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/runner_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
from ..runner import Runner
diff --git a/src/pythonKarabo/karabo/bound_api/tests/schema_adler_test.py b/src/pythonKarabo/karabo/bound_api/tests/schema_adler_test.py
index 203bd89585..1cb9406651 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/schema_adler_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/schema_adler_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import os.path
import subprocess
diff --git a/src/pythonKarabo/karabo/bound_api/tests/schema_test.py b/src/pythonKarabo/karabo/bound_api/tests/schema_test.py
index 9bddd24309..a2dc79c608 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/schema_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/schema_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
from karabo.bound import (
diff --git a/src/pythonKarabo/karabo/bound_api/tests/serializer_test.py b/src/pythonKarabo/karabo/bound_api/tests/serializer_test.py
index 5902c242f4..acd41aba1c 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/serializer_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/serializer_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
from karabo.bound import (
diff --git a/src/pythonKarabo/karabo/bound_api/tests/signal_slotable_test.py b/src/pythonKarabo/karabo/bound_api/tests/signal_slotable_test.py
index f338d00b69..697643e1bd 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/signal_slotable_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/signal_slotable_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from threading import Condition, Lock, Thread
from unittest import TestCase, main
diff --git a/src/pythonKarabo/karabo/bound_api/tests/start_stop_fsm_test.py b/src/pythonKarabo/karabo/bound_api/tests/start_stop_fsm_test.py
index f27b2f37cb..5c88af5d4c 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/start_stop_fsm_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/start_stop_fsm_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this license header, choose License Headers in Project Properties.
# To change this template file, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/tests/statistical_evaluator_test.py b/src/pythonKarabo/karabo/bound_api/tests/statistical_evaluator_test.py
index dd288598e5..a0add7fb07 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/statistical_evaluator_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/statistical_evaluator_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
from karabo.bound import RollingWindowStatistics
diff --git a/src/pythonKarabo/karabo/bound_api/tests/tcp_lowlevel_async_test.py b/src/pythonKarabo/karabo/bound_api/tests/tcp_lowlevel_async_test.py
index 56523a7ffd..a143bbe3e7 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/tcp_lowlevel_async_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/tcp_lowlevel_async_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this template, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/tests/test_code_quality.py b/src/pythonKarabo/karabo/bound_api/tests/test_code_quality.py
index ff1f7616a7..01d2a94103 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/test_code_quality.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/test_code_quality.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os.path as op
import subprocess
diff --git a/src/pythonKarabo/karabo/bound_api/tests/timestamp_test.py b/src/pythonKarabo/karabo/bound_api/tests/timestamp_test.py
index 526a3030a3..df90a75ef5 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/timestamp_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/timestamp_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this template, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/bound_api/tests/xms_test.py b/src/pythonKarabo/karabo/bound_api/tests/xms_test.py
index d5d5d55cf4..ec53f870a1 100644
--- a/src/pythonKarabo/karabo/bound_api/tests/xms_test.py
+++ b/src/pythonKarabo/karabo/bound_api/tests/xms_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import threading
import time
import unittest
diff --git a/src/pythonKarabo/karabo/bound_api/worker.py b/src/pythonKarabo/karabo/bound_api/worker.py
index d45fb586e6..df2a9ad6f2 100644
--- a/src/pythonKarabo/karabo/bound_api/worker.py
+++ b/src/pythonKarabo/karabo/bound_api/worker.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import threading
import traceback
from collections import deque
diff --git a/src/pythonKarabo/karabo/bound_devices/__init__.py b/src/pythonKarabo/karabo/bound_devices/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/bound_devices/__init__.py
+++ b/src/pythonKarabo/karabo/bound_devices/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/bound_devices/property_test.py b/src/pythonKarabo/karabo/bound_devices/property_test.py
index 6a6ad52f51..63e4b30fb0 100644
--- a/src/pythonKarabo/karabo/bound_devices/property_test.py
+++ b/src/pythonKarabo/karabo/bound_devices/property_test.py
@@ -1,6 +1,20 @@
#!/usr/bin/env python
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
__author__ = "gero.flucke@xfel.eu"
__date__ = "September, 2017, 13:45 PM"
diff --git a/src/pythonKarabo/karabo/bound_devices/tests/__init__.py b/src/pythonKarabo/karabo/bound_devices/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/bound_devices/tests/__init__.py
+++ b/src/pythonKarabo/karabo/bound_devices/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/bound_devices/tests/test_code_quality.py b/src/pythonKarabo/karabo/bound_devices/tests/test_code_quality.py
index 3ee095507a..1f35498d45 100644
--- a/src/pythonKarabo/karabo/bound_devices/tests/test_code_quality.py
+++ b/src/pythonKarabo/karabo/bound_devices/tests/test_code_quality.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os.path as op
import subprocess
import unittest
diff --git a/src/pythonKarabo/karabo/common/__init__.py b/src/pythonKarabo/karabo/common/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/common/__init__.py
+++ b/src/pythonKarabo/karabo/common/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/common/alarm_conditions.py b/src/pythonKarabo/karabo/common/alarm_conditions.py
index 3805c61630..0c62448a70 100644
--- a/src/pythonKarabo/karabo/common/alarm_conditions.py
+++ b/src/pythonKarabo/karabo/common/alarm_conditions.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from enum import Enum
from functools import total_ordering
diff --git a/src/pythonKarabo/karabo/common/api.py b/src/pythonKarabo/karabo/common/api.py
index ebd757c56c..aea2a5cd4c 100644
--- a/src/pythonKarabo/karabo/common/api.py
+++ b/src/pythonKarabo/karabo/common/api.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
from .alarm_conditions import AlarmCondition
from .const import (
diff --git a/src/pythonKarabo/karabo/common/const.py b/src/pythonKarabo/karabo/common/const.py
index 5c21370c7e..77a3cdf14f 100644
--- a/src/pythonKarabo/karabo/common/const.py
+++ b/src/pythonKarabo/karabo/common/const.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# Copied from karabo/util/Schema.hh!
KARABO_SCHEMA_NODE_TYPE = "nodeType"
KARABO_SCHEMA_LEAF_TYPE = "leafType"
diff --git a/src/pythonKarabo/karabo/common/decorators.py b/src/pythonKarabo/karabo/common/decorators.py
index 8b470a82ef..e7f0c7411a 100644
--- a/src/pythonKarabo/karabo/common/decorators.py
+++ b/src/pythonKarabo/karabo/common/decorators.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on June 13, 2017
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
import inspect
import warnings
diff --git a/src/pythonKarabo/karabo/common/display_types.py b/src/pythonKarabo/karabo/common/display_types.py
index 123bb09336..0dfff8aae3 100644
--- a/src/pythonKarabo/karabo/common/display_types.py
+++ b/src/pythonKarabo/karabo/common/display_types.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
KARABO_SCHEMA_DISPLAY_TYPE_BIN = "bin"
KARABO_SCHEMA_DISPLAY_TYPE_OCT = "oct"
KARABO_SCHEMA_DISPLAY_TYPE_HEX = "hex"
diff --git a/src/pythonKarabo/karabo/common/enums.py b/src/pythonKarabo/karabo/common/enums.py
index 35c59fac60..df1f39f288 100644
--- a/src/pythonKarabo/karabo/common/enums.py
+++ b/src/pythonKarabo/karabo/common/enums.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from enum import Enum, IntEnum
diff --git a/src/pythonKarabo/karabo/common/module.py b/src/pythonKarabo/karabo/common/module.py
index 5067bfef01..58f7a81d82 100644
--- a/src/pythonKarabo/karabo/common/module.py
+++ b/src/pythonKarabo/karabo/common/module.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import sys
import types
diff --git a/src/pythonKarabo/karabo/common/packaging/__init__.py b/src/pythonKarabo/karabo/common/packaging/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/common/packaging/__init__.py
+++ b/src/pythonKarabo/karabo/common/packaging/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/common/packaging/tests/__init__.py b/src/pythonKarabo/karabo/common/packaging/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/common/packaging/tests/__init__.py
+++ b/src/pythonKarabo/karabo/common/packaging/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/common/packaging/tests/test_utils.py b/src/pythonKarabo/karabo/common/packaging/tests/test_utils.py
index 7c63de7907..935f76aa80 100644
--- a/src/pythonKarabo/karabo/common/packaging/tests/test_utils.py
+++ b/src/pythonKarabo/karabo/common/packaging/tests/test_utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from unittest import TestCase
from karabo.common.packaging import utils
diff --git a/src/pythonKarabo/karabo/common/packaging/utils.py b/src/pythonKarabo/karabo/common/packaging/utils.py
index 7812bb7aec..66dc92fbe2 100644
--- a/src/pythonKarabo/karabo/common/packaging/utils.py
+++ b/src/pythonKarabo/karabo/common/packaging/utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import re
_BASE = r"\d+\.\d+\.\d+"
diff --git a/src/pythonKarabo/karabo/common/project/__init__.py b/src/pythonKarabo/karabo/common/project/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/common/project/__init__.py
+++ b/src/pythonKarabo/karabo/common/project/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/common/project/api.py b/src/pythonKarabo/karabo/common/project/api.py
index 8d1fdba9c1..6d9e1036ee 100644
--- a/src/pythonKarabo/karabo/common/project/api.py
+++ b/src/pythonKarabo/karabo/common/project/api.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
from .bases import BaseProjectObjectModel
from .cache import MemCacheWrapper, ProjectDBCache, get_user_cache
diff --git a/src/pythonKarabo/karabo/common/project/bases.py b/src/pythonKarabo/karabo/common/project/bases.py
index fb9767c190..39bb16a27d 100644
--- a/src/pythonKarabo/karabo/common/project/bases.py
+++ b/src/pythonKarabo/karabo/common/project/bases.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on October 12, 2016
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
import uuid
diff --git a/src/pythonKarabo/karabo/common/project/cache.py b/src/pythonKarabo/karabo/common/project/cache.py
index a23bf99f0a..cf27789b67 100644
--- a/src/pythonKarabo/karabo/common/project/cache.py
+++ b/src/pythonKarabo/karabo/common/project/cache.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on October 21, 2016
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
import os
import os.path as op
diff --git a/src/pythonKarabo/karabo/common/project/const.py b/src/pythonKarabo/karabo/common/project/const.py
index eb497810e0..7594359901 100644
--- a/src/pythonKarabo/karabo/common/project/const.py
+++ b/src/pythonKarabo/karabo/common/project/const.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on October 21, 2016
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
PROJECT_DB_TYPE_DEVICE_CONFIG = "device_config"
diff --git a/src/pythonKarabo/karabo/common/project/device.py b/src/pythonKarabo/karabo/common/project/device.py
index 1425581a09..1715c492cb 100644
--- a/src/pythonKarabo/karabo/common/project/device.py
+++ b/src/pythonKarabo/karabo/common/project/device.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on October 12, 2016
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
from xml.etree.ElementTree import Element, SubElement, parse, tostring
diff --git a/src/pythonKarabo/karabo/common/project/device_config.py b/src/pythonKarabo/karabo/common/project/device_config.py
index deab3ab40e..dc3993afca 100644
--- a/src/pythonKarabo/karabo/common/project/device_config.py
+++ b/src/pythonKarabo/karabo/common/project/device_config.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on October 12, 2016
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
from traits.api import Instance, String
diff --git a/src/pythonKarabo/karabo/common/project/lazy.py b/src/pythonKarabo/karabo/common/project/lazy.py
index f6fb1164d6..5ab8d3ac11 100644
--- a/src/pythonKarabo/karabo/common/project/lazy.py
+++ b/src/pythonKarabo/karabo/common/project/lazy.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on October 20, 2016
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
from io import StringIO
diff --git a/src/pythonKarabo/karabo/common/project/macro.py b/src/pythonKarabo/karabo/common/project/macro.py
index 76dd92b3b4..d49382a997 100644
--- a/src/pythonKarabo/karabo/common/project/macro.py
+++ b/src/pythonKarabo/karabo/common/project/macro.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on September 9, 2016
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
from traits.api import List, Property, String, cached_property
diff --git a/src/pythonKarabo/karabo/common/project/model.py b/src/pythonKarabo/karabo/common/project/model.py
index 28fcfe210a..b555f74e93 100644
--- a/src/pythonKarabo/karabo/common/project/model.py
+++ b/src/pythonKarabo/karabo/common/project/model.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on October 12, 2016
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
from traits.api import Bool, Instance, List
diff --git a/src/pythonKarabo/karabo/common/project/server.py b/src/pythonKarabo/karabo/common/project/server.py
index 18988367cb..213234b609 100644
--- a/src/pythonKarabo/karabo/common/project/server.py
+++ b/src/pythonKarabo/karabo/common/project/server.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on October 12, 2016
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
from xml.etree.ElementTree import Element, SubElement, parse, tostring
diff --git a/src/pythonKarabo/karabo/common/project/tests/__init__.py b/src/pythonKarabo/karabo/common/project/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/common/project/tests/__init__.py
+++ b/src/pythonKarabo/karabo/common/project/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/common/project/tests/test_base.py b/src/pythonKarabo/karabo/common/project/tests/test_base.py
index 5202503155..fa723ae0f6 100644
--- a/src/pythonKarabo/karabo/common/project/tests/test_base.py
+++ b/src/pythonKarabo/karabo/common/project/tests/test_base.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import uuid
from unittest import TestCase
diff --git a/src/pythonKarabo/karabo/common/project/tests/test_cache.py b/src/pythonKarabo/karabo/common/project/tests/test_cache.py
index ea6372f7b5..7a6297e092 100644
--- a/src/pythonKarabo/karabo/common/project/tests/test_cache.py
+++ b/src/pythonKarabo/karabo/common/project/tests/test_cache.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import os.path as op
import sys
diff --git a/src/pythonKarabo/karabo/common/project/tests/test_device.py b/src/pythonKarabo/karabo/common/project/tests/test_device.py
index 09b24e14aa..92d02fa45c 100644
--- a/src/pythonKarabo/karabo/common/project/tests/test_device.py
+++ b/src/pythonKarabo/karabo/common/project/tests/test_device.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from uuid import uuid4
from traits.api import pop_exception_handler, push_exception_handler
diff --git a/src/pythonKarabo/karabo/common/project/tests/test_macro.py b/src/pythonKarabo/karabo/common/project/tests/test_macro.py
index 9b04ece482..a47e6a8b4b 100644
--- a/src/pythonKarabo/karabo/common/project/tests/test_macro.py
+++ b/src/pythonKarabo/karabo/common/project/tests/test_macro.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import uuid
from karabo.common.project.api import MacroModel
diff --git a/src/pythonKarabo/karabo/common/project/tests/test_model.py b/src/pythonKarabo/karabo/common/project/tests/test_model.py
index 95cceabbef..870ea569eb 100644
--- a/src/pythonKarabo/karabo/common/project/tests/test_model.py
+++ b/src/pythonKarabo/karabo/common/project/tests/test_model.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.common.api import walk_traits_object
from karabo.common.project.api import MacroModel, ProjectModel
diff --git a/src/pythonKarabo/karabo/common/project/tests/test_server.py b/src/pythonKarabo/karabo/common/project/tests/test_server.py
index c78f35001a..4d7a9e8c71 100644
--- a/src/pythonKarabo/karabo/common/project/tests/test_server.py
+++ b/src/pythonKarabo/karabo/common/project/tests/test_server.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from unittest import TestCase
from uuid import uuid4
diff --git a/src/pythonKarabo/karabo/common/project/tests/test_utils.py b/src/pythonKarabo/karabo/common/project/tests/test_utils.py
index ccd4d3b711..4700b53d83 100644
--- a/src/pythonKarabo/karabo/common/project/tests/test_utils.py
+++ b/src/pythonKarabo/karabo/common/project/tests/test_utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from pytest import raises as assert_raises
from karabo.common.project.api import (
diff --git a/src/pythonKarabo/karabo/common/project/utils.py b/src/pythonKarabo/karabo/common/project/utils.py
index c3f0be73da..aa743ee7d0 100644
--- a/src/pythonKarabo/karabo/common/project/utils.py
+++ b/src/pythonKarabo/karabo/common/project/utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from collections import Counter
from traits.api import Instance, List
diff --git a/src/pythonKarabo/karabo/common/sanity_check.py b/src/pythonKarabo/karabo/common/sanity_check.py
index a0f831b8e5..3483d8ba58 100644
--- a/src/pythonKarabo/karabo/common/sanity_check.py
+++ b/src/pythonKarabo/karabo/common/sanity_check.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import ast
diff --git a/src/pythonKarabo/karabo/common/savable.py b/src/pythonKarabo/karabo/common/savable.py
index af2951b2a2..afd695540f 100644
--- a/src/pythonKarabo/karabo/common/savable.py
+++ b/src/pythonKarabo/karabo/common/savable.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on November 30, 2016
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
from traits.api import (
Bool, Dict, HasStrictTraits, Instance, List, TraitDictEvent,
diff --git a/src/pythonKarabo/karabo/common/scenemodel/__init__.py b/src/pythonKarabo/karabo/common/scenemodel/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/__init__.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/common/scenemodel/api.py b/src/pythonKarabo/karabo/common/scenemodel/api.py
index 1660015f06..edd1ffdfa5 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/api.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/api.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
from .bases import (
BaseDisplayEditableWidget, BaseEditWidget, BaseLayoutData, BaseLayoutModel,
diff --git a/src/pythonKarabo/karabo/common/scenemodel/bases.py b/src/pythonKarabo/karabo/common/scenemodel/bases.py
index b3b45763a3..f7bbdf8ac4 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/bases.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/bases.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from random import randint
from traits.api import CInt, Enum, Float, Instance, Int, List, Range, String
diff --git a/src/pythonKarabo/karabo/common/scenemodel/const.py b/src/pythonKarabo/karabo/common/scenemodel/const.py
index 8ddb6bea25..da1fb0c78f 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/const.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/const.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import enum
from xml.etree.ElementTree import register_namespace
diff --git a/src/pythonKarabo/karabo/common/scenemodel/exceptions.py b/src/pythonKarabo/karabo/common/scenemodel/exceptions.py
index 0429395030..559a14c398 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/exceptions.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/exceptions.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
class SceneReaderException(Exception):
pass
diff --git a/src/pythonKarabo/karabo/common/scenemodel/generic_scenes.py b/src/pythonKarabo/karabo/common/scenemodel/generic_scenes.py
index 7af097c2d8..9522345df0 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/generic_scenes.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/generic_scenes.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from .model import SceneModel
from .shapes import LineModel
from .widgets.graph_image import WebCamGraphModel
diff --git a/src/pythonKarabo/karabo/common/scenemodel/io_utils.py b/src/pythonKarabo/karabo/common/scenemodel/io_utils.py
index 81ffe2b699..43a3f6c1e5 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/io_utils.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/io_utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import re
from collections.abc import Sequence
diff --git a/src/pythonKarabo/karabo/common/scenemodel/layouts.py b/src/pythonKarabo/karabo/common/scenemodel/layouts.py
index d03d9ffae5..e2f7699068 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/layouts.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/layouts.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from xml.etree.ElementTree import SubElement
from traits.api import CInt, Enum, Instance, Int
diff --git a/src/pythonKarabo/karabo/common/scenemodel/model.py b/src/pythonKarabo/karabo/common/scenemodel/model.py
index 1018e10ffb..ddc55b2271 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/model.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/model.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from xml.etree.ElementTree import SubElement
from traits.api import CInt, Constant, Dict, Instance, Int, List, String
diff --git a/src/pythonKarabo/karabo/common/scenemodel/modelio.py b/src/pythonKarabo/karabo/common/scenemodel/modelio.py
index c84a9ad5d9..4992cee537 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/modelio.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/modelio.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from xml.etree.ElementTree import Element, parse, tostring
from .const import NS_KARABO, NS_SVG, SCENE_FILE_VERSION
diff --git a/src/pythonKarabo/karabo/common/scenemodel/registry.py b/src/pythonKarabo/karabo/common/scenemodel/registry.py
index 971581453d..7afa76ddd5 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/registry.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/registry.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from collections import namedtuple
from inspect import signature
diff --git a/src/pythonKarabo/karabo/common/scenemodel/shapes.py b/src/pythonKarabo/karabo/common/scenemodel/shapes.py
index a526312f77..b41908e30b 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/shapes.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/shapes.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from xml.etree.ElementTree import SubElement
from traits.api import Any, CInt, Dict, Float, Instance, List, Property, String
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/__init__.py b/src/pythonKarabo/karabo/common/scenemodel/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/__init__.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_data_model_structure.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_data_model_structure.py
index 4037fa3374..17efcc957b 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_data_model_structure.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_data_model_structure.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import hashlib
from collections import OrderedDict
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_graph_images.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_graph_images.py
index 23796321d0..6087d5807b 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_graph_images.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_graph_images.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.common.scenemodel.api import CrossROIData, RectROIData
from karabo.common.scenemodel.tests.utils import (
base_widget_traits, single_model_round_trip)
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_graph_plots.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_graph_plots.py
index 268e723d7c..dace79fda2 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_graph_plots.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_graph_plots.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.common.scenemodel.api import CrossROIData
from karabo.common.scenemodel.tests.utils import single_model_round_trip
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_io.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_io.py
index 4174398dae..deac7e943b 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_io.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_io.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import os.path as op
from io import StringIO
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_registry.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_registry.py
index baaf21ccb2..95b92b923b 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_registry.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_registry.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from xml.etree.ElementTree import fromstring
from ..registry import (
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_shapes.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_shapes.py
index 09bfd4c248..4ef93a3305 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_shapes.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_shapes.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.testing.utils import temp_xml_file
from ..model import UnknownXMLDataModel
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_complex.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_complex.py
index 48c900e411..ef713101de 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_complex.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_complex.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from pytest import raises as assert_raises
from traits.api import TraitError
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_icon.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_icon.py
index 90ca070f58..04db731ea4 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_icon.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_icon.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from pytest import raises as assert_raises
from .. import api
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_image.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_image.py
index dd96496183..4ff8498249 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_image.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_image.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from .. import api
from .utils import (
assert_base_traits, base_widget_traits, single_model_round_trip)
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_links.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_links.py
index f33b451157..e4a0832082 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_links.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_links.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from .. import api
from .utils import (
assert_base_traits, base_widget_traits, single_model_round_trip)
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_plot.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_plot.py
index d20accf7c5..45d29f3cb2 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_plot.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_plot.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from io import StringIO
from ..api import (
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_simple.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_simple.py
index 5144dc29cf..92ba66bc92 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_simple.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_simple.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from pytest import raises as assert_raises
from traits.api import TraitError, Undefined
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_statefulicon.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_statefulicon.py
index e7eaec7648..cd84303997 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_statefulicon.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_statefulicon.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from ..api import StatefulIconWidgetModel
from .utils import (
assert_base_traits, base_widget_traits, single_model_round_trip)
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_tools.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_tools.py
index 7ef20ffee0..d1e8710e8e 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_tools.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_tools.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from .. import api
from .utils import (
assert_base_traits, base_widget_traits, single_model_round_trip)
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_vacuum.py b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_vacuum.py
index 23c0aa8847..eb632a721a 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_vacuum.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/test_widgets_vacuum.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from ..api import VacuumWidgetModel
from ..widgets.vacuum import VACUUM_WIDGETS
from .utils import (
diff --git a/src/pythonKarabo/karabo/common/scenemodel/tests/utils.py b/src/pythonKarabo/karabo/common/scenemodel/tests/utils.py
index 2e9a46d664..bce4216610 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/tests/utils.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/tests/utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.testing.utils import temp_xml_file
from ..model import SceneModel
diff --git a/src/pythonKarabo/karabo/common/scenemodel/widgets/__init__.py b/src/pythonKarabo/karabo/common/scenemodel/widgets/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/widgets/__init__.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/widgets/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/common/scenemodel/widgets/complex.py b/src/pythonKarabo/karabo/common/scenemodel/widgets/complex.py
index e2e432d56c..0e92e67ec4 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/widgets/complex.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/widgets/complex.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from xml.etree.ElementTree import SubElement
from traits.api import Bool, Enum, Float, Int, String
diff --git a/src/pythonKarabo/karabo/common/scenemodel/widgets/graph_image.py b/src/pythonKarabo/karabo/common/scenemodel/widgets/graph_image.py
index 3ecec7907e..d9af8f5e87 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/widgets/graph_image.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/widgets/graph_image.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import warnings
from xml.etree.ElementTree import SubElement
diff --git a/src/pythonKarabo/karabo/common/scenemodel/widgets/graph_plots.py b/src/pythonKarabo/karabo/common/scenemodel/widgets/graph_plots.py
index 30533de66f..5c0dfb74c1 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/widgets/graph_plots.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/widgets/graph_plots.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import warnings
from xml.etree.ElementTree import SubElement
diff --git a/src/pythonKarabo/karabo/common/scenemodel/widgets/graph_utils.py b/src/pythonKarabo/karabo/common/scenemodel/widgets/graph_utils.py
index a727dd0ff2..85a19029b6 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/widgets/graph_utils.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/widgets/graph_utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from xml.etree.ElementTree import SubElement
from traits.api import Float, Int, String
diff --git a/src/pythonKarabo/karabo/common/scenemodel/widgets/icon.py b/src/pythonKarabo/karabo/common/scenemodel/widgets/icon.py
index 50025b27e3..9d64782e76 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/widgets/icon.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/widgets/icon.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import base64
from xml.etree.ElementTree import SubElement
diff --git a/src/pythonKarabo/karabo/common/scenemodel/widgets/links.py b/src/pythonKarabo/karabo/common/scenemodel/widgets/links.py
index f0ef710b65..036e741330 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/widgets/links.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/widgets/links.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from xml.etree.ElementTree import SubElement
from traits.trait_types import Enum, Int, String
diff --git a/src/pythonKarabo/karabo/common/scenemodel/widgets/plot.py b/src/pythonKarabo/karabo/common/scenemodel/widgets/plot.py
index b6b930d3c4..2ee2508254 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/widgets/plot.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/widgets/plot.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from xml.etree.ElementTree import SubElement
from traits.api import Bool, Int, String
diff --git a/src/pythonKarabo/karabo/common/scenemodel/widgets/simple.py b/src/pythonKarabo/karabo/common/scenemodel/widgets/simple.py
index c49f3884c5..70048d08ba 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/widgets/simple.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/widgets/simple.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from xml.etree.ElementTree import SubElement
from traits.api import Bool, CInt, Enum, Float, Int, String, Undefined
diff --git a/src/pythonKarabo/karabo/common/scenemodel/widgets/statefulicon.py b/src/pythonKarabo/karabo/common/scenemodel/widgets/statefulicon.py
index c66eefe0b6..87275d40bf 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/widgets/statefulicon.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/widgets/statefulicon.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on December 8, 2016
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
from xml.etree.ElementTree import SubElement
diff --git a/src/pythonKarabo/karabo/common/scenemodel/widgets/tools.py b/src/pythonKarabo/karabo/common/scenemodel/widgets/tools.py
index d7a57b7eaa..97e7daf5e5 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/widgets/tools.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/widgets/tools.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import base64
import re
from random import randint
diff --git a/src/pythonKarabo/karabo/common/scenemodel/widgets/vacuum.py b/src/pythonKarabo/karabo/common/scenemodel/widgets/vacuum.py
index e542c13c49..44c4e1661f 100644
--- a/src/pythonKarabo/karabo/common/scenemodel/widgets/vacuum.py
+++ b/src/pythonKarabo/karabo/common/scenemodel/widgets/vacuum.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from xml.etree.ElementTree import SubElement
from traits.api import Enum
diff --git a/src/pythonKarabo/karabo/common/services.py b/src/pythonKarabo/karabo/common/services.py
index d9e6b56280..ae3c4f52d8 100644
--- a/src/pythonKarabo/karabo/common/services.py
+++ b/src/pythonKarabo/karabo/common/services.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
KARABO_ALARM_SERVICE = "Karabo_AlarmService"
KARABO_CONFIG_MANAGER = "KaraboConfigurationManager"
KARABO_DAEMON_MANAGER = "KaraboDaemonManager"
diff --git a/src/pythonKarabo/karabo/common/states.py b/src/pythonKarabo/karabo/common/states.py
index d221edef09..5a7e1e554e 100644
--- a/src/pythonKarabo/karabo/common/states.py
+++ b/src/pythonKarabo/karabo/common/states.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from enum import Enum, EnumMeta
diff --git a/src/pythonKarabo/karabo/common/tests/__init__.py b/src/pythonKarabo/karabo/common/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/common/tests/__init__.py
+++ b/src/pythonKarabo/karabo/common/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/common/tests/test_alarm_condition.py b/src/pythonKarabo/karabo/common/tests/test_alarm_condition.py
index 701d902d98..49f1655932 100644
--- a/src/pythonKarabo/karabo/common/tests/test_alarm_condition.py
+++ b/src/pythonKarabo/karabo/common/tests/test_alarm_condition.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
from karabo.common.api import AlarmCondition
diff --git a/src/pythonKarabo/karabo/common/tests/test_code_quality.py b/src/pythonKarabo/karabo/common/tests/test_code_quality.py
index cbc98105bb..3d781b7660 100644
--- a/src/pythonKarabo/karabo/common/tests/test_code_quality.py
+++ b/src/pythonKarabo/karabo/common/tests/test_code_quality.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os.path as op
import subprocess
import sys
diff --git a/src/pythonKarabo/karabo/common/tests/test_const.py b/src/pythonKarabo/karabo/common/tests/test_const.py
index 50d1096f26..21c1c6d74f 100644
--- a/src/pythonKarabo/karabo/common/tests/test_const.py
+++ b/src/pythonKarabo/karabo/common/tests/test_const.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from inspect import isfunction
from karabo.common import const as constmod
diff --git a/src/pythonKarabo/karabo/common/tests/test_decorators.py b/src/pythonKarabo/karabo/common/tests/test_decorators.py
index 2061a7ca3f..1d579dfb03 100644
--- a/src/pythonKarabo/karabo/common/tests/test_decorators.py
+++ b/src/pythonKarabo/karabo/common/tests/test_decorators.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import time
from unittest import TestCase, main
diff --git a/src/pythonKarabo/karabo/common/tests/test_macro_sanity_check.py b/src/pythonKarabo/karabo/common/tests/test_macro_sanity_check.py
index 4442b4c796..98611e3a0b 100644
--- a/src/pythonKarabo/karabo/common/tests/test_macro_sanity_check.py
+++ b/src/pythonKarabo/karabo/common/tests/test_macro_sanity_check.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from unittest import TestCase
from karabo.common.sanity_check import validate_macro
diff --git a/src/pythonKarabo/karabo/common/tests/test_module.py b/src/pythonKarabo/karabo/common/tests/test_module.py
index 5b95bf6374..b01edb38b8 100644
--- a/src/pythonKarabo/karabo/common/tests/test_module.py
+++ b/src/pythonKarabo/karabo/common/tests/test_module.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import sys
from types import ModuleType
diff --git a/src/pythonKarabo/karabo/common/tests/test_savable.py b/src/pythonKarabo/karabo/common/tests/test_savable.py
index b9cce30ff2..f25c533645 100644
--- a/src/pythonKarabo/karabo/common/tests/test_savable.py
+++ b/src/pythonKarabo/karabo/common/tests/test_savable.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from traits.api import Dict, HasStrictTraits, HasTraits, Instance, List
from karabo.common.api import BaseSavableModel, set_modified_flag
diff --git a/src/pythonKarabo/karabo/common/tests/test_services.py b/src/pythonKarabo/karabo/common/tests/test_services.py
index d7d914670c..5e9e4ef9ce 100644
--- a/src/pythonKarabo/karabo/common/tests/test_services.py
+++ b/src/pythonKarabo/karabo/common/tests/test_services.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.common import services as servicemod
diff --git a/src/pythonKarabo/karabo/common/tests/test_states.py b/src/pythonKarabo/karabo/common/tests/test_states.py
index 4e79b285ec..951dc3240d 100644
--- a/src/pythonKarabo/karabo/common/tests/test_states.py
+++ b/src/pythonKarabo/karabo/common/tests/test_states.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
from karabo.common.api import State, StateSignifier
diff --git a/src/pythonKarabo/karabo/common/tests/test_traits.py b/src/pythonKarabo/karabo/common/tests/test_traits.py
index ebb0d9c1aa..57a4c8a5e5 100644
--- a/src/pythonKarabo/karabo/common/tests/test_traits.py
+++ b/src/pythonKarabo/karabo/common/tests/test_traits.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from traits.api import HasStrictTraits, Instance, Int, List
from karabo.common.api import walk_traits_object
diff --git a/src/pythonKarabo/karabo/common/tests/test_util.py b/src/pythonKarabo/karabo/common/tests/test_util.py
index fb121a1368..6b23031b36 100644
--- a/src/pythonKarabo/karabo/common/tests/test_util.py
+++ b/src/pythonKarabo/karabo/common/tests/test_util.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.common.api import WeakMethodRef
diff --git a/src/pythonKarabo/karabo/common/utils.py b/src/pythonKarabo/karabo/common/utils.py
index d1fa55f82e..3ba126c1d3 100644
--- a/src/pythonKarabo/karabo/common/utils.py
+++ b/src/pythonKarabo/karabo/common/utils.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on February 13, 2017
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
import weakref
from inspect import signature
diff --git a/src/pythonKarabo/karabo/config_db/__init__.py b/src/pythonKarabo/karabo/config_db/__init__.py
index c0a45b315e..0859f3d6b1 100644
--- a/src/pythonKarabo/karabo/config_db/__init__.py
+++ b/src/pythonKarabo/karabo/config_db/__init__.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
from .configuration_database import ConfigurationDatabase, DbHandle
from .utils import (
diff --git a/src/pythonKarabo/karabo/config_db/commands.py b/src/pythonKarabo/karabo/config_db/commands.py
index 3c23c2dab2..9f0575dd88 100644
--- a/src/pythonKarabo/karabo/config_db/commands.py
+++ b/src/pythonKarabo/karabo/config_db/commands.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
CREATE_CONFIG_SET_TABLE = """
diff --git a/src/pythonKarabo/karabo/config_db/configuration_database.py b/src/pythonKarabo/karabo/config_db/configuration_database.py
index 6df8c1769f..f55aaa38fb 100644
--- a/src/pythonKarabo/karabo/config_db/configuration_database.py
+++ b/src/pythonKarabo/karabo/config_db/configuration_database.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import hashlib
import os
from contextlib import ContextDecorator
diff --git a/src/pythonKarabo/karabo/config_db/models.py b/src/pythonKarabo/karabo/config_db/models.py
index b6af70f541..3f92e996f3 100644
--- a/src/pythonKarabo/karabo/config_db/models.py
+++ b/src/pythonKarabo/karabo/config_db/models.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#
# Model classes generated from the existing Sqlite database by pwiz,
# a model generator script bundled with peewee. The command to generate
diff --git a/src/pythonKarabo/karabo/config_db/tests/__init__.py b/src/pythonKarabo/karabo/config_db/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/config_db/tests/__init__.py
+++ b/src/pythonKarabo/karabo/config_db/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/config_db/tests/test_code_quality.py b/src/pythonKarabo/karabo/config_db/tests/test_code_quality.py
index 2c32fa8509..e3a92cf6ac 100644
--- a/src/pythonKarabo/karabo/config_db/tests/test_code_quality.py
+++ b/src/pythonKarabo/karabo/config_db/tests/test_code_quality.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import subprocess
import unittest
diff --git a/src/pythonKarabo/karabo/config_db/tests/test_configuration_database.py b/src/pythonKarabo/karabo/config_db/tests/test_configuration_database.py
index 11e9bb8a49..2a53f742c5 100644
--- a/src/pythonKarabo/karabo/config_db/tests/test_configuration_database.py
+++ b/src/pythonKarabo/karabo/config_db/tests/test_configuration_database.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import unittest
from datetime import datetime
diff --git a/src/pythonKarabo/karabo/config_db/tests/test_utils.py b/src/pythonKarabo/karabo/config_db/tests/test_utils.py
index f5716e067c..16941f7e68 100644
--- a/src/pythonKarabo/karabo/config_db/tests/test_utils.py
+++ b/src/pythonKarabo/karabo/config_db/tests/test_utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
from karabo.config_db.utils import (
diff --git a/src/pythonKarabo/karabo/config_db/utils.py b/src/pythonKarabo/karabo/config_db/utils.py
index 9ce354e00a..a7903cfa8f 100644
--- a/src/pythonKarabo/karabo/config_db/utils.py
+++ b/src/pythonKarabo/karabo/config_db/utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import base64
import hashlib
from datetime import datetime
diff --git a/src/pythonKarabo/karabo/influxdb/__init__.py b/src/pythonKarabo/karabo/influxdb/__init__.py
index de13514147..96bec3ad20 100644
--- a/src/pythonKarabo/karabo/influxdb/__init__.py
+++ b/src/pythonKarabo/karabo/influxdb/__init__.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
from .client import InfluxDbClient, Results, get_line_fromdicts, lines_fromhash
from .dlraw2influx import PROCESSED_RAWS_FILE_NAME, DlRaw2Influx
diff --git a/src/pythonKarabo/karabo/influxdb/client.py b/src/pythonKarabo/karabo/influxdb/client.py
index 6766ce9205..f3e514c9af 100644
--- a/src/pythonKarabo/karabo/influxdb/client.py
+++ b/src/pythonKarabo/karabo/influxdb/client.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import asyncio
import base64
import numbers
diff --git a/src/pythonKarabo/karabo/influxdb/dl_migrator.py b/src/pythonKarabo/karabo/influxdb/dl_migrator.py
index 1ae52f5007..9cdd260346 100755
--- a/src/pythonKarabo/karabo/influxdb/dl_migrator.py
+++ b/src/pythonKarabo/karabo/influxdb/dl_migrator.py
@@ -1,5 +1,19 @@
#!/usr/bin/env python
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import argparse
import datetime
diff --git a/src/pythonKarabo/karabo/influxdb/dlraw2influx.py b/src/pythonKarabo/karabo/influxdb/dlraw2influx.py
index a4dabefc3d..bc97472fab 100644
--- a/src/pythonKarabo/karabo/influxdb/dlraw2influx.py
+++ b/src/pythonKarabo/karabo/influxdb/dlraw2influx.py
@@ -1,5 +1,19 @@
#!/usr/bin/env python
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import base64
import json
import os
diff --git a/src/pythonKarabo/karabo/influxdb/dlschema2influx.py b/src/pythonKarabo/karabo/influxdb/dlschema2influx.py
index 30d7dcc33c..10483b5ec5 100644
--- a/src/pythonKarabo/karabo/influxdb/dlschema2influx.py
+++ b/src/pythonKarabo/karabo/influxdb/dlschema2influx.py
@@ -1,5 +1,19 @@
#!/usr/bin/env python
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import base64
import hashlib
import json
diff --git a/src/pythonKarabo/karabo/influxdb/dlutils.py b/src/pythonKarabo/karabo/influxdb/dlutils.py
index b973375714..a9a9262d45 100644
--- a/src/pythonKarabo/karabo/influxdb/dlutils.py
+++ b/src/pythonKarabo/karabo/influxdb/dlutils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os.path as op
import re
diff --git a/src/pythonKarabo/karabo/influxdb/tests/__init__.py b/src/pythonKarabo/karabo/influxdb/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/influxdb/tests/__init__.py
+++ b/src/pythonKarabo/karabo/influxdb/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/influxdb/tests/test_client.py b/src/pythonKarabo/karabo/influxdb/tests/test_client.py
index 062b9bdda3..69685b04f1 100644
--- a/src/pythonKarabo/karabo/influxdb/tests/test_client.py
+++ b/src/pythonKarabo/karabo/influxdb/tests/test_client.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import base64
import json
import os
diff --git a/src/pythonKarabo/karabo/integration_tests/__init__.py b/src/pythonKarabo/karabo/integration_tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/integration_tests/__init__.py
+++ b/src/pythonKarabo/karabo/integration_tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/integration_tests/all_api_alarm_test/__init__.py b/src/pythonKarabo/karabo/integration_tests/all_api_alarm_test/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/integration_tests/all_api_alarm_test/__init__.py
+++ b/src/pythonKarabo/karabo/integration_tests/all_api_alarm_test/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/integration_tests/all_api_alarm_test/test_alarm_all_api.py b/src/pythonKarabo/karabo/integration_tests/all_api_alarm_test/test_alarm_all_api.py
index 911955dfd6..8bbb4194dc 100644
--- a/src/pythonKarabo/karabo/integration_tests/all_api_alarm_test/test_alarm_all_api.py
+++ b/src/pythonKarabo/karabo/integration_tests/all_api_alarm_test/test_alarm_all_api.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from copy import copy
from time import sleep
diff --git a/src/pythonKarabo/karabo/integration_tests/config_manager_cross_test/__init__.py b/src/pythonKarabo/karabo/integration_tests/config_manager_cross_test/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/integration_tests/config_manager_cross_test/__init__.py
+++ b/src/pythonKarabo/karabo/integration_tests/config_manager_cross_test/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/integration_tests/config_manager_cross_test/test_cross_config_manager.py b/src/pythonKarabo/karabo/integration_tests/config_manager_cross_test/test_cross_config_manager.py
index 9f36dbae5c..13d2a5375d 100644
--- a/src/pythonKarabo/karabo/integration_tests/config_manager_cross_test/test_cross_config_manager.py
+++ b/src/pythonKarabo/karabo/integration_tests/config_manager_cross_test/test_cross_config_manager.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import os.path as op
import unittest
diff --git a/src/pythonKarabo/karabo/integration_tests/device_comm_test/__init__.py b/src/pythonKarabo/karabo/integration_tests/device_comm_test/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_comm_test/__init__.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_comm_test/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/integration_tests/device_comm_test/commtestdevice.py b/src/pythonKarabo/karabo/integration_tests/device_comm_test/commtestdevice.py
index 9560f9f7eb..3f795600fb 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_comm_test/commtestdevice.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_comm_test/commtestdevice.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import (
KARABO_CLASSINFO, SLOT_ELEMENT, STRING_ELEMENT, VECTOR_INT32_ELEMENT,
Epochstamp, Hash, PythonDevice, State, launchPythonDevice)
diff --git a/src/pythonKarabo/karabo/integration_tests/device_comm_test/invalidImportDevice.py b/src/pythonKarabo/karabo/integration_tests/device_comm_test/invalidImportDevice.py
index d8d4837e93..e20c42870d 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_comm_test/invalidImportDevice.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_comm_test/invalidImportDevice.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import (
KARABO_CLASSINFO, VECTOR_STRING_ELEMENT, PythonDevice, launchPythonDevice)
from karabo.common.states import State
diff --git a/src/pythonKarabo/karabo/integration_tests/device_comm_test/raiseInitializationDevice.py b/src/pythonKarabo/karabo/integration_tests/device_comm_test/raiseInitializationDevice.py
index 6b733a0656..39d2706a96 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_comm_test/raiseInitializationDevice.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_comm_test/raiseInitializationDevice.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from time import sleep
from karabo.bound import KARABO_CLASSINFO, PythonDevice
diff --git a/src/pythonKarabo/karabo/integration_tests/device_comm_test/slowStartDevice.py b/src/pythonKarabo/karabo/integration_tests/device_comm_test/slowStartDevice.py
index bbd3d73960..f309ab73e0 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_comm_test/slowStartDevice.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_comm_test/slowStartDevice.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import time
from karabo.bound import INT32_ELEMENT, KARABO_CLASSINFO, PythonDevice
diff --git a/src/pythonKarabo/karabo/integration_tests/device_comm_test/stuckLoggerDevice.py b/src/pythonKarabo/karabo/integration_tests/device_comm_test/stuckLoggerDevice.py
index 1d57a2ff2d..b8a253937f 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_comm_test/stuckLoggerDevice.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_comm_test/stuckLoggerDevice.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import KARABO_CLASSINFO, PythonDevice
diff --git a/src/pythonKarabo/karabo/integration_tests/device_comm_test/test_bound_device.py b/src/pythonKarabo/karabo/integration_tests/device_comm_test/test_bound_device.py
index f0e64cb702..2ba2500a77 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_comm_test/test_bound_device.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_comm_test/test_bound_device.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
from time import sleep
diff --git a/src/pythonKarabo/karabo/integration_tests/device_comm_test/test_bound_device_client.py b/src/pythonKarabo/karabo/integration_tests/device_comm_test/test_bound_device_client.py
index a71d673f0a..123a337098 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_comm_test/test_bound_device_client.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_comm_test/test_bound_device_client.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from threading import Lock
from time import sleep
diff --git a/src/pythonKarabo/karabo/integration_tests/device_comm_test/test_bound_device_server.py b/src/pythonKarabo/karabo/integration_tests/device_comm_test/test_bound_device_server.py
index 2683007f8d..74991865fd 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_comm_test/test_bound_device_server.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_comm_test/test_bound_device_server.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import copy
from karabo.bound import Hash, SignalSlotable
diff --git a/src/pythonKarabo/karabo/integration_tests/device_comm_test/unstoppedThreadDevice.py b/src/pythonKarabo/karabo/integration_tests/device_comm_test/unstoppedThreadDevice.py
index 8f495444f7..08ac06c177 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_comm_test/unstoppedThreadDevice.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_comm_test/unstoppedThreadDevice.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# To change this license header, choose License Headers in Project Properties.
# To change this template file, choose Tools | Templates
# and open the template in the editor.
diff --git a/src/pythonKarabo/karabo/integration_tests/device_cross_test/__init__.py b/src/pythonKarabo/karabo/integration_tests/device_cross_test/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_cross_test/__init__.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_cross_test/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/integration_tests/device_cross_test/test_cross.py b/src/pythonKarabo/karabo/integration_tests/device_cross_test/test_cross.py
index 05c1a86c51..27637948f4 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_cross_test/test_cross.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_cross_test/test_cross.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
"""This tests the communication between bound API and middlelayer API"""
import os
diff --git a/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/__init__.py b/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/__init__.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/non_scene_providing_device.py b/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/non_scene_providing_device.py
index 46eed83fa6..c9e23ac12f 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/non_scene_providing_device.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/non_scene_providing_device.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import KARABO_CLASSINFO, PythonDevice, launchPythonDevice
from karabo.common.states import State
diff --git a/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/scene_providing_device.py b/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/scene_providing_device.py
index 230a84a1b1..ef73d449c9 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/scene_providing_device.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/scene_providing_device.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import (
KARABO_CLASSINFO, VECTOR_STRING_ELEMENT, PythonDevice, launchPythonDevice)
from karabo.common.states import State
diff --git a/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/test_bound_device.py b/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/test_bound_device.py
index 0ff4d654e0..e90f2f4ea2 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/test_bound_device.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_provided_scenes_test/test_bound_device.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from time import sleep
from karabo.bound import Hash
diff --git a/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/__init__.py b/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/__init__.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/device_channel_injection.py b/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/device_channel_injection.py
index ce9b242445..046a31d811 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/device_channel_injection.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/device_channel_injection.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo import __version__ as karaboVersion
from karabo.bound import (
INPUT_CHANNEL, INT32_ELEMENT, KARABO_CLASSINFO, NODE_ELEMENT,
diff --git a/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/device_with_alarm.py b/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/device_with_alarm.py
index 2fb86c3c50..bb021f6f8d 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/device_with_alarm.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/device_with_alarm.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import (
DOUBLE_ELEMENT, INT32_ELEMENT, KARABO_CLASSINFO, NODE_ELEMENT,
TABLE_ELEMENT, VECTOR_INT32_ELEMENT, Hash, PythonDevice, Schema)
diff --git a/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/device_with_table_parameter.py b/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/device_with_table_parameter.py
index 1405e12032..13bb4b3f6c 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/device_with_table_parameter.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/device_with_table_parameter.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import (
KARABO_CLASSINFO, STRING_ELEMENT, TABLE_ELEMENT, Hash, PythonDevice,
Schema)
diff --git a/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/test_device_channel_injection.py b/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/test_device_channel_injection.py
index f9020c70ce..06225978db 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/test_device_channel_injection.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/test_device_channel_injection.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import threading
import time
diff --git a/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/test_device_schema_injection.py b/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/test_device_schema_injection.py
index b5a13538d0..6c684e61ac 100644
--- a/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/test_device_schema_injection.py
+++ b/src/pythonKarabo/karabo/integration_tests/device_schema_injection_test/test_device_schema_injection.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
from karabo.bound import (
diff --git a/src/pythonKarabo/karabo/integration_tests/pipeline_cross_test/__init__.py b/src/pythonKarabo/karabo/integration_tests/pipeline_cross_test/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/integration_tests/pipeline_cross_test/__init__.py
+++ b/src/pythonKarabo/karabo/integration_tests/pipeline_cross_test/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/integration_tests/pipeline_cross_test/test_multi_api_pipes.py b/src/pythonKarabo/karabo/integration_tests/pipeline_cross_test/test_multi_api_pipes.py
index 565bb9ef9d..9ae36ea916 100644
--- a/src/pythonKarabo/karabo/integration_tests/pipeline_cross_test/test_multi_api_pipes.py
+++ b/src/pythonKarabo/karabo/integration_tests/pipeline_cross_test/test_multi_api_pipes.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from datetime import datetime
from time import sleep, time
diff --git a/src/pythonKarabo/karabo/integration_tests/pipeline_long_test/__init__.py b/src/pythonKarabo/karabo/integration_tests/pipeline_long_test/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/integration_tests/pipeline_long_test/__init__.py
+++ b/src/pythonKarabo/karabo/integration_tests/pipeline_long_test/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/integration_tests/pipeline_long_test/test_pipeline.py b/src/pythonKarabo/karabo/integration_tests/pipeline_long_test/test_pipeline.py
index fa42360bee..4c5a4c8b03 100644
--- a/src/pythonKarabo/karabo/integration_tests/pipeline_long_test/test_pipeline.py
+++ b/src/pythonKarabo/karabo/integration_tests/pipeline_long_test/test_pipeline.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
"""This tests the long pipeline tests in the middlelayer API"""
from random import randint
diff --git a/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/__init__.py b/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/__init__.py
+++ b/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/ppreceiver.py b/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/ppreceiver.py
index 527cb09bd9..7770bf9bd1 100644
--- a/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/ppreceiver.py
+++ b/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/ppreceiver.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from datetime import datetime
from sys import getsizeof
from time import sleep
diff --git a/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/ppsender.py b/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/ppsender.py
index f190954496..a874f0878d 100644
--- a/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/ppsender.py
+++ b/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/ppsender.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from datetime import datetime
from threading import Thread
from time import sleep
diff --git a/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/test_bound_device.py b/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/test_bound_device.py
index c562dad053..6b8dd92efc 100644
--- a/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/test_bound_device.py
+++ b/src/pythonKarabo/karabo/integration_tests/pipeline_processing_test/test_bound_device.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from datetime import datetime
from time import sleep
diff --git a/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/__init__.py b/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/__init__.py
+++ b/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/bound_ordertest_device.py b/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/bound_ordertest_device.py
index d6d6872364..ee88596903 100644
--- a/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/bound_ordertest_device.py
+++ b/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/bound_ordertest_device.py
@@ -1,5 +1,19 @@
#############################################################################
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
from karabo.bound import (
diff --git a/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/mdl_ordertest_device.py b/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/mdl_ordertest_device.py
index 769adb6941..2346508f11 100644
--- a/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/mdl_ordertest_device.py
+++ b/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/mdl_ordertest_device.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from asyncio import wait_for
from karabo.middlelayer import (
diff --git a/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/test_signal_slot_order.py b/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/test_signal_slot_order.py
index cb0d9c6f31..c0752bdd2a 100644
--- a/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/test_signal_slot_order.py
+++ b/src/pythonKarabo/karabo/integration_tests/signal_slot_order_test/test_signal_slot_order.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.bound import Hash, State
from karabo.integration_tests.utils import BoundDeviceTestCase
diff --git a/src/pythonKarabo/karabo/integration_tests/utils.py b/src/pythonKarabo/karabo/integration_tests/utils.py
index cd2f62ac67..bd55c5e525 100644
--- a/src/pythonKarabo/karabo/integration_tests/utils.py
+++ b/src/pythonKarabo/karabo/integration_tests/utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import subprocess
import sys
diff --git a/src/pythonKarabo/karabo/interactive/__init__.py b/src/pythonKarabo/karabo/interactive/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/interactive/__init__.py
+++ b/src/pythonKarabo/karabo/interactive/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/interactive/container_monitor.py b/src/pythonKarabo/karabo/interactive/container_monitor.py
index 689b661c99..d8af4e8605 100644
--- a/src/pythonKarabo/karabo/interactive/container_monitor.py
+++ b/src/pythonKarabo/karabo/interactive/container_monitor.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import signal
import subprocess
from argparse import ArgumentParser
diff --git a/src/pythonKarabo/karabo/interactive/convert_device_project.py b/src/pythonKarabo/karabo/interactive/convert_device_project.py
index fbc6411ff6..dfffcf3ebf 100644
--- a/src/pythonKarabo/karabo/interactive/convert_device_project.py
+++ b/src/pythonKarabo/karabo/interactive/convert_device_project.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import argparse
import copy
import os
diff --git a/src/pythonKarabo/karabo/interactive/deviceClient.py b/src/pythonKarabo/karabo/interactive/deviceClient.py
index 9730458d3c..31a93fcb14 100644
--- a/src/pythonKarabo/karabo/interactive/deviceClient.py
+++ b/src/pythonKarabo/karabo/interactive/deviceClient.py
@@ -1,6 +1,20 @@
#!/usr/bin/python
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
+#
# Author:
#
diff --git a/src/pythonKarabo/karabo/interactive/ideviceclient.py b/src/pythonKarabo/karabo/interactive/ideviceclient.py
index 3c7675c6ef..03254ab99a 100644
--- a/src/pythonKarabo/karabo/interactive/ideviceclient.py
+++ b/src/pythonKarabo/karabo/interactive/ideviceclient.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from threading import Thread
from IPython import start_ipython
diff --git a/src/pythonKarabo/karabo/interactive/ikarabo.py b/src/pythonKarabo/karabo/interactive/ikarabo.py
index 91722271b9..36c1ae4e09 100644
--- a/src/pythonKarabo/karabo/interactive/ikarabo.py
+++ b/src/pythonKarabo/karabo/interactive/ikarabo.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from IPython import start_ipython
SCRIPT = """
diff --git a/src/pythonKarabo/karabo/interactive/jupyter_kernel.py b/src/pythonKarabo/karabo/interactive/jupyter_kernel.py
index 74fe763935..41dc5c1a31 100644
--- a/src/pythonKarabo/karabo/interactive/jupyter_kernel.py
+++ b/src/pythonKarabo/karabo/interactive/jupyter_kernel.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import socket
import sys
diff --git a/src/pythonKarabo/karabo/interactive/karabo.py b/src/pythonKarabo/karabo/interactive/karabo.py
index 99d5fbff69..cd301ca9a2 100644
--- a/src/pythonKarabo/karabo/interactive/karabo.py
+++ b/src/pythonKarabo/karabo/interactive/karabo.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import argparse
import contextlib
import copy
diff --git a/src/pythonKarabo/karabo/interactive/scene2python.py b/src/pythonKarabo/karabo/interactive/scene2python.py
index 883edab126..f6aff99cbc 100644
--- a/src/pythonKarabo/karabo/interactive/scene2python.py
+++ b/src/pythonKarabo/karabo/interactive/scene2python.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import argparse
from traits.api import Instance, List
diff --git a/src/pythonKarabo/karabo/interactive/startkarabo.py b/src/pythonKarabo/karabo/interactive/startkarabo.py
index dd805bcb87..87097f6248 100644
--- a/src/pythonKarabo/karabo/interactive/startkarabo.py
+++ b/src/pythonKarabo/karabo/interactive/startkarabo.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
"""Starting and stopping Karabo
============================
diff --git a/src/pythonKarabo/karabo/interactive/static/docs.html b/src/pythonKarabo/karabo/interactive/static/docs.html
index 84ff89b023..ab3455a9b9 100644
--- a/src/pythonKarabo/karabo/interactive/static/docs.html
+++ b/src/pythonKarabo/karabo/interactive/static/docs.html
@@ -1,5 +1,21 @@
-
+
diff --git a/src/pythonKarabo/karabo/interactive/templates/aggregator_index.html b/src/pythonKarabo/karabo/interactive/templates/aggregator_index.html
index 1105c3ea72..c97d404501 100644
--- a/src/pythonKarabo/karabo/interactive/templates/aggregator_index.html
+++ b/src/pythonKarabo/karabo/interactive/templates/aggregator_index.html
@@ -1,5 +1,21 @@
-
+
diff --git a/src/pythonKarabo/karabo/interactive/templates/index.html b/src/pythonKarabo/karabo/interactive/templates/index.html
index 840360882b..494a5a55b8 100644
--- a/src/pythonKarabo/karabo/interactive/templates/index.html
+++ b/src/pythonKarabo/karabo/interactive/templates/index.html
@@ -1,5 +1,21 @@
-
+
diff --git a/src/pythonKarabo/karabo/interactive/templates/index_row.html b/src/pythonKarabo/karabo/interactive/templates/index_row.html
index 419b860a5f..2db1ce0c66 100644
--- a/src/pythonKarabo/karabo/interactive/templates/index_row.html
+++ b/src/pythonKarabo/karabo/interactive/templates/index_row.html
@@ -1,4 +1,20 @@
-
+
diff --git a/src/pythonKarabo/karabo/interactive/templates/refresh.html b/src/pythonKarabo/karabo/interactive/templates/refresh.html
index 50068f4fa8..3e9926b32d 100644
--- a/src/pythonKarabo/karabo/interactive/templates/refresh.html
+++ b/src/pythonKarabo/karabo/interactive/templates/refresh.html
@@ -1,5 +1,21 @@
-
+
diff --git a/src/pythonKarabo/karabo/interactive/tests/__init__.py b/src/pythonKarabo/karabo/interactive/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/interactive/tests/__init__.py
+++ b/src/pythonKarabo/karabo/interactive/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/interactive/tests/jupyter_test.py b/src/pythonKarabo/karabo/interactive/tests/jupyter_test.py
index f23e544a52..f55270a739 100644
--- a/src/pythonKarabo/karabo/interactive/tests/jupyter_test.py
+++ b/src/pythonKarabo/karabo/interactive/tests/jupyter_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os.path as op
import sys
from unittest import TestCase, main
diff --git a/src/pythonKarabo/karabo/interactive/tests/test_code_quality.py b/src/pythonKarabo/karabo/interactive/tests/test_code_quality.py
index dbb2ed3fd1..37fe7fa1f3 100644
--- a/src/pythonKarabo/karabo/interactive/tests/test_code_quality.py
+++ b/src/pythonKarabo/karabo/interactive/tests/test_code_quality.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os.path as op
import subprocess
import sys
diff --git a/src/pythonKarabo/karabo/interactive/webaggregatorserver.py b/src/pythonKarabo/karabo/interactive/webaggregatorserver.py
index 05c0058cfd..0a013607ab 100644
--- a/src/pythonKarabo/karabo/interactive/webaggregatorserver.py
+++ b/src/pythonKarabo/karabo/interactive/webaggregatorserver.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import json
import os
import time
diff --git a/src/pythonKarabo/karabo/interactive/webserver.py b/src/pythonKarabo/karabo/interactive/webserver.py
index e0733ff01e..486844d7f8 100644
--- a/src/pythonKarabo/karabo/interactive/webserver.py
+++ b/src/pythonKarabo/karabo/interactive/webserver.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import json
import os
import socket
diff --git a/src/pythonKarabo/karabo/macro_api/__init__.py b/src/pythonKarabo/karabo/macro_api/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/macro_api/__init__.py
+++ b/src/pythonKarabo/karabo/macro_api/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/macro_api/alarms.py b/src/pythonKarabo/karabo/macro_api/alarms.py
index 2b5a9eb7df..c261daf00e 100644
--- a/src/pythonKarabo/karabo/macro_api/alarms.py
+++ b/src/pythonKarabo/karabo/macro_api/alarms.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from asyncio import TimeoutError, wait_for
from collections import OrderedDict, namedtuple
diff --git a/src/pythonKarabo/karabo/macro_api/device_interface.py b/src/pythonKarabo/karabo/macro_api/device_interface.py
index b9bb85bf12..f754cefdff 100644
--- a/src/pythonKarabo/karabo/macro_api/device_interface.py
+++ b/src/pythonKarabo/karabo/macro_api/device_interface.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.common.enums import Capabilities, Interfaces
from karabo.middlelayer_api.device_client import getTopology
diff --git a/src/pythonKarabo/karabo/macro_api/tests/__init__.py b/src/pythonKarabo/karabo/macro_api/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/macro_api/tests/__init__.py
+++ b/src/pythonKarabo/karabo/macro_api/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/macro_api/tests/api_module_test.py b/src/pythonKarabo/karabo/macro_api/tests/api_module_test.py
index 7865918dde..768afc4d6b 100644
--- a/src/pythonKarabo/karabo/macro_api/tests/api_module_test.py
+++ b/src/pythonKarabo/karabo/macro_api/tests/api_module_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os.path as op
from karabo.testing.import_checker import check_for_star_imports
diff --git a/src/pythonKarabo/karabo/macro_api/tests/interfaces_test.py b/src/pythonKarabo/karabo/macro_api/tests/interfaces_test.py
index f7be1927cf..a6a6348900 100644
--- a/src/pythonKarabo/karabo/macro_api/tests/interfaces_test.py
+++ b/src/pythonKarabo/karabo/macro_api/tests/interfaces_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from contextlib import contextmanager
from unittest import main
diff --git a/src/pythonKarabo/karabo/macro_api/tests/test_code_quality.py b/src/pythonKarabo/karabo/macro_api/tests/test_code_quality.py
index 782f09934f..9723d76ee4 100644
--- a/src/pythonKarabo/karabo/macro_api/tests/test_code_quality.py
+++ b/src/pythonKarabo/karabo/macro_api/tests/test_code_quality.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os.path as op
import subprocess
diff --git a/src/pythonKarabo/karabo/macro_devices/__init__.py b/src/pythonKarabo/karabo/macro_devices/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/macro_devices/__init__.py
+++ b/src/pythonKarabo/karabo/macro_devices/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/macro_devices/ipython.py b/src/pythonKarabo/karabo/macro_devices/ipython.py
index 2f3be74d73..526aaebf0b 100644
--- a/src/pythonKarabo/karabo/macro_devices/ipython.py
+++ b/src/pythonKarabo/karabo/macro_devices/ipython.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import pickle
from asyncio import TimeoutError, ensure_future, get_event_loop, wait_for
from queue import Empty
diff --git a/src/pythonKarabo/karabo/macro_devices/macro_server.py b/src/pythonKarabo/karabo/macro_devices/macro_server.py
index 3f9723eaed..4e115bd595 100644
--- a/src/pythonKarabo/karabo/macro_devices/macro_server.py
+++ b/src/pythonKarabo/karabo/macro_devices/macro_server.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import sys
from karabo.middlelayer import AccessLevel, Overwrite
diff --git a/src/pythonKarabo/karabo/macro_devices/metamacro.py b/src/pythonKarabo/karabo/macro_devices/metamacro.py
index 459398ff77..9b906bafa4 100644
--- a/src/pythonKarabo/karabo/macro_devices/metamacro.py
+++ b/src/pythonKarabo/karabo/macro_devices/metamacro.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.common.sanity_check import validate_macro
from karabo.middlelayer import (
AccessLevel, AccessMode, Device, Macro, Overwrite, String, isSet)
diff --git a/src/pythonKarabo/karabo/macro_devices/tests/__init__.py b/src/pythonKarabo/karabo/macro_devices/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/macro_devices/tests/__init__.py
+++ b/src/pythonKarabo/karabo/macro_devices/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/macro_devices/tests/ipython_test.py b/src/pythonKarabo/karabo/macro_devices/tests/ipython_test.py
index 5bf10c0083..dc1dfcc551 100644
--- a/src/pythonKarabo/karabo/macro_devices/tests/ipython_test.py
+++ b/src/pythonKarabo/karabo/macro_devices/tests/ipython_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import pickle
from asyncio import Future, TimeoutError, wait_for
from datetime import datetime, timezone
diff --git a/src/pythonKarabo/karabo/macro_devices/tests/macroserver_test.py b/src/pythonKarabo/karabo/macro_devices/tests/macroserver_test.py
index c522a9f662..28f1b71416 100644
--- a/src/pythonKarabo/karabo/macro_devices/tests/macroserver_test.py
+++ b/src/pythonKarabo/karabo/macro_devices/tests/macroserver_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import uuid
from asyncio import get_event_loop, set_event_loop
from contextlib import ExitStack, contextmanager
diff --git a/src/pythonKarabo/karabo/macros.py b/src/pythonKarabo/karabo/macros.py
index afb2026f03..ff9572836e 100644
--- a/src/pythonKarabo/karabo/macros.py
+++ b/src/pythonKarabo/karabo/macros.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from .macro_api.alarms import showAlarms, showInterlocks
from .macro_api.device_interface import (
listCameras, listDeviceInstantiators, listMotors, listMultiAxisMotors,
diff --git a/src/pythonKarabo/karabo/middlelayer/__init__.py b/src/pythonKarabo/karabo/middlelayer/__init__.py
index 2f761dc03b..86165bb6e2 100644
--- a/src/pythonKarabo/karabo/middlelayer/__init__.py
+++ b/src/pythonKarabo/karabo/middlelayer/__init__.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa: F401
"""This is the complete public API for middle layer devices. You are
free to use everything defined here, try to avoid doing deep imports
diff --git a/src/pythonKarabo/karabo/middlelayer/cli/__init__.py b/src/pythonKarabo/karabo/middlelayer/cli/__init__.py
index c4dcf62731..85e8831e5d 100644
--- a/src/pythonKarabo/karabo/middlelayer/cli/__init__.py
+++ b/src/pythonKarabo/karabo/middlelayer/cli/__init__.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa: F401
import karabo
diff --git a/src/pythonKarabo/karabo/middlelayer/testing/__init__.py b/src/pythonKarabo/karabo/middlelayer/testing/__init__.py
index 7aeea2976a..d8d88b31d1 100644
--- a/src/pythonKarabo/karabo/middlelayer/testing/__init__.py
+++ b/src/pythonKarabo/karabo/middlelayer/testing/__init__.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa: F401
from karabo.middlelayer_api.tests.eventloop import (
diff --git a/src/pythonKarabo/karabo/middlelayer/testing/naming.py b/src/pythonKarabo/karabo/middlelayer/testing/naming.py
index 4a3486fdb1..c901af0235 100644
--- a/src/pythonKarabo/karabo/middlelayer/testing/naming.py
+++ b/src/pythonKarabo/karabo/middlelayer/testing/naming.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import inspect
import re
import sys
diff --git a/src/pythonKarabo/karabo/middlelayer/testing/utils.py b/src/pythonKarabo/karabo/middlelayer/testing/utils.py
index fb0044721a..9eaaea3c27 100644
--- a/src/pythonKarabo/karabo/middlelayer/testing/utils.py
+++ b/src/pythonKarabo/karabo/middlelayer/testing/utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import ast
import collections
import functools
diff --git a/src/pythonKarabo/karabo/middlelayer_api/__init__.py b/src/pythonKarabo/karabo/middlelayer_api/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/__init__.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/middlelayer_api/alarm.py b/src/pythonKarabo/karabo/middlelayer_api/alarm.py
index ad6a250149..62dde483d9 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/alarm.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/alarm.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.common.alarm_conditions import AlarmCondition
from karabo.native import (
AccessLevel, AccessMode, Configurable, DaqPolicy, EnumValue, Hash, String,
diff --git a/src/pythonKarabo/karabo/middlelayer_api/broker/__init__.py b/src/pythonKarabo/karabo/middlelayer_api/broker/__init__.py
index 7d27e5e7ac..681738eb59 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/broker/__init__.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/broker/__init__.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
from . import openmq
from .base import Broker
diff --git a/src/pythonKarabo/karabo/middlelayer_api/broker/amqp_broker.py b/src/pythonKarabo/karabo/middlelayer_api/broker/amqp_broker.py
index 03cd8e0303..eae94c395c 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/broker/amqp_broker.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/broker/amqp_broker.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import asyncio
import logging
import os
diff --git a/src/pythonKarabo/karabo/middlelayer_api/broker/base.py b/src/pythonKarabo/karabo/middlelayer_api/broker/base.py
index e68509442c..12448a0e54 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/broker/base.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/broker/base.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import inspect
import time
import traceback
diff --git a/src/pythonKarabo/karabo/middlelayer_api/broker/compat.py b/src/pythonKarabo/karabo/middlelayer_api/broker/compat.py
index 8e638faf41..015fccc96a 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/broker/compat.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/broker/compat.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
from contextlib import suppress
diff --git a/src/pythonKarabo/karabo/middlelayer_api/broker/jms_broker.py b/src/pythonKarabo/karabo/middlelayer_api/broker/jms_broker.py
index 809b9675b3..59b6712a70 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/broker/jms_broker.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/broker/jms_broker.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import asyncio
import logging
import socket
diff --git a/src/pythonKarabo/karabo/middlelayer_api/broker/mqtt_broker.py b/src/pythonKarabo/karabo/middlelayer_api/broker/mqtt_broker.py
index d286651e83..70501aada7 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/broker/mqtt_broker.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/broker/mqtt_broker.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import asyncio
import logging
import os
diff --git a/src/pythonKarabo/karabo/middlelayer_api/broker/openmq.py b/src/pythonKarabo/karabo/middlelayer_api/broker/openmq.py
index e7c15f25b8..5dc6c979b9 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/broker/openmq.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/broker/openmq.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import logging
import numbers
from collections.abc import MutableMapping
diff --git a/src/pythonKarabo/karabo/middlelayer_api/broker/pahomqtt.py b/src/pythonKarabo/karabo/middlelayer_api/broker/pahomqtt.py
index a0983c4ca0..6c12ccf9e2 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/broker/pahomqtt.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/broker/pahomqtt.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# The code was borrowed from 'asyncio_mqtt' package and
# 'loop_asyncio.py' example (paho.mqtt.python) and adapted
# due to middlelayer EventLoop requirements.
diff --git a/src/pythonKarabo/karabo/middlelayer_api/broker/tests/__init__.py b/src/pythonKarabo/karabo/middlelayer_api/broker/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/broker/tests/__init__.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/broker/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/middlelayer_api/broker/tests/test_utils.py b/src/pythonKarabo/karabo/middlelayer_api/broker/tests/test_utils.py
index c9126fb14e..9c40c49f16 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/broker/tests/test_utils.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/broker/tests/test_utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import pytest
from ..utils import check_broker_scheme
diff --git a/src/pythonKarabo/karabo/middlelayer_api/broker/utils.py b/src/pythonKarabo/karabo/middlelayer_api/broker/utils.py
index 218d2ba759..34508ef09e 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/broker/utils.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/broker/utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import re
_BROKER_SCHEMES = ("tcp", "amqp", "mqtt")
diff --git a/src/pythonKarabo/karabo/middlelayer_api/configuration.py b/src/pythonKarabo/karabo/middlelayer_api/configuration.py
index b4bdced9e6..5ae2d71399 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/configuration.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/configuration.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.common import const
from karabo.common.api import (
KARABO_SCHEMA_ACCESS_MODE, KARABO_SCHEMA_ASSIGNMENT,
diff --git a/src/pythonKarabo/karabo/middlelayer_api/device.py b/src/pythonKarabo/karabo/middlelayer_api/device.py
index db28b2cf4d..b5a5c370ff 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/device.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/device.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import socket
from asyncio import sleep
diff --git a/src/pythonKarabo/karabo/middlelayer_api/device_client.py b/src/pythonKarabo/karabo/middlelayer_api/device_client.py
index 19fb75d2eb..8b28387294 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/device_client.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/device_client.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
"""This is the machinery to communicate with remote devices.
Usually, one communicated with a remote device by creating a device
diff --git a/src/pythonKarabo/karabo/middlelayer_api/device_server.py b/src/pythonKarabo/karabo/middlelayer_api/device_server.py
index 436a960576..88e9f5fd4c 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/device_server.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/device_server.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import copy
import os
import socket
diff --git a/src/pythonKarabo/karabo/middlelayer_api/deviceclientproject.py b/src/pythonKarabo/karabo/middlelayer_api/deviceclientproject.py
index c0bb2e9638..1fd76154f8 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/deviceclientproject.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/deviceclientproject.py
@@ -1,7 +1,21 @@
#############################################################################
# Author:
# Created on September 9, 2014
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
""" This module contains a class which represents the project related
diff --git a/src/pythonKarabo/karabo/middlelayer_api/devicenode.py b/src/pythonKarabo/karabo/middlelayer_api/devicenode.py
index 0aaaf60b2d..28717c46e2 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/devicenode.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/devicenode.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import warnings
from karabo.native import (
diff --git a/src/pythonKarabo/karabo/middlelayer_api/eventloop.py b/src/pythonKarabo/karabo/middlelayer_api/eventloop.py
index 32865263b2..876fbdfc16 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/eventloop.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/eventloop.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import asyncio
import getpass
diff --git a/src/pythonKarabo/karabo/middlelayer_api/heartbeat_mixin.py b/src/pythonKarabo/karabo/middlelayer_api/heartbeat_mixin.py
index ced5ca90fb..e9a5ed0d0f 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/heartbeat_mixin.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/heartbeat_mixin.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from asyncio import ensure_future, gather, sleep
from karabo.native import (
diff --git a/src/pythonKarabo/karabo/middlelayer_api/ikarabo.py b/src/pythonKarabo/karabo/middlelayer_api/ikarabo.py
index ed1b6a25ea..82062f67f6 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/ikarabo.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/ikarabo.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import atexit
import functools
import os
diff --git a/src/pythonKarabo/karabo/middlelayer_api/injectable.py b/src/pythonKarabo/karabo/middlelayer_api/injectable.py
index a8c4e26b2a..77bb1fa4cf 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/injectable.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/injectable.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from asyncio import gather, get_event_loop
from itertools import chain
diff --git a/src/pythonKarabo/karabo/middlelayer_api/logger.py b/src/pythonKarabo/karabo/middlelayer_api/logger.py
index 313fb84299..c68daa24dc 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/logger.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/logger.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import logging
import traceback
from bisect import bisect
diff --git a/src/pythonKarabo/karabo/middlelayer_api/macro.py b/src/pythonKarabo/karabo/middlelayer_api/macro.py
index 99f47d994f..624643f9fc 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/macro.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/macro.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import atexit
import os
import socket
diff --git a/src/pythonKarabo/karabo/middlelayer_api/numeric.py b/src/pythonKarabo/karabo/middlelayer_api/numeric.py
index 7b0e5fb2de..ebe8d65636 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/numeric.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/numeric.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa: F401
"""
Unit-aware replacements for :py:mod:`numpy` functions
diff --git a/src/pythonKarabo/karabo/middlelayer_api/output.py b/src/pythonKarabo/karabo/middlelayer_api/output.py
index 8962ce9467..e083b4dae7 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/output.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/output.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
""" This module redirects output """
from asyncio import get_event_loop
diff --git a/src/pythonKarabo/karabo/middlelayer_api/pipeline.py b/src/pythonKarabo/karabo/middlelayer_api/pipeline.py
index 2ce363d984..6bfe8e32af 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/pipeline.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/pipeline.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import socket
import warnings
diff --git a/src/pythonKarabo/karabo/middlelayer_api/plugin_loader.py b/src/pythonKarabo/karabo/middlelayer_api/plugin_loader.py
index d2462e58b4..fd364e8ea9 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/plugin_loader.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/plugin_loader.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from asyncio import get_event_loop
import pkg_resources
diff --git a/src/pythonKarabo/karabo/middlelayer_api/proxy.py b/src/pythonKarabo/karabo/middlelayer_api/proxy.py
index 751f9e6840..5f538d624e 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/proxy.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/proxy.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import asyncio
import time
from collections import defaultdict
diff --git a/src/pythonKarabo/karabo/middlelayer_api/signalslot.py b/src/pythonKarabo/karabo/middlelayer_api/signalslot.py
index c5bed06818..85422b13e5 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/signalslot.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/signalslot.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import inspect
import logging
diff --git a/src/pythonKarabo/karabo/middlelayer_api/synchronization.py b/src/pythonKarabo/karabo/middlelayer_api/synchronization.py
index 8926d34534..0a66366010 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/synchronization.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/synchronization.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
"""This module contains some synchronization routines for users"""
import asyncio
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/__init__.py b/src/pythonKarabo/karabo/middlelayer_api/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/__init__.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/alarm_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/alarm_test.py
index 81edd1edd9..00023394bb 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/alarm_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/alarm_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from unittest import TestCase, main
from karabo.middlelayer import (
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/api_module_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/api_module_test.py
index 6b73d2330f..3cbec88910 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/api_module_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/api_module_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
import os.path as op
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/cli_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/cli_test.py
index 5242644391..0b2790b4e6 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/cli_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/cli_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import gc
import time
import weakref
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/code_quality_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/code_quality_test.py
index e9d3fffe55..30eeef1860 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/code_quality_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/code_quality_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os.path as op
import subprocess
import sys
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/configuration_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/configuration_test.py
index f3130541f1..e4318fbc5c 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/configuration_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/configuration_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from copy import deepcopy
import numpy as np
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/context_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/context_test.py
index 41d0445de4..af262191d4 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/context_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/context_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import uuid
from asyncio import ensure_future, get_event_loop, sleep
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/device_client_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/device_client_test.py
index 73be45808b..71dfbb6462 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/device_client_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/device_client_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import time
from asyncio import gather, get_event_loop, sleep
from contextlib import contextmanager
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/device_server_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/device_server_test.py
index 510089a135..2438cfeeb1 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/device_server_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/device_server_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import json
import uuid
from asyncio import gather, sleep, wait
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/device_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/device_test.py
index b818ad2dcc..38c8c0ee16 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/device_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/device_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from asyncio import TimeoutError, get_event_loop, sleep
import numpy as np
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/eventloop.py b/src/pythonKarabo/karabo/middlelayer_api/tests/eventloop.py
index 11ba90b646..11a407835f 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/eventloop.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/eventloop.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import uuid
import weakref
from asyncio import gather, get_event_loop, set_event_loop, sleep, wait_for
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/eventloop_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/eventloop_test.py
index 4f07373fb8..c3b22526f4 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/eventloop_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/eventloop_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from asyncio import CancelledError, Lock
from unittest import main
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/heartbeat_mixin_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/heartbeat_mixin_test.py
index 752fefbbb9..ee19751ca7 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/heartbeat_mixin_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/heartbeat_mixin_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import asyncio
import pytest
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/inject_node_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/inject_node_test.py
index b031fdb91f..755cb63d1c 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/inject_node_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/inject_node_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import pytest
from karabo.middlelayer import (
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/macro_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/macro_test.py
index 113994de88..e883709275 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/macro_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/macro_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import sys
import time
import weakref
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/monitor_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/monitor_test.py
index 85077c22af..2dad994f77 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/monitor_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/monitor_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import time
from asyncio import Future, ensure_future, sleep
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/ordering_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/ordering_test.py
index 1104ea6244..e39635a370 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/ordering_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/ordering_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import pytest
import pytest_asyncio
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/pipeline_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/pipeline_test.py
index bf599eec86..94091cfa67 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/pipeline_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/pipeline_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import socket
from asyncio import (
Future, IncompleteReadError, StreamReader, StreamWriter, WriteTransport,
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/pretty_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/pretty_test.py
index 6e4c8b2403..17e6300a23 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/pretty_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/pretty_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
from enum import Enum
from textwrap import dedent
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/proxy_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/proxy_test.py
index ab48eb8ec9..f670b48662 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/proxy_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/proxy_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from unittest import TestCase, main
from weakref import ref
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/remote_pipeline_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/remote_pipeline_test.py
index db701c7df2..79c2d664df 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/remote_pipeline_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/remote_pipeline_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from asyncio import Future, TimeoutError, sleep, wait_for
import pytest
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/remote_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/remote_test.py
index a9600cbffc..f91b32f434 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/remote_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/remote_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import time
import traceback
import weakref
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/synchronization_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/synchronization_test.py
index 2b28b5f57d..ddc7e4a459 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/synchronization_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/synchronization_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import logging
import time
from asyncio import CancelledError, Future, TimeoutError, ensure_future
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/unitutil_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/unitutil_test.py
index bb8f8134fe..2025b23ab4 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/unitutil_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/unitutil_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from unittest import TestCase, main
from pint import DimensionalityError
diff --git a/src/pythonKarabo/karabo/middlelayer_api/tests/utils_test.py b/src/pythonKarabo/karabo/middlelayer_api/tests/utils_test.py
index 4f022505ee..8f38bfe83b 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/tests/utils_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/tests/utils_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import asyncio
import time
diff --git a/src/pythonKarabo/karabo/middlelayer_api/unitutil.py b/src/pythonKarabo/karabo/middlelayer_api/unitutil.py
index 191dea0614..a135969458 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/unitutil.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/unitutil.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import copy
from asyncio import iscoroutinefunction
from collections.abc import Iterable
diff --git a/src/pythonKarabo/karabo/middlelayer_api/utils.py b/src/pythonKarabo/karabo/middlelayer_api/utils.py
index fc5c0b8723..a2876a11c5 100644
--- a/src/pythonKarabo/karabo/middlelayer_api/utils.py
+++ b/src/pythonKarabo/karabo/middlelayer_api/utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import asyncio
import logging
import os
diff --git a/src/pythonKarabo/karabo/middlelayer_devices/__init__.py b/src/pythonKarabo/karabo/middlelayer_devices/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/middlelayer_devices/__init__.py
+++ b/src/pythonKarabo/karabo/middlelayer_devices/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/middlelayer_devices/configuration_manager.py b/src/pythonKarabo/karabo/middlelayer_devices/configuration_manager.py
index bb1c1ecf78..cbdad9e4f8 100644
--- a/src/pythonKarabo/karabo/middlelayer_devices/configuration_manager.py
+++ b/src/pythonKarabo/karabo/middlelayer_devices/configuration_manager.py
@@ -1,7 +1,21 @@
#############################################################################
# Author: degon & costar
# Created on August 21, 2020, 11:42 AM
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
import os
import os.path as op
diff --git a/src/pythonKarabo/karabo/middlelayer_devices/daemon_manager.py b/src/pythonKarabo/karabo/middlelayer_devices/daemon_manager.py
index e58da928ba..a8b26bf3c4 100644
--- a/src/pythonKarabo/karabo/middlelayer_devices/daemon_manager.py
+++ b/src/pythonKarabo/karabo/middlelayer_devices/daemon_manager.py
@@ -1,7 +1,21 @@
#############################################################################
# Author: degon
# Created on November, 2019, 01:06 PM
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
import json
from asyncio import CancelledError
diff --git a/src/pythonKarabo/karabo/middlelayer_devices/project_manager.py b/src/pythonKarabo/karabo/middlelayer_devices/project_manager.py
index 27984a7731..314b9f07d3 100644
--- a/src/pythonKarabo/karabo/middlelayer_devices/project_manager.py
+++ b/src/pythonKarabo/karabo/middlelayer_devices/project_manager.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from io import StringIO
from lxml import etree
diff --git a/src/pythonKarabo/karabo/middlelayer_devices/property_test.py b/src/pythonKarabo/karabo/middlelayer_devices/property_test.py
index 32dfb9c8c7..4b2905163c 100644
--- a/src/pythonKarabo/karabo/middlelayer_devices/property_test.py
+++ b/src/pythonKarabo/karabo/middlelayer_devices/property_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import time
from asyncio import CancelledError, shield
diff --git a/src/pythonKarabo/karabo/middlelayer_devices/tests/__init__.py b/src/pythonKarabo/karabo/middlelayer_devices/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/middlelayer_devices/tests/__init__.py
+++ b/src/pythonKarabo/karabo/middlelayer_devices/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/middlelayer_devices/tests/projectdb_util.py b/src/pythonKarabo/karabo/middlelayer_devices/tests/projectdb_util.py
index 41a85e7914..f1f4c5bf13 100644
--- a/src/pythonKarabo/karabo/middlelayer_devices/tests/projectdb_util.py
+++ b/src/pythonKarabo/karabo/middlelayer_devices/tests/projectdb_util.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
from abc import abstractmethod
from asyncio import sleep, wait_for
diff --git a/src/pythonKarabo/karabo/middlelayer_devices/tests/test_code_quality.py b/src/pythonKarabo/karabo/middlelayer_devices/tests/test_code_quality.py
index b0f7df2e0e..cb324536cb 100644
--- a/src/pythonKarabo/karabo/middlelayer_devices/tests/test_code_quality.py
+++ b/src/pythonKarabo/karabo/middlelayer_devices/tests/test_code_quality.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import subprocess
import unittest
diff --git a/src/pythonKarabo/karabo/middlelayer_devices/tests/test_config_manager.py b/src/pythonKarabo/karabo/middlelayer_devices/tests/test_config_manager.py
index 227afbf23d..8f615dc4d7 100644
--- a/src/pythonKarabo/karabo/middlelayer_devices/tests/test_config_manager.py
+++ b/src/pythonKarabo/karabo/middlelayer_devices/tests/test_config_manager.py
@@ -1,7 +1,21 @@
#############################################################################
# Author: degon & costar
# Created on August 21, 2020, 11:42 AM
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
#############################################################################
import os
from contextlib import contextmanager
diff --git a/src/pythonKarabo/karabo/middlelayer_devices/tests/test_file_project_manager.py b/src/pythonKarabo/karabo/middlelayer_devices/tests/test_file_project_manager.py
index db4cb34fcf..b675b320ac 100644
--- a/src/pythonKarabo/karabo/middlelayer_devices/tests/test_file_project_manager.py
+++ b/src/pythonKarabo/karabo/middlelayer_devices/tests/test_file_project_manager.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import tempfile
from contextlib import contextmanager
diff --git a/src/pythonKarabo/karabo/middlelayer_devices/tests/test_project_manager.py b/src/pythonKarabo/karabo/middlelayer_devices/tests/test_project_manager.py
index 9179ceb8ec..8b00818461 100644
--- a/src/pythonKarabo/karabo/middlelayer_devices/tests/test_project_manager.py
+++ b/src/pythonKarabo/karabo/middlelayer_devices/tests/test_project_manager.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
from contextlib import contextmanager
diff --git a/src/pythonKarabo/karabo/middlelayer_devices/tests/test_propertymdl.py b/src/pythonKarabo/karabo/middlelayer_devices/tests/test_propertymdl.py
index 54aab271d1..bc163e3aca 100644
--- a/src/pythonKarabo/karabo/middlelayer_devices/tests/test_propertymdl.py
+++ b/src/pythonKarabo/karabo/middlelayer_devices/tests/test_propertymdl.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from contextlib import contextmanager
from karabo.middlelayer import (
diff --git a/src/pythonKarabo/karabo/native/__init__.py b/src/pythonKarabo/karabo/native/__init__.py
index df2d3a6712..6d219c16f0 100644
--- a/src/pythonKarabo/karabo/native/__init__.py
+++ b/src/pythonKarabo/karabo/native/__init__.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
# Import project namespace
from .data import *
diff --git a/src/pythonKarabo/karabo/native/data/__init__.py b/src/pythonKarabo/karabo/native/data/__init__.py
index 4d0eb4dcda..a34443b12a 100644
--- a/src/pythonKarabo/karabo/native/data/__init__.py
+++ b/src/pythonKarabo/karabo/native/data/__init__.py
@@ -1,6 +1,20 @@
"""The karabo_hash package.
-Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+ This file is part of Karabo.
+
+ http://www.karabo.eu
+
+ Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+
+ Karabo is free software: you can redistribute it and/or modify it under
+ the terms of the MPL-2 Mozilla Public License.
+
+ You should have received a copy of the MPL-2 Public License along with
+ Karabo. If not, see .
+
+ Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE.
"""
# flake8: noqa
diff --git a/src/pythonKarabo/karabo/native/data/bin_reader.py b/src/pythonKarabo/karabo/native/data/bin_reader.py
index 834c33a259..cac03e2231 100644
--- a/src/pythonKarabo/karabo/native/data/bin_reader.py
+++ b/src/pythonKarabo/karabo/native/data/bin_reader.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from functools import partial
from struct import calcsize, unpack
diff --git a/src/pythonKarabo/karabo/native/data/bin_writer.py b/src/pythonKarabo/karabo/native/data/bin_writer.py
index 5ffe1a226c..20acd7cd21 100644
--- a/src/pythonKarabo/karabo/native/data/bin_writer.py
+++ b/src/pythonKarabo/karabo/native/data/bin_writer.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from functools import partial
from struct import pack
diff --git a/src/pythonKarabo/karabo/native/data/compare.py b/src/pythonKarabo/karabo/native/data/compare.py
index cfed3adc96..08104a3f42 100644
--- a/src/pythonKarabo/karabo/native/data/compare.py
+++ b/src/pythonKarabo/karabo/native/data/compare.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import numbers
import numpy as np
diff --git a/src/pythonKarabo/karabo/native/data/enums.py b/src/pythonKarabo/karabo/native/data/enums.py
index 0546712223..a08c8355f5 100644
--- a/src/pythonKarabo/karabo/native/data/enums.py
+++ b/src/pythonKarabo/karabo/native/data/enums.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from enum import Enum, IntEnum, unique
from functools import total_ordering
diff --git a/src/pythonKarabo/karabo/native/data/hash.py b/src/pythonKarabo/karabo/native/data/hash.py
index aca3eac731..e7348a6667 100644
--- a/src/pythonKarabo/karabo/native/data/hash.py
+++ b/src/pythonKarabo/karabo/native/data/hash.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import numbers
from collections import OrderedDict
from collections.abc import Iterable
diff --git a/src/pythonKarabo/karabo/native/data/str_converter.py b/src/pythonKarabo/karabo/native/data/str_converter.py
index a48de6618d..be078478df 100644
--- a/src/pythonKarabo/karabo/native/data/str_converter.py
+++ b/src/pythonKarabo/karabo/native/data/str_converter.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import ast
import base64
from functools import partial
diff --git a/src/pythonKarabo/karabo/native/data/tests/__init__.py b/src/pythonKarabo/karabo/native/data/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/native/data/tests/__init__.py
+++ b/src/pythonKarabo/karabo/native/data/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/native/data/tests/test_compare.py b/src/pythonKarabo/karabo/native/data/tests/test_compare.py
index 7671bc1c18..786274bab4 100644
--- a/src/pythonKarabo/karabo/native/data/tests/test_compare.py
+++ b/src/pythonKarabo/karabo/native/data/tests/test_compare.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import numpy as np
from karabo.native import Hash, HashList, has_changes
diff --git a/src/pythonKarabo/karabo/native/data/tests/test_converters.py b/src/pythonKarabo/karabo/native/data/tests/test_converters.py
index 6e43e3bffd..1ad241942a 100644
--- a/src/pythonKarabo/karabo/native/data/tests/test_converters.py
+++ b/src/pythonKarabo/karabo/native/data/tests/test_converters.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from unittest import TestCase, main
import numpy as np
diff --git a/src/pythonKarabo/karabo/native/data/tests/test_hash.py b/src/pythonKarabo/karabo/native/data/tests/test_hash.py
index 6ea8674d14..a29e5ff4e2 100644
--- a/src/pythonKarabo/karabo/native/data/tests/test_hash.py
+++ b/src/pythonKarabo/karabo/native/data/tests/test_hash.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import numpy as np
from numpy.testing import assert_array_equal
diff --git a/src/pythonKarabo/karabo/native/data/tests/test_schema.py b/src/pythonKarabo/karabo/native/data/tests/test_schema.py
index e9ed519b90..d76d236485 100644
--- a/src/pythonKarabo/karabo/native/data/tests/test_schema.py
+++ b/src/pythonKarabo/karabo/native/data/tests/test_schema.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from copy import deepcopy
from unittest import TestCase, main
diff --git a/src/pythonKarabo/karabo/native/data/tests/test_serializers.py b/src/pythonKarabo/karabo/native/data/tests/test_serializers.py
index f8c46bff4b..c54805f09f 100644
--- a/src/pythonKarabo/karabo/native/data/tests/test_serializers.py
+++ b/src/pythonKarabo/karabo/native/data/tests/test_serializers.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
from pathlib import Path
from tempfile import TemporaryDirectory
diff --git a/src/pythonKarabo/karabo/native/data/tests/test_timestamp.py b/src/pythonKarabo/karabo/native/data/tests/test_timestamp.py
index d7e9ab0aad..95dd0514cf 100644
--- a/src/pythonKarabo/karabo/native/data/tests/test_timestamp.py
+++ b/src/pythonKarabo/karabo/native/data/tests/test_timestamp.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import time
from datetime import datetime
from unittest import TestCase, main
diff --git a/src/pythonKarabo/karabo/native/data/tests/test_utils.py b/src/pythonKarabo/karabo/native/data/tests/test_utils.py
index 8da4f9d59c..3288ee5afd 100644
--- a/src/pythonKarabo/karabo/native/data/tests/test_utils.py
+++ b/src/pythonKarabo/karabo/native/data/tests/test_utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from html.parser import HTMLParser
import numpy as np
diff --git a/src/pythonKarabo/karabo/native/data/timestamp.py b/src/pythonKarabo/karabo/native/data/timestamp.py
index dc18f00d19..a90e071e18 100644
--- a/src/pythonKarabo/karabo/native/data/timestamp.py
+++ b/src/pythonKarabo/karabo/native/data/timestamp.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import time
from datetime import datetime
from functools import total_ordering
diff --git a/src/pythonKarabo/karabo/native/data/typenums.py b/src/pythonKarabo/karabo/native/data/typenums.py
index cee37fb535..0f21273df8 100644
--- a/src/pythonKarabo/karabo/native/data/typenums.py
+++ b/src/pythonKarabo/karabo/native/data/typenums.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from enum import Enum
__all__ = ['HashType', 'HASH_TYPE_TO_XML_TYPE', 'XML_TYPE_TO_HASH_TYPE']
diff --git a/src/pythonKarabo/karabo/native/data/utils.py b/src/pythonKarabo/karabo/native/data/utils.py
index 16181afcdb..57ba7ab41a 100644
--- a/src/pythonKarabo/karabo/native/data/utils.py
+++ b/src/pythonKarabo/karabo/native/data/utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from xml.sax.saxutils import escape
import numpy as np
diff --git a/src/pythonKarabo/karabo/native/data/xml_reader.py b/src/pythonKarabo/karabo/native/data/xml_reader.py
index 0f5fbc4153..a5b28c2732 100644
--- a/src/pythonKarabo/karabo/native/data/xml_reader.py
+++ b/src/pythonKarabo/karabo/native/data/xml_reader.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import base64
from functools import partial
from pathlib import Path
diff --git a/src/pythonKarabo/karabo/native/data/xml_writer.py b/src/pythonKarabo/karabo/native/data/xml_writer.py
index c521a0619a..2ed1d3d403 100644
--- a/src/pythonKarabo/karabo/native/data/xml_writer.py
+++ b/src/pythonKarabo/karabo/native/data/xml_writer.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import base64
from pathlib import Path
from xml.sax.saxutils import escape, quoteattr
diff --git a/src/pythonKarabo/karabo/native/exceptions.py b/src/pythonKarabo/karabo/native/exceptions.py
index fba062ad02..8c680806c2 100644
--- a/src/pythonKarabo/karabo/native/exceptions.py
+++ b/src/pythonKarabo/karabo/native/exceptions.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import logging
diff --git a/src/pythonKarabo/karabo/native/project/__init__.py b/src/pythonKarabo/karabo/native/project/__init__.py
index 2346e967c3..753a6bf859 100644
--- a/src/pythonKarabo/karabo/native/project/__init__.py
+++ b/src/pythonKarabo/karabo/native/project/__init__.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
from karabo.native.project.convert import convert_old_project
from karabo.native.project.io import read_project_model, write_project_model
diff --git a/src/pythonKarabo/karabo/native/project/api.py b/src/pythonKarabo/karabo/native/project/api.py
index 141aa21846..8a9c7a3e59 100644
--- a/src/pythonKarabo/karabo/native/project/api.py
+++ b/src/pythonKarabo/karabo/native/project/api.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
from .convert import convert_old_project
from .io import read_project_model, write_project_model
diff --git a/src/pythonKarabo/karabo/native/project/convert.py b/src/pythonKarabo/karabo/native/project/convert.py
index 4568ce3ad9..bf5d3d78c1 100644
--- a/src/pythonKarabo/karabo/native/project/convert.py
+++ b/src/pythonKarabo/karabo/native/project/convert.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from collections import defaultdict
from karabo.common.project.api import (
diff --git a/src/pythonKarabo/karabo/native/project/io.py b/src/pythonKarabo/karabo/native/project/io.py
index 686df9d144..a693fdb36a 100644
--- a/src/pythonKarabo/karabo/native/project/io.py
+++ b/src/pythonKarabo/karabo/native/project/io.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import base64
from io import StringIO
diff --git a/src/pythonKarabo/karabo/native/project/old.py b/src/pythonKarabo/karabo/native/project/old.py
index e82eff1091..eef50e19a4 100644
--- a/src/pythonKarabo/karabo/native/project/old.py
+++ b/src/pythonKarabo/karabo/native/project/old.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
""" This module contains the OLD project code.
"""
diff --git a/src/pythonKarabo/karabo/native/project/tests/__init__.py b/src/pythonKarabo/karabo/native/project/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/native/project/tests/__init__.py
+++ b/src/pythonKarabo/karabo/native/project/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/native/project/tests/test_io.py b/src/pythonKarabo/karabo/native/project/tests/test_io.py
index 5bd6b66fcf..0f21d8ebc6 100644
--- a/src/pythonKarabo/karabo/native/project/tests/test_io.py
+++ b/src/pythonKarabo/karabo/native/project/tests/test_io.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os.path as op
from contextlib import contextmanager
from functools import partial
diff --git a/src/pythonKarabo/karabo/native/schema/__init__.py b/src/pythonKarabo/karabo/native/schema/__init__.py
index 8e6f0ed100..1a419044cf 100644
--- a/src/pythonKarabo/karabo/native/schema/__init__.py
+++ b/src/pythonKarabo/karabo/native/schema/__init__.py
@@ -1,6 +1,20 @@
"""The karabo schema package.
-Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+ This file is part of Karabo.
+
+ http://www.karabo.eu
+
+ Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+
+ Karabo is free software: you can redistribute it and/or modify it under
+ the terms of the MPL-2 Mozilla Public License.
+
+ You should have received a copy of the MPL-2 Public License along with
+ Karabo. If not, see .
+
+ Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE.
"""
# flake8: noqa
__version__ = "0.1.0"
diff --git a/src/pythonKarabo/karabo/native/schema/basetypes.py b/src/pythonKarabo/karabo/native/schema/basetypes.py
index b0e091cbcb..3bd9acc62e 100644
--- a/src/pythonKarabo/karabo/native/schema/basetypes.py
+++ b/src/pythonKarabo/karabo/native/schema/basetypes.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
"""This module contains the base classes for Karabo schema types
Karabo keeps some metadata with its values. This module contains the
diff --git a/src/pythonKarabo/karabo/native/schema/configurable.py b/src/pythonKarabo/karabo/native/schema/configurable.py
index eb1ddcb4b9..29673d15f6 100644
--- a/src/pythonKarabo/karabo/native/schema/configurable.py
+++ b/src/pythonKarabo/karabo/native/schema/configurable.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from asyncio import gather
from collections import OrderedDict
from functools import partial
diff --git a/src/pythonKarabo/karabo/native/schema/descriptors.py b/src/pythonKarabo/karabo/native/schema/descriptors.py
index ad902957c3..bbc4d21d5e 100644
--- a/src/pythonKarabo/karabo/native/schema/descriptors.py
+++ b/src/pythonKarabo/karabo/native/schema/descriptors.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
""" This module contains the type hierarchy implied by the Karabo hash.
"""
import logging
diff --git a/src/pythonKarabo/karabo/native/schema/image_data.py b/src/pythonKarabo/karabo/native/schema/image_data.py
index f410b9b5e0..6853e2cb3f 100644
--- a/src/pythonKarabo/karabo/native/schema/image_data.py
+++ b/src/pythonKarabo/karabo/native/schema/image_data.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import numpy
from karabo.native.data import (
diff --git a/src/pythonKarabo/karabo/native/schema/jsonencoder.py b/src/pythonKarabo/karabo/native/schema/jsonencoder.py
index c8cd8efe28..3207b728c5 100644
--- a/src/pythonKarabo/karabo/native/schema/jsonencoder.py
+++ b/src/pythonKarabo/karabo/native/schema/jsonencoder.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import json
from numbers import Integral, Real
diff --git a/src/pythonKarabo/karabo/native/schema/ndarray.py b/src/pythonKarabo/karabo/native/schema/ndarray.py
index 2a30e2fc80..40d2223300 100644
--- a/src/pythonKarabo/karabo/native/schema/ndarray.py
+++ b/src/pythonKarabo/karabo/native/schema/ndarray.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import numpy
from karabo.native.data import (
diff --git a/src/pythonKarabo/karabo/native/schema/registry.py b/src/pythonKarabo/karabo/native/schema/registry.py
index 798445bb36..cb8e8e25e7 100644
--- a/src/pythonKarabo/karabo/native/schema/registry.py
+++ b/src/pythonKarabo/karabo/native/schema/registry.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
""" This module contains a little helper class which allows
to register subclasses of one class """
diff --git a/src/pythonKarabo/karabo/native/schema/tests/__init__.py b/src/pythonKarabo/karabo/native/schema/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/native/schema/tests/__init__.py
+++ b/src/pythonKarabo/karabo/native/schema/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/native/schema/tests/basetypes_test.py b/src/pythonKarabo/karabo/native/schema/tests/basetypes_test.py
index 9e9636b1a9..a7bb3a4022 100644
--- a/src/pythonKarabo/karabo/native/schema/tests/basetypes_test.py
+++ b/src/pythonKarabo/karabo/native/schema/tests/basetypes_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import operator
from enum import Enum
from itertools import product
diff --git a/src/pythonKarabo/karabo/native/schema/tests/cast_test.py b/src/pythonKarabo/karabo/native/schema/tests/cast_test.py
index 427af77c0f..8bb0323aee 100644
--- a/src/pythonKarabo/karabo/native/schema/tests/cast_test.py
+++ b/src/pythonKarabo/karabo/native/schema/tests/cast_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from enum import Enum
from unittest import TestCase, main
diff --git a/src/pythonKarabo/karabo/native/schema/tests/configurable_test.py b/src/pythonKarabo/karabo/native/schema/tests/configurable_test.py
index 7b556da1d2..4c545b5d2b 100644
--- a/src/pythonKarabo/karabo/native/schema/tests/configurable_test.py
+++ b/src/pythonKarabo/karabo/native/schema/tests/configurable_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import asyncio
import string
from unittest import TestCase, main
diff --git a/src/pythonKarabo/karabo/native/schema/tests/descriptor_test.py b/src/pythonKarabo/karabo/native/schema/tests/descriptor_test.py
index 352b4131ee..02fa23fe5c 100644
--- a/src/pythonKarabo/karabo/native/schema/tests/descriptor_test.py
+++ b/src/pythonKarabo/karabo/native/schema/tests/descriptor_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from enum import Enum
from unittest import TestCase, main
diff --git a/src/pythonKarabo/karabo/native/schema/tests/json_test.py b/src/pythonKarabo/karabo/native/schema/tests/json_test.py
index 0b3e2a86ac..545f95c0f7 100644
--- a/src/pythonKarabo/karabo/native/schema/tests/json_test.py
+++ b/src/pythonKarabo/karabo/native/schema/tests/json_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import re
from json import dumps
diff --git a/src/pythonKarabo/karabo/native/schema/tests/registry_test.py b/src/pythonKarabo/karabo/native/schema/tests/registry_test.py
index 6a3e67acd3..5cfe04f02e 100644
--- a/src/pythonKarabo/karabo/native/schema/tests/registry_test.py
+++ b/src/pythonKarabo/karabo/native/schema/tests/registry_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from unittest.mock import Mock
from karabo.native import Registry
diff --git a/src/pythonKarabo/karabo/native/schema/tests/ufunc_test.py b/src/pythonKarabo/karabo/native/schema/tests/ufunc_test.py
index 4a28eaecfd..12f8239716 100644
--- a/src/pythonKarabo/karabo/native/schema/tests/ufunc_test.py
+++ b/src/pythonKarabo/karabo/native/schema/tests/ufunc_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from platform import system
from unittest import TestCase, main, skip
diff --git a/src/pythonKarabo/karabo/native/schema/tests/utils.py b/src/pythonKarabo/karabo/native/schema/tests/utils.py
index 6226cdf3f7..ddc333b65c 100644
--- a/src/pythonKarabo/karabo/native/schema/tests/utils.py
+++ b/src/pythonKarabo/karabo/native/schema/tests/utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.native import AccessMode, Configurable, Int32, String, VectorHash
diff --git a/src/pythonKarabo/karabo/native/schema/tests/utils_test.py b/src/pythonKarabo/karabo/native/schema/tests/utils_test.py
index 176cd9ac92..dff2b74c10 100644
--- a/src/pythonKarabo/karabo/native/schema/tests/utils_test.py
+++ b/src/pythonKarabo/karabo/native/schema/tests/utils_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from unittest import TestCase, main
import numpy as np
diff --git a/src/pythonKarabo/karabo/native/schema/utils.py b/src/pythonKarabo/karabo/native/schema/utils.py
index 113347234e..69d5b227db 100644
--- a/src/pythonKarabo/karabo/native/schema/utils.py
+++ b/src/pythonKarabo/karabo/native/schema/utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import numpy as np
import karabo.common.const as const
diff --git a/src/pythonKarabo/karabo/native/tests/__init__.py b/src/pythonKarabo/karabo/native/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/native/tests/__init__.py
+++ b/src/pythonKarabo/karabo/native/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/native/tests/test_code_quality.py b/src/pythonKarabo/karabo/native/tests/test_code_quality.py
index 6a3c8ecdb4..10bd24c59b 100644
--- a/src/pythonKarabo/karabo/native/tests/test_code_quality.py
+++ b/src/pythonKarabo/karabo/native/tests/test_code_quality.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os.path as op
import subprocess
import sys
diff --git a/src/pythonKarabo/karabo/native/tests/time_mixin_test.py b/src/pythonKarabo/karabo/native/tests/time_mixin_test.py
index 8fd17fdb58..6b42e488fe 100644
--- a/src/pythonKarabo/karabo/native/tests/time_mixin_test.py
+++ b/src/pythonKarabo/karabo/native/tests/time_mixin_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from platform import system
from time import sleep
from unittest import TestCase, main, skipIf
diff --git a/src/pythonKarabo/karabo/native/tests/weak_test.py b/src/pythonKarabo/karabo/native/tests/weak_test.py
index f390a7a898..86b3cb9139 100644
--- a/src/pythonKarabo/karabo/native/tests/weak_test.py
+++ b/src/pythonKarabo/karabo/native/tests/weak_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from unittest import TestCase, main
from karabo.native import Weak
diff --git a/src/pythonKarabo/karabo/native/time_mixin.py b/src/pythonKarabo/karabo/native/time_mixin.py
index 90231e149c..651c6018fb 100644
--- a/src/pythonKarabo/karabo/native/time_mixin.py
+++ b/src/pythonKarabo/karabo/native/time_mixin.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import numpy as np
from .data import Timestamp
diff --git a/src/pythonKarabo/karabo/native/weak.py b/src/pythonKarabo/karabo/native/weak.py
index 5cbaa63d28..38d36ade68 100644
--- a/src/pythonKarabo/karabo/native/weak.py
+++ b/src/pythonKarabo/karabo/native/weak.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import weakref
__all__ = ['Weak']
diff --git a/src/pythonKarabo/karabo/packaging/__init__.py b/src/pythonKarabo/karabo/packaging/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/packaging/__init__.py
+++ b/src/pythonKarabo/karabo/packaging/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/packaging/device_template.py b/src/pythonKarabo/karabo/packaging/device_template.py
index 0ebbff4b1f..9d8652c0ae 100644
--- a/src/pythonKarabo/karabo/packaging/device_template.py
+++ b/src/pythonKarabo/karabo/packaging/device_template.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import os.path as op
import re
diff --git a/src/pythonKarabo/karabo/packaging/tests/test_versioning.py b/src/pythonKarabo/karabo/packaging/tests/test_versioning.py
index 37f5318e99..ac82e72e99 100644
--- a/src/pythonKarabo/karabo/packaging/tests/test_versioning.py
+++ b/src/pythonKarabo/karabo/packaging/tests/test_versioning.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
from karabo.packaging import versioning
diff --git a/src/pythonKarabo/karabo/packaging/versioning.py b/src/pythonKarabo/karabo/packaging/versioning.py
index 604212af57..ccb130f30c 100644
--- a/src/pythonKarabo/karabo/packaging/versioning.py
+++ b/src/pythonKarabo/karabo/packaging/versioning.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os.path as op
import re
import subprocess
diff --git a/src/pythonKarabo/karabo/project_db/__init__.py b/src/pythonKarabo/karabo/project_db/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/project_db/__init__.py
+++ b/src/pythonKarabo/karabo/project_db/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/project_db/bases.py b/src/pythonKarabo/karabo/project_db/bases.py
index 019a07c86a..2282d04cb3 100644
--- a/src/pythonKarabo/karabo/project_db/bases.py
+++ b/src/pythonKarabo/karabo/project_db/bases.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from abc import ABC, abstractmethod
from contextlib import ContextDecorator
from time import gmtime, strftime
diff --git a/src/pythonKarabo/karabo/project_db/config_stubs/versioning.xconf.xml b/src/pythonKarabo/karabo/project_db/config_stubs/versioning.xconf.xml
index 87d2f42282..3d37a49a25 100644
--- a/src/pythonKarabo/karabo/project_db/config_stubs/versioning.xconf.xml
+++ b/src/pythonKarabo/karabo/project_db/config_stubs/versioning.xconf.xml
@@ -1,4 +1,20 @@
-
+
diff --git a/src/pythonKarabo/karabo/project_db/config_stubs/versioning_filter.xml b/src/pythonKarabo/karabo/project_db/config_stubs/versioning_filter.xml
index 00f3fd54b5..fd8e803692 100644
--- a/src/pythonKarabo/karabo/project_db/config_stubs/versioning_filter.xml
+++ b/src/pythonKarabo/karabo/project_db/config_stubs/versioning_filter.xml
@@ -1,2 +1,18 @@
-
+
diff --git a/src/pythonKarabo/karabo/project_db/const.py b/src/pythonKarabo/karabo/project_db/const.py
index 4ee1ecaedc..862c5f9486 100644
--- a/src/pythonKarabo/karabo/project_db/const.py
+++ b/src/pythonKarabo/karabo/project_db/const.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
LIST_DOMAINS_QUERY = """
xquery version "3.0";
{{
diff --git a/src/pythonKarabo/karabo/project_db/exist_db/__init__.py b/src/pythonKarabo/karabo/project_db/exist_db/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/project_db/exist_db/__init__.py
+++ b/src/pythonKarabo/karabo/project_db/exist_db/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/project_db/exist_db/database.py b/src/pythonKarabo/karabo/project_db/exist_db/database.py
index cc17adf922..105c4ff907 100644
--- a/src/pythonKarabo/karabo/project_db/exist_db/database.py
+++ b/src/pythonKarabo/karabo/project_db/exist_db/database.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa: E501
# this file contains xquery code
import os
diff --git a/src/pythonKarabo/karabo/project_db/exist_db/dbsettings.py b/src/pythonKarabo/karabo/project_db/exist_db/dbsettings.py
index 80a6c006b7..b41a7b963f 100644
--- a/src/pythonKarabo/karabo/project_db/exist_db/dbsettings.py
+++ b/src/pythonKarabo/karabo/project_db/exist_db/dbsettings.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from ..const import (
ROOT_COLLECTION, ROOT_COLLECTION_BACKUP, ROOT_COLLECTION_TEST)
diff --git a/src/pythonKarabo/karabo/project_db/exist_db/node.py b/src/pythonKarabo/karabo/project_db/exist_db/node.py
index 5618ba9d99..519f19d368 100644
--- a/src/pythonKarabo/karabo/project_db/exist_db/node.py
+++ b/src/pythonKarabo/karabo/project_db/exist_db/node.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.native import AccessLevel, String, UInt32
from karabo.project_db.util import DbConnectionNodeBase
diff --git a/src/pythonKarabo/karabo/project_db/exist_db/tests/__init__.py b/src/pythonKarabo/karabo/project_db/exist_db/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/project_db/exist_db/tests/__init__.py
+++ b/src/pythonKarabo/karabo/project_db/exist_db/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/project_db/exist_db/tests/test_database.py b/src/pythonKarabo/karabo/project_db/exist_db/tests/test_database.py
index 33a344b55e..11b5765f8b 100644
--- a/src/pythonKarabo/karabo/project_db/exist_db/tests/test_database.py
+++ b/src/pythonKarabo/karabo/project_db/exist_db/tests/test_database.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from unittest import TestCase
from karabo.project_db.tests.base import ProjectDatabaseVerification
diff --git a/src/pythonKarabo/karabo/project_db/exist_db/tests/util.py b/src/pythonKarabo/karabo/project_db/exist_db/tests/util.py
index af9af0d068..fbae0a6abb 100644
--- a/src/pythonKarabo/karabo/project_db/exist_db/tests/util.py
+++ b/src/pythonKarabo/karabo/project_db/exist_db/tests/util.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
from subprocess import check_call
diff --git a/src/pythonKarabo/karabo/project_db/exist_db/util.py b/src/pythonKarabo/karabo/project_db/exist_db/util.py
index f692bef458..e2da424de0 100644
--- a/src/pythonKarabo/karabo/project_db/exist_db/util.py
+++ b/src/pythonKarabo/karabo/project_db/exist_db/util.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
from functools import wraps
from subprocess import check_call
diff --git a/src/pythonKarabo/karabo/project_db/file_db/__init__.py b/src/pythonKarabo/karabo/project_db/file_db/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/project_db/file_db/__init__.py
+++ b/src/pythonKarabo/karabo/project_db/file_db/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/project_db/file_db/database.py b/src/pythonKarabo/karabo/project_db/file_db/database.py
index aff1629faa..dc41192502 100644
--- a/src/pythonKarabo/karabo/project_db/file_db/database.py
+++ b/src/pythonKarabo/karabo/project_db/file_db/database.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
from os import path as op
from time import strptime
diff --git a/src/pythonKarabo/karabo/project_db/file_db/node.py b/src/pythonKarabo/karabo/project_db/file_db/node.py
index e1d07dafea..c52e6a9050 100644
--- a/src/pythonKarabo/karabo/project_db/file_db/node.py
+++ b/src/pythonKarabo/karabo/project_db/file_db/node.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from karabo.native import String
from karabo.project_db.util import DbConnectionNodeBase
diff --git a/src/pythonKarabo/karabo/project_db/file_db/tests/__init__.py b/src/pythonKarabo/karabo/project_db/file_db/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/project_db/file_db/tests/__init__.py
+++ b/src/pythonKarabo/karabo/project_db/file_db/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/project_db/file_db/tests/test_database.py b/src/pythonKarabo/karabo/project_db/file_db/tests/test_database.py
index 0120a16609..9d29dca71b 100644
--- a/src/pythonKarabo/karabo/project_db/file_db/tests/test_database.py
+++ b/src/pythonKarabo/karabo/project_db/file_db/tests/test_database.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import contextlib
import os
import tempfile
diff --git a/src/pythonKarabo/karabo/project_db/tests/__init__.py b/src/pythonKarabo/karabo/project_db/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/project_db/tests/__init__.py
+++ b/src/pythonKarabo/karabo/project_db/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/project_db/tests/base.py b/src/pythonKarabo/karabo/project_db/tests/base.py
index da67892dd6..53e1363d12 100644
--- a/src/pythonKarabo/karabo/project_db/tests/base.py
+++ b/src/pythonKarabo/karabo/project_db/tests/base.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from time import gmtime, strftime, strptime, time
from lxml import etree
diff --git a/src/pythonKarabo/karabo/project_db/tests/test_util.py b/src/pythonKarabo/karabo/project_db/tests/test_util.py
index 02f74c469b..ef7f6b4ea7 100644
--- a/src/pythonKarabo/karabo/project_db/tests/test_util.py
+++ b/src/pythonKarabo/karabo/project_db/tests/test_util.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from unittest import TestCase
from karabo.middlelayer import Configurable, Node
diff --git a/src/pythonKarabo/karabo/project_db/tests/util.py b/src/pythonKarabo/karabo/project_db/tests/util.py
index 30a95b2b20..b10c59d0a6 100644
--- a/src/pythonKarabo/karabo/project_db/tests/util.py
+++ b/src/pythonKarabo/karabo/project_db/tests/util.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from uuid import uuid4
diff --git a/src/pythonKarabo/karabo/project_db/util.py b/src/pythonKarabo/karabo/project_db/util.py
index a3eeafea7c..f4c119dff6 100644
--- a/src/pythonKarabo/karabo/project_db/util.py
+++ b/src/pythonKarabo/karabo/project_db/util.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from abc import abstractmethod
import pkg_resources
diff --git a/src/pythonKarabo/karabo/testing/__init__.py b/src/pythonKarabo/karabo/testing/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/testing/__init__.py
+++ b/src/pythonKarabo/karabo/testing/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/testing/import_checker.py b/src/pythonKarabo/karabo/testing/import_checker.py
index 3452339022..5307962e3e 100644
--- a/src/pythonKarabo/karabo/testing/import_checker.py
+++ b/src/pythonKarabo/karabo/testing/import_checker.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import ast
import os
import os.path as op
diff --git a/src/pythonKarabo/karabo/testing/utils.py b/src/pythonKarabo/karabo/testing/utils.py
index 1f246fa72a..3ca75bf7a1 100644
--- a/src/pythonKarabo/karabo/testing/utils.py
+++ b/src/pythonKarabo/karabo/testing/utils.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import os
import tempfile
from contextlib import contextmanager
diff --git a/src/pythonKarabo/karabo/tests/__init__.py b/src/pythonKarabo/karabo/tests/__init__.py
index ae715ae4fe..da0d4f49a5 100644
--- a/src/pythonKarabo/karabo/tests/__init__.py
+++ b/src/pythonKarabo/karabo/tests/__init__.py
@@ -1 +1,15 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/src/pythonKarabo/karabo/tests/api_separation_test.py b/src/pythonKarabo/karabo/tests/api_separation_test.py
index 27c0aea1e0..5759d346d4 100644
--- a/src/pythonKarabo/karabo/tests/api_separation_test.py
+++ b/src/pythonKarabo/karabo/tests/api_separation_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
from functools import partial
import karabo.bound_api as bound_pkg
diff --git a/src/pythonKarabo/karabo/tests/benchmark.py b/src/pythonKarabo/karabo/tests/benchmark.py
index 8b2ae36865..a53fcadb8f 100644
--- a/src/pythonKarabo/karabo/tests/benchmark.py
+++ b/src/pythonKarabo/karabo/tests/benchmark.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import argparse
import time
diff --git a/src/pythonKarabo/karabo/tests/pyhash_test.py b/src/pythonKarabo/karabo/tests/pyhash_test.py
index 5ecd291d3c..131c06bbe4 100644
--- a/src/pythonKarabo/karabo/tests/pyhash_test.py
+++ b/src/pythonKarabo/karabo/tests/pyhash_test.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
import unittest
from zlib import adler32
diff --git a/src/pythonKarabo/setup.py b/src/pythonKarabo/setup.py
index cbbaba5a73..7f5ff31a3f 100644
--- a/src/pythonKarabo/setup.py
+++ b/src/pythonKarabo/setup.py
@@ -1,4 +1,18 @@
+# This file is part of Karabo.
+#
+# http://www.karabo.eu
+#
# Copyright (C) European XFEL GmbH Schenefeld. All rights reserved.
+#
+# Karabo is free software: you can redistribute it and/or modify it under
+# the terms of the MPL-2 Mozilla Public License.
+#
+# You should have received a copy of the MPL-2 Public License along with
+# Karabo. If not, see .
+#
+# Karabo is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.
# flake8: noqa
import os
import os.path as op