Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = []
Expand Down
11 changes: 11 additions & 0 deletions scripts/hello_rachel.py
Original file line number Diff line number Diff line change
@@ -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}")
11 changes: 11 additions & 0 deletions scripts/hello_shreya.py
Original file line number Diff line number Diff line change
@@ -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}")
11 changes: 11 additions & 0 deletions scripts/hello_willow.py
Original file line number Diff line number Diff line change
@@ -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}")
2 changes: 1 addition & 1 deletion src/mypkg/mymodule.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
def test():
print("Hello world!")
print("Hello world! I speak Python!")

11 changes: 11 additions & 0 deletions src/mypkg/utils.py
Original file line number Diff line number Diff line change
@@ -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}"