diff --git a/README.md b/README.md index 5201399..9461af0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # COMPSS-211-Final-Project-Template-Repo Template repository for COMPSS-211 Final Projects + +##Contributors +##Willow +I will be contributing in data analysis and presentation. + +### Shreya Annamaneni + +Hi this is Rachel diff --git a/pyproject.toml b/pyproject.toml index c0fe43e..eba8487 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] -name = "mypkg" +name = "nlp_us_presidents" version = "0.0.1" -description = "Final Project Group Repository for COMPSS-211" +description = "Analyzes US presidential speeches using NLP methods to identify trends in the definition of 'What it means to be an American' over time." readme = "README.md" requires-python = ">=3.10" dependencies = [] diff --git a/scripts/hello_rachel.py b/scripts/hello_rachel.py new file mode 100644 index 0000000..8cd0ffc --- /dev/null +++ b/scripts/hello_rachel.py @@ -0,0 +1,11 @@ +""" +A simple hello world script by Rachel. +""" +name = "Rachel" +print(f"Hello from {name}!") +print("This is my first script in our group project.") + +# Add a simple calculation +favorite_number = 42 # Change this to your actual favorite number +result = favorite_number * 2 +print(f"My favorite number times 2 is: {result}") \ No newline at end of file diff --git a/scripts/hello_shreya.py b/scripts/hello_shreya.py new file mode 100644 index 0000000..3506e0b --- /dev/null +++ b/scripts/hello_shreya.py @@ -0,0 +1,11 @@ +""" +A simple hello world script by [Your Name] +""" +name = "[Shreya Annamaneni]" +print(f"Hello from {shreya}!") +print("This is my first script in our group project.") + +# Add a simple calculation +favorite_number = 14 # Change this to your actual favorite number +result = favorite_number * 2 +print(f"My favorite number times 2 is: {result}") \ No newline at end of file diff --git a/scripts/hello_willow.py b/scripts/hello_willow.py new file mode 100644 index 0000000..9375a7e --- /dev/null +++ b/scripts/hello_willow.py @@ -0,0 +1,11 @@ +""" +A simple hello world script by [Your Name] +""" +name = "Willow" +print(f"Hello from {name}!") +print("This is my first script in our group project.") + +# Add a simple calculation +favorite_number = 3 # Change this to your actual favorite number +result = favorite_number * 2 +print(f"My favorite number times 2 is: {result}") \ No newline at end of file diff --git a/src/mypkg/mymodule.py b/src/mypkg/mymodule.py index 40be556..967cfa9 100644 --- a/src/mypkg/mymodule.py +++ b/src/mypkg/mymodule.py @@ -1,3 +1,3 @@ def test(): - print("Hello world!") + print("Hello world! I speak Python!") diff --git a/src/mypkg/utils.py b/src/mypkg/utils.py new file mode 100644 index 0000000..944bdf1 --- /dev/null +++ b/src/mypkg/utils.py @@ -0,0 +1,11 @@ +def calculate_average(numbers): + """Calculate the average of a list of numbers.""" + if not numbers: + return 0 + return sum(numbers) / len(numbers) + +def format_currency(amount, currency="USD"): + """Format a number as currency.""" + symbols = {"USD": "$", "EUR": "€", "GBP": "£"} + symbol = symbols.get(currency, "$") + return f"{symbol}{amount:.2f}" \ No newline at end of file