From 671f5601951c774e1207906aaf56d7cae22381f9 Mon Sep 17 00:00:00 2001 From: ananya173147 Date: Tue, 17 Oct 2023 14:47:12 -0400 Subject: [PATCH 1/7] Update LICENSE --- LICENSE.md => LICENSE | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename LICENSE.md => LICENSE (68%) diff --git a/LICENSE.md b/LICENSE similarity index 68% rename from LICENSE.md rename to LICENSE index eae5e1a52..05ec1acee 100644 --- a/LICENSE.md +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Ankit Tiwari, Suraj Pawar, Amit Gheitya, and Jay Jagtap +Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -15,7 +15,7 @@ copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + ORIGINAL AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, + ARISING FROM, OUT OF, OR IN CONNECTION WITH THE ORIGINAL SOFTWARE OR THE USE + OR OTHER DEALINGS IN THE ORIGINAL SOFTWARE OR THE NEW EXTENSIONS. \ No newline at end of file From 203ecac5b4873fe5880859ddc4980e8d736b99b8 Mon Sep 17 00:00:00 2001 From: ananya173147 Date: Tue, 17 Oct 2023 14:51:12 -0400 Subject: [PATCH 2/7] add copyright on src file --- src/__init__.py | 6 ++++++ src/prediction_scripts/item_based.py | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/src/__init__.py b/src/__init__.py index e69de29bb..4d0616d0a 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -0,0 +1,6 @@ +""" +Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty +This code is licensed under MIT license (see LICENSE for details) + +@author: PopcornPicks +""" \ No newline at end of file diff --git a/src/prediction_scripts/item_based.py b/src/prediction_scripts/item_based.py index 887051dad..ba567ad4c 100644 --- a/src/prediction_scripts/item_based.py +++ b/src/prediction_scripts/item_based.py @@ -2,7 +2,12 @@ This module provides a recommendation system for movies based on user ratings. It uses user ratings data and movie information to generate movie recommendations for new users. """ +""" +Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty +This code is licensed under MIT license (see LICENSE for details) +@author: PopcornPicks +""" import os import pandas as pd From 40981e2d9eef1ec7445b6ee75b4dcf1d49bc415c Mon Sep 17 00:00:00 2001 From: ananya173147 Date: Tue, 17 Oct 2023 14:54:00 -0400 Subject: [PATCH 3/7] add copyright on src file --- src/prediction_scripts/item_based.py | 5 +---- src/recommenderapp/app.py | 5 ++++- src/recommenderapp/search.py | 6 ++++-- src/recommenderapp/utils.py | 7 ++++++- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/prediction_scripts/item_based.py b/src/prediction_scripts/item_based.py index ba567ad4c..40e677b6c 100644 --- a/src/prediction_scripts/item_based.py +++ b/src/prediction_scripts/item_based.py @@ -1,13 +1,10 @@ """ -This module provides a recommendation system for movies based on user ratings. -It uses user ratings data and movie information to generate movie recommendations for new users. -""" -""" Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty This code is licensed under MIT license (see LICENSE for details) @author: PopcornPicks """ + import os import pandas as pd diff --git a/src/recommenderapp/app.py b/src/recommenderapp/app.py index 4b351b256..22471b4ae 100644 --- a/src/recommenderapp/app.py +++ b/src/recommenderapp/app.py @@ -1,5 +1,8 @@ """ -Module for routing all calls from the frontend +Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty +This code is licensed under MIT license (see LICENSE for details) + +@author: PopcornPicks """ import json diff --git a/src/recommenderapp/search.py b/src/recommenderapp/search.py index 56ee49a6f..20b8fb3be 100644 --- a/src/recommenderapp/search.py +++ b/src/recommenderapp/search.py @@ -1,7 +1,9 @@ """ -Search feature for the web application -""" +Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty +This code is licensed under MIT license (see LICENSE for details) +@author: PopcornPicks +""" import os import pandas as pd #from flask import jsonify, request, render_template diff --git a/src/recommenderapp/utils.py b/src/recommenderapp/utils.py index 088777c8a..bdb9a899c 100644 --- a/src/recommenderapp/utils.py +++ b/src/recommenderapp/utils.py @@ -1,4 +1,9 @@ -""" Module contains utility functions used for various purposes in the backend """ +""" +Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty +This code is licensed under MIT license (see LICENSE for details) + +@author: PopcornPicks +""" import logging import smtplib From 47b5353cd0b48d817b49d7e59c29451e3d981547 Mon Sep 17 00:00:00 2001 From: ananya173147 Date: Tue, 17 Oct 2023 14:55:27 -0400 Subject: [PATCH 4/7] add copyright on src file --- test/__init__.py | 6 ++++++ test/test_search.py | 5 +++++ test/test_util.py | 5 ++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/test/__init__.py b/test/__init__.py index e69de29bb..4d0616d0a 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -0,0 +1,6 @@ +""" +Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty +This code is licensed under MIT license (see LICENSE for details) + +@author: PopcornPicks +""" \ No newline at end of file diff --git a/test/test_search.py b/test/test_search.py index c67bf631f..face16a0e 100644 --- a/test/test_search.py +++ b/test/test_search.py @@ -1,4 +1,9 @@ """ +Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty +This code is licensed under MIT license (see LICENSE for details) + +@author: PopcornPicks + Test suit for search feature """ diff --git a/test/test_util.py b/test/test_util.py index 5c4186533..cc44d83c1 100644 --- a/test/test_util.py +++ b/test/test_util.py @@ -1,5 +1,8 @@ """ -Test suit for search feature +Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty +This code is licensed under MIT license (see LICENSE for details) + +@author: PopcornPicks """ import sys From 73a6d617c41c9cbf16e31fed6d6e0c150861c380 Mon Sep 17 00:00:00 2001 From: ananya173147 Date: Tue, 17 Oct 2023 14:56:02 -0400 Subject: [PATCH 5/7] add copyright on test files --- test/tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/tests.py b/test/tests.py index 0c3dc58e0..bb79aab8f 100644 --- a/test/tests.py +++ b/test/tests.py @@ -1,5 +1,8 @@ """ -Test suite for recommender system +Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty +This code is licensed under MIT license (see LICENSE for details) + +@author: PopcornPicks """ import sys From 1036c5a0bc0256d954eae150d8e22eb549a20316 Mon Sep 17 00:00:00 2001 From: ananya173147 Date: Tue, 17 Oct 2023 14:56:42 -0400 Subject: [PATCH 6/7] add copyright on setup.py --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index 45d04eaf8..7d16ec9f5 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,9 @@ """ +Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty +This code is licensed under MIT license (see LICENSE for details) + +@author: PopcornPicks + Movie Recommender Setup Script This script is used to package and distribute the Movie Recommender project. From 0b43a314499c903e4157bd0742977c19f6eda623 Mon Sep 17 00:00:00 2001 From: ananya173147 Date: Tue, 17 Oct 2023 15:00:47 -0400 Subject: [PATCH 7/7] pylint fix --- src/__init__.py | 6 ------ test/__init__.py | 6 ------ 2 files changed, 12 deletions(-) diff --git a/src/__init__.py b/src/__init__.py index 4d0616d0a..e69de29bb 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -1,6 +0,0 @@ -""" -Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty -This code is licensed under MIT license (see LICENSE for details) - -@author: PopcornPicks -""" \ No newline at end of file diff --git a/test/__init__.py b/test/__init__.py index 4d0616d0a..e69de29bb 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,6 +0,0 @@ -""" -Copyright (c) 2023 Aditya Pai, Ananya Mantravadi, Rishi Singhal, Samarth Shetty -This code is licensed under MIT license (see LICENSE for details) - -@author: PopcornPicks -""" \ No newline at end of file