From d896506f7e09c1e49e4e8f43f24ff0bf63391a97 Mon Sep 17 00:00:00 2001
From: Henrique Varella Ehrenfried <h.v.ehrenfried@hotmail.com>
Date: Wed, 23 Jan 2019 08:27:44 -0200
Subject: [PATCH] Add license to the files

---
 database/__init__.py                    | 21 +++++++++++++++++++++
 database/actions.py                     | 21 +++++++++++++++++++++
 database/base.py                        | 21 +++++++++++++++++++++
 database/database_table.py              | 21 +++++++++++++++++++++
 database/protocol.py                    | 21 +++++++++++++++++++++
 database/types.py                       | 21 +++++++++++++++++++++
 generate_schema.py                      | 21 +++++++++++++++++++++
 manage.py                               | 24 ++++++++++++++++++++++++
 mapping_functions/__init__.py           | 21 +++++++++++++++++++++
 mapping_functions/table_manipulation.py | 21 +++++++++++++++++++++
 pnad_protocol_from_dic.py               | 22 ++++++++++++++++++++++
 protocols_comparison.py                 | 21 +++++++++++++++++++++
 settings.py                             | 22 ++++++++++++++++++++++
 tests/__init__.py                       | 21 +++++++++++++++++++++
 tests/database_table_test.py            | 22 ++++++++++++++++++++++
 15 files changed, 321 insertions(+)

diff --git a/database/__init__.py b/database/__init__.py
index e69de29..705b9c6 100644
--- a/database/__init__.py
+++ b/database/__init__.py
@@ -0,0 +1,21 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
diff --git a/database/actions.py b/database/actions.py
index 06c676a..9ba4c38 100644
--- a/database/actions.py
+++ b/database/actions.py
@@ -1,3 +1,24 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
 '''Database manipulation actions - these can be used as models for other modules.'''
 import logging
 from sqlalchemy import create_engine, MetaData
diff --git a/database/base.py b/database/base.py
index 5ec22f2..d00aa5b 100644
--- a/database/base.py
+++ b/database/base.py
@@ -1,3 +1,24 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
 '''Module containing base declarations'''
 
 
diff --git a/database/database_table.py b/database/database_table.py
index 7cb205d..ef3d809 100644
--- a/database/database_table.py
+++ b/database/database_table.py
@@ -1,3 +1,24 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
 '''This module contains the definition of the DatabaseTable class and a constructor'''
 import os
 import time
diff --git a/database/protocol.py b/database/protocol.py
index f09c619..d78edf9 100644
--- a/database/protocol.py
+++ b/database/protocol.py
@@ -1,3 +1,24 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
 ''' Routines related to column dictionary generation.
 Names comonly used:
 - original columns: columns as they are named in the original database;
diff --git a/database/types.py b/database/types.py
index 61b6987..1f0b24a 100644
--- a/database/types.py
+++ b/database/types.py
@@ -1,3 +1,24 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
 import re
 from sqlalchemy_monetdb.types import MONETDB_TYPE_MAP, TINYINT, DOUBLE_PRECISION
 from sqlalchemy.ext.compiler import compiles
diff --git a/generate_schema.py b/generate_schema.py
index 53f1d05..ab990c2 100644
--- a/generate_schema.py
+++ b/generate_schema.py
@@ -1,3 +1,24 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
 '''Generates schema in mysql dialect. Useful for documentation'''
 from sqlalchemy import create_engine, MetaData, inspect
 from sqlalchemy.dialects import mysql
diff --git a/manage.py b/manage.py
index ececfdc..a4dba50 100755
--- a/manage.py
+++ b/manage.py
@@ -1,4 +1,28 @@
 #!/usr/bin/env python3
+
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
+
+
 '''CLI for database module'''
 from manager import Manager
 
diff --git a/mapping_functions/__init__.py b/mapping_functions/__init__.py
index 9f17110..36f5b73 100644
--- a/mapping_functions/__init__.py
+++ b/mapping_functions/__init__.py
@@ -1,3 +1,24 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
 ''' This module contains functions to generate pairing reports '''
 import os
 import pandas as pd
diff --git a/mapping_functions/table_manipulation.py b/mapping_functions/table_manipulation.py
index 80de3fa..9cb106b 100644
--- a/mapping_functions/table_manipulation.py
+++ b/mapping_functions/table_manipulation.py
@@ -1,3 +1,24 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
 '''Defines functions to build the pairing reports, without concern for specific type output'''
 import os
 import numpy as np
diff --git a/pnad_protocol_from_dic.py b/pnad_protocol_from_dic.py
index 517a888..4879ce7 100644
--- a/pnad_protocol_from_dic.py
+++ b/pnad_protocol_from_dic.py
@@ -1,3 +1,25 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
+
 import sys
 import pandas as pd
 
diff --git a/protocols_comparison.py b/protocols_comparison.py
index cf6fd3b..661d24e 100644
--- a/protocols_comparison.py
+++ b/protocols_comparison.py
@@ -1,3 +1,24 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
 import pandas as pd
 import os
 
diff --git a/settings.py b/settings.py
index fd664c9..94ca902 100644
--- a/settings.py
+++ b/settings.py
@@ -1,3 +1,25 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
+
 '''Settings used by the database module'''
 import logging
 
diff --git a/tests/__init__.py b/tests/__init__.py
index e69de29..705b9c6 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -0,0 +1,21 @@
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
diff --git a/tests/database_table_test.py b/tests/database_table_test.py
index aabe54c..e06c586 100644
--- a/tests/database_table_test.py
+++ b/tests/database_table_test.py
@@ -1,4 +1,26 @@
 #!/usr/bin/env python3
+
+"""
+Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
+Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
+
+This file is part of HOTMapper.
+
+HOTMapper is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+HOTMapper is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with simcaq-cdn.  If not, see <https://www.gnu.org/licenses/>.
+
+"""
+
 '''Describes tests for the database.database_table module, concerning DatabaseTable objects
 and their manipulation'''
 import unittest
-- 
GitLab