Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
beat.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
beat
beat.core
Commits
9a2a13a5
Commit
9a2a13a5
authored
Mar 13, 2019
by
Samuel GAIST
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[License] Move to BSD 3 Clause
Fixes
#60
parent
c0729340
Pipeline
#28045
passed with stage
in 19 minutes and 36 seconds
Changes
145
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
145 changed files
with
7856 additions
and
6738 deletions
+7856
-6738
AUTHORS.rst
AUTHORS.rst
+27
-16
LICENSE
LICENSE
+27
-0
LICENSE.AGPL
LICENSE.AGPL
+0
-661
MANIFEST.in
MANIFEST.in
+1
-1
README.rst
README.rst
+27
-16
beat/__init__.py
beat/__init__.py
+33
-23
beat/core/__init__.py
beat/core/__init__.py
+31
-23
beat/core/algorithm.py
beat/core/algorithm.py
+32
-23
beat/core/baseformat.py
beat/core/baseformat.py
+32
-23
beat/core/bcp/broker.py
beat/core/bcp/broker.py
+32
-23
beat/core/bcp/worker.py
beat/core/bcp/worker.py
+32
-23
beat/core/bcpapi/BCP.py
beat/core/bcpapi/BCP.py
+31
-23
beat/core/bcpapi/broker.py
beat/core/bcpapi/broker.py
+31
-23
beat/core/bcpapi/client.py
beat/core/bcpapi/client.py
+31
-23
beat/core/bcpapi/execution.py
beat/core/bcpapi/execution.py
+31
-23
beat/core/bcpapi/processor.py
beat/core/bcpapi/processor.py
+31
-23
beat/core/bcpapi/worker.py
beat/core/bcpapi/worker.py
+31
-23
beat/core/bcpapi/zhelpers.py
beat/core/bcpapi/zhelpers.py
+32
-23
beat/core/data.py
beat/core/data.py
+32
-23
beat/core/data_loaders.py
beat/core/data_loaders.py
+32
-23
beat/core/database.py
beat/core/database.py
+72
-59
beat/core/dataformat.py
beat/core/dataformat.py
+70
-53
beat/core/dock.py
beat/core/dock.py
+216
-206
beat/core/drawing.py
beat/core/drawing.py
+79
-56
beat/core/environments.py
beat/core/environments.py
+35
-29
beat/core/execution/__init__.py
beat/core/execution/__init__.py
+31
-23
beat/core/execution/base.py
beat/core/execution/base.py
+134
-104
beat/core/execution/docker.py
beat/core/execution/docker.py
+186
-127
beat/core/execution/local.py
beat/core/execution/local.py
+98
-76
beat/core/execution/remote.py
beat/core/execution/remote.py
+61
-38
beat/core/execution/subprocess.py
beat/core/execution/subprocess.py
+153
-130
beat/core/experiment.py
beat/core/experiment.py
+547
-380
beat/core/hash.py
beat/core/hash.py
+73
-35
beat/core/inputs.py
beat/core/inputs.py
+32
-23
beat/core/library.py
beat/core/library.py
+62
-51
beat/core/loader.py
beat/core/loader.py
+32
-23
beat/core/outputs.py
beat/core/outputs.py
+32
-23
beat/core/plotter.py
beat/core/plotter.py
+96
-101
beat/core/prototypes/__init__.py
beat/core/prototypes/__init__.py
+42
-32
beat/core/schema/__init__.py
beat/core/schema/__init__.py
+81
-69
beat/core/scripts/worker.py
beat/core/scripts/worker.py
+116
-117
beat/core/stats.py
beat/core/stats.py
+105
-99
beat/core/test/__init__.py
beat/core/test/__init__.py
+62
-57
beat/core/test/cpu_stress.py
beat/core/test/cpu_stress.py
+38
-28
beat/core/test/mocks.py
beat/core/test/mocks.py
+42
-32
beat/core/test/prefix/algorithms/schema/invalid_loop_channel/1.py
...e/test/prefix/algorithms/schema/invalid_loop_channel/1.py
+32
-24
beat/core/test/prefix/algorithms/schema/invalid_loop_output/1.py
...re/test/prefix/algorithms/schema/invalid_loop_output/1.py
+32
-24
beat/core/test/prefix/algorithms/schema/invalid_loop_type/1.py
...core/test/prefix/algorithms/schema/invalid_loop_type/1.py
+32
-24
beat/core/test/prefix/algorithms/schema/invalid_loop_user_type/1.py
...test/prefix/algorithms/schema/invalid_loop_user_type/1.py
+32
-24
beat/core/test/prefix/algorithms/user/db_input_loop/1.py
beat/core/test/prefix/algorithms/user/db_input_loop/1.py
+38
-29
beat/core/test/prefix/algorithms/user/db_input_loop_user/1.py
.../core/test/prefix/algorithms/user/db_input_loop_user/1.py
+40
-34
beat/core/test/prefix/algorithms/user/for_dep/1.py
beat/core/test/prefix/algorithms/user/for_dep/1.py
+32
-24
beat/core/test/prefix/algorithms/user/integers_add/1.py
beat/core/test/prefix/algorithms/user/integers_add/1.py
+36
-28
beat/core/test/prefix/algorithms/user/integers_add_v2/1.py
beat/core/test/prefix/algorithms/user/integers_add_v2/1.py
+36
-32
beat/core/test/prefix/algorithms/user/integers_analysis/1.py
beat/core/test/prefix/algorithms/user/integers_analysis/1.py
+36
-30
beat/core/test/prefix/algorithms/user/integers_array_generator/1.py
...test/prefix/algorithms/user/integers_array_generator/1.py
+38
-28
beat/core/test/prefix/algorithms/user/integers_array_sum/1.py
.../core/test/prefix/algorithms/user/integers_array_sum/1.py
+35
-27
beat/core/test/prefix/algorithms/user/integers_crash/1.py
beat/core/test/prefix/algorithms/user/integers_crash/1.py
+32
-24
beat/core/test/prefix/algorithms/user/integers_echo/1.py
beat/core/test/prefix/algorithms/user/integers_echo/1.py
+33
-25
beat/core/test/prefix/algorithms/user/integers_echo_analyzer/1.py
...e/test/prefix/algorithms/user/integers_echo_analyzer/1.py
+33
-25
beat/core/test/prefix/algorithms/user/integers_echo_analyzer_v2/1.py
...est/prefix/algorithms/user/integers_echo_analyzer_v2/1.py
+33
-25
beat/core/test/prefix/algorithms/user/integers_echo_error/1.py
...core/test/prefix/algorithms/user/integers_echo_error/1.py
+34
-26
beat/core/test/prefix/algorithms/user/integers_echo_ignore/1.py
...ore/test/prefix/algorithms/user/integers_echo_ignore/1.py
+35
-27
beat/core/test/prefix/algorithms/user/integers_echo_slow/1.py
.../core/test/prefix/algorithms/user/integers_echo_slow/1.py
+34
-26
beat/core/test/prefix/algorithms/user/integers_mean_analyzer/1.py
...e/test/prefix/algorithms/user/integers_mean_analyzer/1.py
+37
-28
beat/core/test/prefix/algorithms/user/labelled_integers_sum/1.py
...re/test/prefix/algorithms/user/labelled_integers_sum/1.py
+35
-29
beat/core/test/prefix/algorithms/user/no_inputs_declarations/1.py
...e/test/prefix/algorithms/user/no_inputs_declarations/1.py
+32
-24
beat/core/test/prefix/algorithms/user/no_outputs_declarations/1.py
.../test/prefix/algorithms/user/no_outputs_declarations/1.py
+32
-24
beat/core/test/prefix/algorithms/user/prepare_error/1.py
beat/core/test/prefix/algorithms/user/prepare_error/1.py
+33
-25
beat/core/test/prefix/algorithms/user/prepare_success/1.py
beat/core/test/prefix/algorithms/user/prepare_success/1.py
+33
-25
beat/core/test/prefix/algorithms/user/setup_error/1.py
beat/core/test/prefix/algorithms/user/setup_error/1.py
+33
-25
beat/core/test/prefix/algorithms/user/shell_exec/1.py
beat/core/test/prefix/algorithms/user/shell_exec/1.py
+36
-27
beat/core/test/prefix/algorithms/user/sum/1.py
beat/core/test/prefix/algorithms/user/sum/1.py
+33
-27
beat/core/test/prefix/algorithms/user/sum_only_done_data_units/1.py
...test/prefix/algorithms/user/sum_only_done_data_units/1.py
+37
-31
beat/core/test/prefix/algorithms/user/sum_over_channels/1.py
beat/core/test/prefix/algorithms/user/sum_over_channels/1.py
+36
-30
beat/core/test/prefix/algorithms/user/sum_over_channels/2.py
beat/core/test/prefix/algorithms/user/sum_over_channels/2.py
+37
-31
beat/core/test/prefix/algorithms/user/sum_over_channels/3.py
beat/core/test/prefix/algorithms/user/sum_over_channels/3.py
+39
-31
beat/core/test/prefix/algorithms/user/synchronisation_analyzer/1.py
...test/prefix/algorithms/user/synchronisation_analyzer/1.py
+40
-33
beat/core/test/prefix/algorithms/user/syntax_error/1.py
beat/core/test/prefix/algorithms/user/syntax_error/1.py
+32
-23
beat/core/test/prefix/algorithms/user/too_many_nexts/1.py
beat/core/test/prefix/algorithms/user/too_many_nexts/1.py
+36
-28
beat/core/test/prefix/databases/empty_protocol_sets/1.py
beat/core/test/prefix/databases/empty_protocol_sets/1.py
+33
-24
beat/core/test/prefix/databases/empty_protocols/1.py
beat/core/test/prefix/databases/empty_protocols/1.py
+33
-24
beat/core/test/prefix/databases/empty_set_outputs/1.py
beat/core/test/prefix/databases/empty_set_outputs/1.py
+33
-24
beat/core/test/prefix/databases/invalid/1.py
beat/core/test/prefix/databases/invalid/1.py
+32
-23
beat/core/test/prefix/databases/large/1.py
beat/core/test/prefix/databases/large/1.py
+40
-41
beat/core/test/prefix/databases/missing_protocol_name/1.py
beat/core/test/prefix/databases/missing_protocol_name/1.py
+33
-24
beat/core/test/prefix/databases/missing_protocol_sets/1.py
beat/core/test/prefix/databases/missing_protocol_sets/1.py
+33
-24
beat/core/test/prefix/databases/missing_protocols/1.py
beat/core/test/prefix/databases/missing_protocols/1.py
+33
-24
beat/core/test/prefix/databases/missing_set_name/1.py
beat/core/test/prefix/databases/missing_set_name/1.py
+33
-24
beat/core/test/prefix/databases/missing_set_outputs/1.py
beat/core/test/prefix/databases/missing_set_outputs/1.py
+33
-24
beat/core/test/prefix/databases/missing_set_view/1.py
beat/core/test/prefix/databases/missing_set_view/1.py
+33
-24
beat/core/test/prefix/databases/mixed_protocol_names/1.py
beat/core/test/prefix/databases/mixed_protocol_names/1.py
+33
-24
beat/core/test/prefix/databases/mixed_set_names/1.py
beat/core/test/prefix/databases/mixed_set_names/1.py
+33
-24
beat/core/test/prefix/databases/same_protocol_names/1.py
beat/core/test/prefix/databases/same_protocol_names/1.py
+33
-24
beat/core/test/prefix/databases/same_set_names/1.py
beat/core/test/prefix/databases/same_set_names/1.py
+33
-24
beat/core/test/prefix/databases/simple/1.py
beat/core/test/prefix/databases/simple/1.py
+46
-59
beat/core/test/prefix/databases/simple/1.rst
beat/core/test/prefix/databases/simple/1.rst
+29
-19
beat/core/test/prefix/libraries/user/dep/1.py
beat/core/test/prefix/libraries/user/dep/1.py
+36
-25
beat/core/test/prefix/libraries/user/direct_recursion/1.py
beat/core/test/prefix/libraries/user/direct_recursion/1.py
+32
-23
beat/core/test/prefix/libraries/user/for_dep/1.py
beat/core/test/prefix/libraries/user/for_dep/1.py
+36
-25
beat/core/test/prefix/libraries/user/indirect_recursion/1.py
beat/core/test/prefix/libraries/user/indirect_recursion/1.py
+32
-23
beat/core/test/prefix/libraries/user/indirect_recursion_next/1.py
...e/test/prefix/libraries/user/indirect_recursion_next/1.py
+32
-23
beat/core/test/prefix/libraries/user/nest1/1.py
beat/core/test/prefix/libraries/user/nest1/1.py
+35
-25
beat/core/test/prefix/libraries/user/nest2/1.py
beat/core/test/prefix/libraries/user/nest2/1.py
+35
-25
beat/core/test/prefix/libraries/user/sum/1.py
beat/core/test/prefix/libraries/user/sum/1.py
+33
-24
beat/core/test/prefix/libraries/user/valid/1.py
beat/core/test/prefix/libraries/user/valid/1.py
+36
-25
beat/core/test/prefix/plotters/user/scatter/1.py
beat/core/test/prefix/plotters/user/scatter/1.py
+69
-52
beat/core/test/test_algorithm_dependencies.py
beat/core/test/test_algorithm_dependencies.py
+52
-43
beat/core/test/test_algorithm_loading.py
beat/core/test/test_algorithm_loading.py
+55
-48
beat/core/test/test_bcp.py
beat/core/test/test_bcp.py
+31
-23
beat/core/test/test_database.py
beat/core/test/test_database.py
+34
-26
beat/core/test/test_docker.py
beat/core/test/test_docker.py
+127
-116
beat/core/test/test_docker_databases_provider.py
beat/core/test/test_docker_databases_provider.py
+84
-78
beat/core/test/test_docker_environments.py
beat/core/test/test_docker_environments.py
+39
-30
beat/core/test/test_docker_execution.py
beat/core/test/test_docker_execution.py
+111
-61
beat/core/test/test_docker_worker.py
beat/core/test/test_docker_worker.py
+35
-31
beat/core/test/test_execution.py
beat/core/test/test_execution.py
+227
-138
beat/core/test/test_experiment_loading.py
beat/core/test/test_experiment_loading.py
+74
-61
beat/core/test/test_format_array.py
beat/core/test/test_format_array.py
+33
-25
beat/core/test/test_format_composed.py
beat/core/test/test_format_composed.py
+57
-44
beat/core/test/test_format_extends.py
beat/core/test/test_format_extends.py
+38
-30
beat/core/test/test_format_load.py
beat/core/test/test_format_load.py
+82
-60
beat/core/test/test_hash.py
beat/core/test/test_hash.py
+146
-106
beat/core/test/test_invalid_database.py
beat/core/test/test_invalid_database.py
+72
-40
beat/core/test/test_lib.py
beat/core/test/test_lib.py
+84
-75
beat/core/test/test_plotter.py
beat/core/test/test_plotter.py
+116
-94
beat/core/test/test_schema.py
beat/core/test/test_schema.py
+37
-23
beat/core/test/test_stats.py
beat/core/test/test_stats.py
+38
-29
beat/core/test/test_toolchain_invalid.py
beat/core/test/test_toolchain_invalid.py
+95
-51
beat/core/test/test_toolchain_processing_order.py
beat/core/test/test_toolchain_processing_order.py
+51
-38
beat/core/test/test_worker.py
beat/core/test/test_worker.py
+127
-167
beat/core/test/utils.py
beat/core/test/utils.py
+54
-48
beat/core/toolchain.py
beat/core/toolchain.py
+288
-231
beat/core/utils.py
beat/core/utils.py
+32
-23
beat/core/version.py
beat/core/version.py
+32
-24
beat/core/worker.py
beat/core/worker.py
+59
-67
conda/meta.yaml
conda/meta.yaml
+3
-3
doc/api.rst
doc/api.rst
+26
-17
doc/backend_api.rst
doc/backend_api.rst
+26
-16
doc/conf.py
doc/conf.py
+129
-116
doc/develop.rst
doc/develop.rst
+27
-16
doc/index.rst
doc/index.rst
+26
-16
doc/introduction.rst
doc/introduction.rst
+27
-17
doc/links.rst
doc/links.rst
+32
-0
setup.py
setup.py
+33
-26
No files found.
AUTHORS.rst
View file @
9a2a13a5
.. vim: set fileencoding=utf-8 :
.. Copyright (c) 201
6
Idiap Research Institute, http://www.idiap.ch/ ..
.. Copyright (c) 201
9
Idiap Research Institute, http://www.idiap.ch/ ..
.. Contact: beat.support@idiap.ch ..
.. ..
.. This file is part of the beat.
web module of the BEAT platform.
..
.. This file is part of the beat.
backend.python module of the BEAT platform.
..
.. ..
.. Commercial License Usage ..
.. Licensees holding valid commercial BEAT licenses may use this file in ..
.. accordance with the terms contained in a written agreement between you ..
.. and Idiap. For further information contact tto@idiap.ch ..
.. ..
.. Alternatively, this file may be used under the terms of the GNU Affero ..
.. Public License version 3 as published by the Free Software and appearing ..
.. in the file LICENSE.AGPL included in the packaging of this file. ..
.. The BEAT platform is distributed in the hope that it will be useful, but ..
.. WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ..
.. or FITNESS FOR A PARTICULAR PURPOSE. ..
.. ..
.. You should have received a copy of the GNU Affero Public License along ..
.. with the BEAT platform. If not, see http://www.gnu.org/licenses/. ..
.. Redistribution and use in source and binary forms, with or without
.. modification, are permitted provided that the following conditions are met:
.. 1. Redistributions of source code must retain the above copyright notice, this
.. list of conditions and the following disclaimer.
.. 2. Redistributions in binary form must reproduce the above copyright notice,
.. this list of conditions and the following disclaimer in the documentation
.. and/or other materials provided with the distribution.
.. 3. Neither the name of the copyright holder nor the names of its contributors
.. may be used to endorse or promote products derived from this software without
.. specific prior written permission.
.. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
.. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
.. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
.. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
.. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
.. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.. OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
.. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
===========================================================
Authors of the Biometrics Evaluation and Testing Platform
...
...
LICENSE
0 → 100644
View file @
9a2a13a5
Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/
Contact: beat.support@idiap.ch
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
LICENSE.AGPL
deleted
100644 → 0
View file @
c0729340
This diff is collapsed.
Click to expand it.
MANIFEST.in
View file @
9a2a13a5
include LICENSE
.AGPL
README.rst version.txt requirements.txt
include LICENSE README.rst version.txt requirements.txt
include buildout.cfg develop.cfg
recursive-include scripts *.sh
recursive-include doc conf.py *.rst *.png *.svg *.ico *.odg *.pdf *.dot
...
...
README.rst
View file @
9a2a13a5
.. vim: set fileencoding=utf-8 :
.. Copyright (c) 201
6
Idiap Research Institute, http://www.idiap.ch/ ..
.. Copyright (c) 201
9
Idiap Research Institute, http://www.idiap.ch/ ..
.. Contact: beat.support@idiap.ch ..
.. ..
.. This file is part of the beat.
core module of the BEAT platform.
..
.. This file is part of the beat.
backend.python module of the BEAT platform.
..
.. ..
.. Commercial License Usage ..
.. Licensees holding valid commercial BEAT licenses may use this file in ..
.. accordance with the terms contained in a written agreement between you ..
.. and Idiap. For further information contact tto@idiap.ch ..
.. ..
.. Alternatively, this file may be used under the terms of the GNU Affero ..
.. Public License version 3 as published by the Free Software and appearing ..
.. in the file LICENSE.AGPL included in the packaging of this file. ..
.. The BEAT platform is distributed in the hope that it will be useful, but ..
.. WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ..
.. or FITNESS FOR A PARTICULAR PURPOSE. ..
.. ..
.. You should have received a copy of the GNU Affero Public License along ..
.. with the BEAT platform. If not, see http://www.gnu.org/licenses/. ..
.. Redistribution and use in source and binary forms, with or without
.. modification, are permitted provided that the following conditions are met:
.. 1. Redistributions of source code must retain the above copyright notice, this
.. list of conditions and the following disclaimer.
.. 2. Redistributions in binary form must reproduce the above copyright notice,
.. this list of conditions and the following disclaimer in the documentation
.. and/or other materials provided with the distribution.
.. 3. Neither the name of the copyright holder nor the names of its contributors
.. may be used to endorse or promote products derived from this software without
.. specific prior written permission.
.. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
.. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
.. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
.. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
.. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
.. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.. OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
.. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.. image:: https://img.shields.io/badge/docs-stable-yellow.svg
:target: https://www.idiap.ch/software/beat/docs/beat/beat.core/stable/index.html
...
...
beat/__init__.py
View file @
9a2a13a5
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
###############################################################################
# #
# Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# This file is part of the beat.core module of the BEAT platform. #
# #
# Commercial License Usage #
# Licensees holding valid commercial BEAT licenses may use this file in #
# accordance with the terms contained in a written agreement between you #
# and Idiap. For further information contact tto@idiap.ch #
# #
# Alternatively, this file may be used under the terms of the GNU Affero #
# Public License version 3 as published by the Free Software and appearing #
# in the file LICENSE.AGPL included in the packaging of this file. #
# The BEAT platform is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. #
# #
# You should have received a copy of the GNU Affero Public License along #
# with the BEAT platform. If not, see http://www.gnu.org/licenses/. #
# #
###############################################################################
###################################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions are met: #
# #
# 1. Redistributions of source code must retain the above copyright notice, this #
# list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above copyright notice, #
# this list of conditions and the following disclaimer in the documentation #
# and/or other materials provided with the distribution. #
# #
# 3. Neither the name of the copyright holder nor the names of its contributors #
# may be used to endorse or promote products derived from this software without #
# specific prior written permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED #
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE #
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE #
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL #
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR #
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, #
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE #
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
###################################################################################
# see https://docs.python.org/3/library/pkgutil.html
from
pkgutil
import
extend_path
__path__
=
extend_path
(
__path__
,
__name__
)
beat/core/__init__.py
View file @
9a2a13a5
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
###############################################################################
# #
# Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# This file is part of the beat.core module of the BEAT platform. #
# #
# Commercial License Usage #
# Licensees holding valid commercial BEAT licenses may use this file in #
# accordance with the terms contained in a written agreement between you #
# and Idiap. For further information contact tto@idiap.ch #
# #
# Alternatively, this file may be used under the terms of the GNU Affero #
# Public License version 3 as published by the Free Software and appearing #
# in the file LICENSE.AGPL included in the packaging of this file. #
# The BEAT platform is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. #
# #
# You should have received a copy of the GNU Affero Public License along #
# with the BEAT platform. If not, see http://www.gnu.org/licenses/. #
# #
###############################################################################
###################################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions are met: #
# #
# 1. Redistributions of source code must retain the above copyright notice, this #
# list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above copyright notice, #
# this list of conditions and the following disclaimer in the documentation #
# and/or other materials provided with the distribution. #
# #
# 3. Neither the name of the copyright holder nor the names of its contributors #
# may be used to endorse or promote products derived from this software without #
# specific prior written permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED #
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE #
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE #
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL #
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR #
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, #
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE #
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
###################################################################################
beat/core/algorithm.py
View file @
9a2a13a5
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
###############################################################################
# #
# Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# This file is part of the beat.core module of the BEAT platform. #
# #
# Commercial License Usage #
# Licensees holding valid commercial BEAT licenses may use this file in #
# accordance with the terms contained in a written agreement between you #
# and Idiap. For further information contact tto@idiap.ch #
# #
# Alternatively, this file may be used under the terms of the GNU Affero #
# Public License version 3 as published by the Free Software and appearing #
# in the file LICENSE.AGPL included in the packaging of this file. #
# The BEAT platform is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. #
# #
# You should have received a copy of the GNU Affero Public License along #
# with the BEAT platform. If not, see http://www.gnu.org/licenses/. #
# #
###############################################################################
###################################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions are met: #
# #
# 1. Redistributions of source code must retain the above copyright notice, this #
# list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above copyright notice, #
# this list of conditions and the following disclaimer in the documentation #
# and/or other materials provided with the distribution. #
# #
# 3. Neither the name of the copyright holder nor the names of its contributors #
# may be used to endorse or promote products derived from this software without #
# specific prior written permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED #
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE #
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE #
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL #
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR #
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, #
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE #
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
###################################################################################
"""
=========
...
...
beat/core/baseformat.py
View file @
9a2a13a5
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
###############################################################################
# #
# Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# This file is part of the beat.core module of the BEAT platform. #
# #
# Commercial License Usage #
# Licensees holding valid commercial BEAT licenses may use this file in #
# accordance with the terms contained in a written agreement between you #
# and Idiap. For further information contact tto@idiap.ch #
# #
# Alternatively, this file may be used under the terms of the GNU Affero #
# Public License version 3 as published by the Free Software and appearing #
# in the file LICENSE.AGPL included in the packaging of this file. #
# The BEAT platform is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. #
# #
# You should have received a copy of the GNU Affero Public License along #
# with the BEAT platform. If not, see http://www.gnu.org/licenses/. #
# #
###############################################################################
###################################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions are met: #
# #
# 1. Redistributions of source code must retain the above copyright notice, this #
# list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above copyright notice, #
# this list of conditions and the following disclaimer in the documentation #
# and/or other materials provided with the distribution. #
# #
# 3. Neither the name of the copyright holder nor the names of its contributors #
# may be used to endorse or promote products derived from this software without #
# specific prior written permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED #
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE #
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE #
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL #
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR #
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, #
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE #
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
###################################################################################
"""
==========
...
...
beat/core/bcp/broker.py
View file @
9a2a13a5
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
###############################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# This file is part of the beat.core module of the BEAT platform. #
# #
# Commercial License Usage #
# Licensees holding valid commercial BEAT licenses may use this file in #
# accordance with the terms contained in a written agreement between you #
# and Idiap. For further information contact tto@idiap.ch #
# #
# Alternatively, this file may be used under the terms of the GNU Affero #
# Public License version 3 as published by the Free Software and appearing #
# in the file LICENSE.AGPL included in the packaging of this file. #
# The BEAT platform is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. #
# #
# You should have received a copy of the GNU Affero Public License along #
# with the BEAT platform. If not, see http://www.gnu.org/licenses/. #
# #
###############################################################################
###################################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions are met: #
# #
# 1. Redistributions of source code must retain the above copyright notice, this #
# list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above copyright notice, #
# this list of conditions and the following disclaimer in the documentation #
# and/or other materials provided with the distribution. #
# #
# 3. Neither the name of the copyright holder nor the names of its contributors #
# may be used to endorse or promote products derived from this software without #
# specific prior written permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED #
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE #
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE #
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL #
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR #
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, #
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE #
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
###################################################################################
"""Starts the worker process (%(version)s)
...
...
beat/core/bcp/worker.py
View file @
9a2a13a5
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
###############################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# This file is part of the beat.core module of the BEAT platform. #
# #
# Commercial License Usage #
# Licensees holding valid commercial BEAT licenses may use this file in #
# accordance with the terms contained in a written agreement between you #
# and Idiap. For further information contact tto@idiap.ch #
# #
# Alternatively, this file may be used under the terms of the GNU Affero #
# Public License version 3 as published by the Free Software and appearing #
# in the file LICENSE.AGPL included in the packaging of this file. #
# The BEAT platform is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. #
# #
# You should have received a copy of the GNU Affero Public License along #
# with the BEAT platform. If not, see http://www.gnu.org/licenses/. #
# #
###############################################################################
###################################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions are met: #
# #
# 1. Redistributions of source code must retain the above copyright notice, this #
# list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above copyright notice, #
# this list of conditions and the following disclaimer in the documentation #
# and/or other materials provided with the distribution. #
# #
# 3. Neither the name of the copyright holder nor the names of its contributors #
# may be used to endorse or promote products derived from this software without #
# specific prior written permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED #
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE #
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE #
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL #
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR #
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, #
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE #
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
###################################################################################
"""Starts the worker process (%(version)s)
...
...
beat/core/bcpapi/BCP.py
View file @
9a2a13a5
# vim: set fileencoding=utf-8 :
###############################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# This file is part of the beat.core module of the BEAT platform. #
# #
# Commercial License Usage #
# Licensees holding valid commercial BEAT licenses may use this file in #
# accordance with the terms contained in a written agreement between you #
# and Idiap. For further information contact tto@idiap.ch #
# #
# Alternatively, this file may be used under the terms of the GNU Affero #
# Public License version 3 as published by the Free Software and appearing #
# in the file LICENSE.AGPL included in the packaging of this file. #
# The BEAT platform is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. #
# #
# You should have received a copy of the GNU Affero Public License along #
# with the BEAT platform. If not, see http://www.gnu.org/licenses/. #
# #
###############################################################################
###################################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions are met: #
# #
# 1. Redistributions of source code must retain the above copyright notice, this #
# list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above copyright notice, #
# this list of conditions and the following disclaimer in the documentation #
# and/or other materials provided with the distribution. #
# #
# 3. Neither the name of the copyright holder nor the names of its contributors #
# may be used to endorse or promote products derived from this software without #
# specific prior written permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED #
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE #
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE #
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL #
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR #
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, #
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE #
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
###################################################################################
"""BEAT Computation Protocol definitions"""
...
...
beat/core/bcpapi/broker.py
View file @
9a2a13a5
# vim: set fileencoding=utf-8 :
###############################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# This file is part of the beat.core module of the BEAT platform. #
# #
# Commercial License Usage #
# Licensees holding valid commercial BEAT licenses may use this file in #
# accordance with the terms contained in a written agreement between you #
# and Idiap. For further information contact tto@idiap.ch #
# #
# Alternatively, this file may be used under the terms of the GNU Affero #
# Public License version 3 as published by the Free Software and appearing #
# in the file LICENSE.AGPL included in the packaging of this file. #
# The BEAT platform is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. #
# #
# You should have received a copy of the GNU Affero Public License along #
# with the BEAT platform. If not, see http://www.gnu.org/licenses/. #
# #
###############################################################################
###################################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions are met: #
# #
# 1. Redistributions of source code must retain the above copyright notice, this #
# list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above copyright notice, #
# this list of conditions and the following disclaimer in the documentation #
# and/or other materials provided with the distribution. #
# #
# 3. Neither the name of the copyright holder nor the names of its contributors #
# may be used to endorse or promote products derived from this software without #
# specific prior written permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED #
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE #
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE #
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL #
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR #
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, #
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE #
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
###################################################################################
"""BEAT Computation broker
...
...
beat/core/bcpapi/client.py
View file @
9a2a13a5
# vim: set fileencoding=utf-8 :
###############################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# This file is part of the beat.core module of the BEAT platform. #
# #
# Commercial License Usage #
# Licensees holding valid commercial BEAT licenses may use this file in #
# accordance with the terms contained in a written agreement between you #
# and Idiap. For further information contact tto@idiap.ch #
# #
# Alternatively, this file may be used under the terms of the GNU Affero #
# Public License version 3 as published by the Free Software and appearing #
# in the file LICENSE.AGPL included in the packaging of this file. #
# The BEAT platform is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. #
# #
# You should have received a copy of the GNU Affero Public License along #
# with the BEAT platform. If not, see http://www.gnu.org/licenses/. #
# #
###############################################################################
###################################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions are met: #
# #
# 1. Redistributions of source code must retain the above copyright notice, this #
# list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above copyright notice, #
# this list of conditions and the following disclaimer in the documentation #
# and/or other materials provided with the distribution. #