Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
beat.backend.python
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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.backend.python
Commits
10132bfe
Commit
10132bfe
authored
Mar 13, 2019
by
Samuel GAIST
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[License] Move to BSD 3 Clause
Fixes
#17
parent
eaf478a4
Pipeline
#28041
passed with stage
in 10 minutes and 12 seconds
Changes
113
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
113 changed files
with
3450 additions
and
3090 deletions
+3450
-3090
AUTHORS.rst
AUTHORS.rst
+26
-16
LICENSE
LICENSE
+27
-0
LICENSE.AGPL
LICENSE.AGPL
+0
-661
MANIFEST.in
MANIFEST.in
+1
-1
README.rst
README.rst
+26
-15
beat/__init__.py
beat/__init__.py
+31
-24
beat/backend/__init__.py
beat/backend/__init__.py
+31
-24
beat/backend/python/__init__.py
beat/backend/python/__init__.py
+31
-23
beat/backend/python/algorithm.py
beat/backend/python/algorithm.py
+31
-23
beat/backend/python/baseformat.py
beat/backend/python/baseformat.py
+31
-23
beat/backend/python/data.py
beat/backend/python/data.py
+31
-23
beat/backend/python/data_loaders.py
beat/backend/python/data_loaders.py
+32
-23
beat/backend/python/database.py
beat/backend/python/database.py
+31
-23
beat/backend/python/dataformat.py
beat/backend/python/dataformat.py
+31
-23
beat/backend/python/exceptions.py
beat/backend/python/exceptions.py
+31
-23
beat/backend/python/execution/__init__.py
beat/backend/python/execution/__init__.py
+31
-23
beat/backend/python/execution/algorithm.py
beat/backend/python/execution/algorithm.py
+31
-23
beat/backend/python/execution/database.py
beat/backend/python/execution/database.py
+31
-23
beat/backend/python/execution/helpers.py
beat/backend/python/execution/helpers.py
+32
-23
beat/backend/python/execution/loop.py
beat/backend/python/execution/loop.py
+31
-23
beat/backend/python/execution/messagehandlers.py
beat/backend/python/execution/messagehandlers.py
+32
-23
beat/backend/python/hash.py
beat/backend/python/hash.py
+31
-23
beat/backend/python/helpers.py
beat/backend/python/helpers.py
+32
-23
beat/backend/python/inputs.py
beat/backend/python/inputs.py
+32
-23
beat/backend/python/library.py
beat/backend/python/library.py
+31
-23
beat/backend/python/loader.py
beat/backend/python/loader.py
+31
-23
beat/backend/python/outputs.py
beat/backend/python/outputs.py
+32
-23
beat/backend/python/scripts/__init__.py
beat/backend/python/scripts/__init__.py
+31
-23
beat/backend/python/scripts/databases_provider.py
beat/backend/python/scripts/databases_provider.py
+31
-23
beat/backend/python/scripts/describe.py
beat/backend/python/scripts/describe.py
+31
-23
beat/backend/python/scripts/execute.py
beat/backend/python/scripts/execute.py
+31
-23
beat/backend/python/scripts/index.py
beat/backend/python/scripts/index.py
+31
-23
beat/backend/python/scripts/loop_execute.py
beat/backend/python/scripts/loop_execute.py
+31
-23
beat/backend/python/stats.py
beat/backend/python/stats.py
+32
-23
beat/backend/python/test/__init__.py
beat/backend/python/test/__init__.py
+31
-23
beat/backend/python/test/mocks.py
beat/backend/python/test/mocks.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/add/1.py
...backend/python/test/prefix/algorithms/autonomous/add/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/add2/1.py
...ackend/python/test/prefix/algorithms/autonomous/add2/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/add3/1.py
...ackend/python/test/prefix/algorithms/autonomous/add3/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/echo/1.py
...ackend/python/test/prefix/algorithms/autonomous/echo/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/invalid_loop_output/1.py
...est/prefix/algorithms/autonomous/invalid_loop_output/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/loop/1.py
...ackend/python/test/prefix/algorithms/autonomous/loop/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/loop_user/1.py
...d/python/test/prefix/algorithms/autonomous/loop_user/1.py
+33
-23
beat/backend/python/test/prefix/algorithms/autonomous/no_prepare/1.py
.../python/test/prefix/algorithms/autonomous/no_prepare/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/no_setup/1.py
...nd/python/test/prefix/algorithms/autonomous/no_setup/1.py
+31
-23
beat/backend/python/test/prefix/algorithms/autonomous/parametrized/1.py
...ython/test/prefix/algorithms/autonomous/parametrized/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/prepare_crash/1.py
...thon/test/prefix/algorithms/autonomous/prepare_crash/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/prepare_fail/1.py
...ython/test/prefix/algorithms/autonomous/prepare_fail/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/process_crash/1.py
...thon/test/prefix/algorithms/autonomous/process_crash/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/setup_crash/1.py
...python/test/prefix/algorithms/autonomous/setup_crash/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/setup_fail/1.py
.../python/test/prefix/algorithms/autonomous/setup_fail/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/autonomous/valid_algorithm/1.py
...on/test/prefix/algorithms/autonomous/valid_algorithm/1.py
+31
-23
beat/backend/python/test/prefix/algorithms/autonomous/valid_analysis/1.py
...hon/test/prefix/algorithms/autonomous/valid_analysis/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/add/1.py
beat/backend/python/test/prefix/algorithms/legacy/add/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/add2/1.py
beat/backend/python/test/prefix/algorithms/legacy/add2/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/echo/1.py
beat/backend/python/test/prefix/algorithms/legacy/echo/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/no_class/1.py
...ackend/python/test/prefix/algorithms/legacy/no_class/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/no_setup/1.py
...ackend/python/test/prefix/algorithms/legacy/no_setup/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/parametrized/1.py
...nd/python/test/prefix/algorithms/legacy/parametrized/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/prepare/1.py
...backend/python/test/prefix/algorithms/legacy/prepare/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/process_crash/1.py
...d/python/test/prefix/algorithms/legacy/process_crash/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/setup_crash/1.py
...end/python/test/prefix/algorithms/legacy/setup_crash/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/setup_fail/1.py
...kend/python/test/prefix/algorithms/legacy/setup_fail/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/syntax_error/1.py
...nd/python/test/prefix/algorithms/legacy/syntax_error/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/valid_algorithm/1.py
...python/test/prefix/algorithms/legacy/valid_algorithm/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/legacy/valid_analysis/1.py
.../python/test/prefix/algorithms/legacy/valid_analysis/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/sequential/add/1.py
...backend/python/test/prefix/algorithms/sequential/add/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/sequential/add2/1.py
...ackend/python/test/prefix/algorithms/sequential/add2/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/sequential/add3/1.py
...ackend/python/test/prefix/algorithms/sequential/add3/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/sequential/echo/1.py
...ackend/python/test/prefix/algorithms/sequential/echo/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/sequential/no_prepare/1.py
.../python/test/prefix/algorithms/sequential/no_prepare/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/sequential/no_setup/1.py
...nd/python/test/prefix/algorithms/sequential/no_setup/1.py
+31
-23
beat/backend/python/test/prefix/algorithms/sequential/parametrized/1.py
...ython/test/prefix/algorithms/sequential/parametrized/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/sequential/prepare_crash/1.py
...thon/test/prefix/algorithms/sequential/prepare_crash/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/sequential/prepare_fail/1.py
...ython/test/prefix/algorithms/sequential/prepare_fail/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/sequential/process_crash/1.py
...thon/test/prefix/algorithms/sequential/process_crash/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/sequential/setup_crash/1.py
...python/test/prefix/algorithms/sequential/setup_crash/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/sequential/setup_fail/1.py
.../python/test/prefix/algorithms/sequential/setup_fail/1.py
+32
-23
beat/backend/python/test/prefix/algorithms/sequential/valid_algorithm/1.py
...on/test/prefix/algorithms/sequential/valid_algorithm/1.py
+31
-23
beat/backend/python/test/prefix/algorithms/sequential/valid_analysis/1.py
...hon/test/prefix/algorithms/sequential/valid_analysis/1.py
+32
-23
beat/backend/python/test/prefix/databases/crash/1.py
beat/backend/python/test/prefix/databases/crash/1.py
+32
-23
beat/backend/python/test/prefix/databases/integers_db/1.py
beat/backend/python/test/prefix/databases/integers_db/1.py
+32
-23
beat/backend/python/test/prefix/databases/python_keyword/1.py
.../backend/python/test/prefix/databases/python_keyword/1.py
+32
-23
beat/backend/python/test/prefix/databases/syntax_error/1.py
beat/backend/python/test/prefix/databases/syntax_error/1.py
+32
-23
beat/backend/python/test/test_algorithm.py
beat/backend/python/test/test_algorithm.py
+31
-23
beat/backend/python/test/test_data.py
beat/backend/python/test/test_data.py
+31
-23
beat/backend/python/test/test_data_loaders.py
beat/backend/python/test/test_data_loaders.py
+31
-23
beat/backend/python/test/test_database.py
beat/backend/python/test/test_database.py
+31
-23
beat/backend/python/test/test_database_view.py
beat/backend/python/test/test_database_view.py
+31
-23
beat/backend/python/test/test_databases_index.py
beat/backend/python/test/test_databases_index.py
+31
-23
beat/backend/python/test/test_databases_provider.py
beat/backend/python/test/test_databases_provider.py
+31
-23
beat/backend/python/test/test_dbexecutor.py
beat/backend/python/test/test_dbexecutor.py
+31
-23
beat/backend/python/test/test_executor.py
beat/backend/python/test/test_executor.py
+31
-23
beat/backend/python/test/test_format_array.py
beat/backend/python/test/test_format_array.py
+31
-23
beat/backend/python/test/test_format_extends.py
beat/backend/python/test/test_format_extends.py
+31
-23
beat/backend/python/test/test_format_missing_attributes.py
beat/backend/python/test/test_format_missing_attributes.py
+31
-23
beat/backend/python/test/test_format_object.py
beat/backend/python/test/test_format_object.py
+31
-23
beat/backend/python/test/test_format_simple.py
beat/backend/python/test/test_format_simple.py
+31
-23
beat/backend/python/test/test_format_unsafe_cast.py
beat/backend/python/test/test_format_unsafe_cast.py
+31
-23
beat/backend/python/test/test_format_valid_cast.py
beat/backend/python/test/test_format_valid_cast.py
+31
-23
beat/backend/python/test/test_hash.py
beat/backend/python/test/test_hash.py
+31
-23
beat/backend/python/test/test_helpers.py
beat/backend/python/test/test_helpers.py
+31
-23
beat/backend/python/test/test_inputs.py
beat/backend/python/test/test_inputs.py
+31
-23
beat/backend/python/test/test_loop_executor.py
beat/backend/python/test/test_loop_executor.py
+31
-23
beat/backend/python/test/test_message_handler.py
beat/backend/python/test/test_message_handler.py
+31
-23
beat/backend/python/test/test_outputs.py
beat/backend/python/test/test_outputs.py
+31
-23
beat/backend/python/utils.py
beat/backend/python/utils.py
+32
-23
conda/meta.yaml
conda/meta.yaml
+3
-3
doc/api.rst
doc/api.rst
+29
-1
doc/index.rst
doc/index.rst
+27
-17
doc/links.rst
doc/links.rst
+31
-1
doc/object_representation.rst
doc/object_representation.rst
+31
-1
setup.py
setup.py
+33
-26
No files found.
AUTHORS.rst
View file @
10132bfe
.. 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 @
10132bfe
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 @
eaf478a4
This diff is collapsed.
Click to expand it.
MANIFEST.in
View file @
10132bfe
include LICENSE
.AGPL
README.rst buildout.cfg version.txt requirements.txt
include LICENSE README.rst buildout.cfg version.txt requirements.txt
recursive-include doc conf.py *.rst *.png *.ico
recursive-include beat/backend/python/test/prefix *.json *.py
README.rst
View file @
10132bfe
.. 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.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.backend.python/stable/index.html
...
...
beat/__init__.py
View file @
10132bfe
#!/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.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/. #
# #
###############################################################################
###################################################################################
# #
# 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/backend/__init__.py
View file @
10132bfe
#!/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.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/. #
# #
###############################################################################
###################################################################################
# #
# 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/backend/python/__init__.py
View file @
10132bfe
#!/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.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/. #
# #
###############################################################################
###################################################################################
# #
# 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. #
# #
###################################################################################
\ No newline at end of file
beat/backend/python/algorithm.py
View file @
10132bfe
#!/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.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/. #
# #
###############################################################################
###################################################################################
# #
# 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/backend/python/baseformat.py
View file @
10132bfe
#!/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.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/. #
# #
###############################################################################
###################################################################################
# #
# 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/backend/python/data.py
View file @
10132bfe
#!/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.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/. #
# #
###############################################################################
###################################################################################
# #
# 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/backend/python/data_loaders.py
View file @
10132bfe
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
###############################################################################
# #
# Copyright (c) 2017 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# 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/. #
# #
###############################################################################
###################################################################################
# #
# 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/backend/python/database.py
View file @
10132bfe
#!/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.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/. #
# #
###############################################################################
###################################################################################
# #
# 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/backend/python/dataformat.py
View file @
10132bfe
#!/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.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/. #
# #
###############################################################################
###################################################################################
# #
# 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 #