Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made pickup lines and menu interface consistent #32

Merged
merged 1 commit into from
Nov 10, 2023
Merged
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
10 changes: 7 additions & 3 deletions src/pyrizz/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Uncomment when using pytest and uploading the package to PyPi
import pyrizz.pyrizz as pyrizz

# Uncomment when testing the __main__.py file locally
# import pyrizz as pyrizz

"""Main function for PyRizz."""

#ASCII art
Expand Down Expand Up @@ -36,7 +40,7 @@ def main():
user_input = input("> ")

if user_input == "1":
print("\n" + pyrizz.get_random_line(), end = "\n\n")
print("\n" + pyrizz.get_random_line(), end = "\n")

elif user_input == "2":
print("Select a category: ")
Expand All @@ -56,7 +60,7 @@ def main():
category_val = "geeky"
elif(category_index == 4):
category_val = "dev"
print("\n" + pyrizz.get_random_category_line(category_val), end = "\n\n")
print("\n" + pyrizz.get_random_category_line(category_val), end = "\n")
else:
print("Please make sure it is a number from 1-4. \n")
else:
Expand All @@ -67,7 +71,7 @@ def main():
line = pyrizz.create_line(template_number, words)
if line:
print("\nHere's your custom pick-up line:")
print(line)
print(line + "\n")

elif user_input == "4":
print("Here are the available templates:")
Expand Down
188 changes: 94 additions & 94 deletions src/pyrizz/pickuplines.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,109 +101,109 @@
"You must be an algorithm, because you have my heart running in O(1) time.\n",
"Are you a piece of code? Because you're turning my software into hardware!\n",
"Are you a compressed file? Because when I see you, my heart wants to unzip.\n",
"I'm the RizzLord."
"I'm the RizzLord.\n"
]

romantic_lines = [
"Is it okay if I walk you home? My heart seems to follow wherever you go.",
"If beauty were a moment, you'd be an eternity.",
"Every time I see you, it feels like I've discovered a new shade of color",
"If stars would shine every time I thought of you, the night sky would glisten.",
"Do you believe in love at first sight, or should I walk by again?",
"Your voice is my favorite sound, and your name is my favorite noun.",
"If I were to rewrite the alphabet, I'd put U and I together.",
"I wouldn't need a camera to savor this moment; I just need you.",
"Every song I hear reminds me of you, even the ones I haven't heard yet",
"I never believed in magic until I saw you.",
"Your beauty could inspire poets and artists for generations.",
"Do you believe in destiny? Because I think ours just intertwined.",
"Your presence makes my heart race, but it's a marathon I never want to",
"If beauty were a crime, you'd be serving a life sentence.",
"Every time I look at you, I believe in fairy tales.",
"Thought happiness started with an H, but mine starts with U.",
"Are you Wi-fi? Because I'm feeling a connection.",
"Do you have a Band-Aid? I just scraped my knee falling for you.",
"Is there a rainbow today? Because I've just found my pot of gold in you",
"If you were a star, you'd outshine the entire galaxy.",
"If kisses were snowflakes, I'd send you a blizzard.",
"Your smile must be a black hole because it's irresistibly attractive.",
"If you were words on a page, you'd be the fine print.",
"Can I follow you? Because my mom told me to follow my dreams.",
"Is your name Google? Because you have everything I've been searching for you",
"Do you have a name, or can I call you mine?",
"Are you a library book? Because I can't help but check you out.",
"Do you have a pencil? Because I want to erase your past and write our future",
"Is your dad a baker? Because you're a cutie pie.",
"Are you a candle? Because you light up my world.",
"Are you a string? Because I can't stop finding myself attached to you.",
"If you were a function, I'd call you every day.",
"Are you a loop? Because I can't stop thinking about you again and again",
"Is it okay if I walk you home? My heart seems to follow wherever you go.\n",
"If beauty were a moment, you'd be an eternity.\n",
"Every time I see you, it feels like I've discovered a new shade of color.\n",
"If stars would shine every time I thought of you, the night sky would glisten.\n",
"Do you believe in love at first sight, or should I walk by again?\n",
"Your voice is my favorite sound, and your name is my favorite noun.\n",
"If I were to rewrite the alphabet, I'd put U and I together.\n",
"I wouldn't need a camera to savor this moment; I just need you.\n",
"Every song I hear reminds me of you, even the ones I haven't heard yet.\n",
"I never believed in magic until I saw you.\n",
"Your beauty could inspire poets and artists for generations.\n",
"Do you believe in destiny? Because I think ours just intertwined.\n",
"Your presence makes my heart race, but it's a marathon I never want to finish.\n",
"If beauty were a crime, you'd be serving a life sentence.\n",
"Every time I look at you, I believe in fairy tales.\n",
"Thought happiness started with an H, but mine starts with U.\n",
"Are you Wi-fi? Because I'm feeling a connection.\n",
"Do you have a Band-Aid? I just scraped my knee falling for you.\n",
"Is there a rainbow today? Because I've just found my pot of gold in you\n",
"If you were a star, you'd outshine the entire galaxy.\n",
"If kisses were snowflakes, I'd send you a blizzard.\n",
"Your smile must be a black hole because it's irresistibly attractive.\n",
"If you were words on a page, you'd be the fine print.\n",
"Can I follow you? Because my mom told me to follow my dreams.\n",
"Is your name Google? Because you have everything I've been searching for you.\n",
"Do you have a name, or can I call you mine?\n",
"Are you a library book? Because I can't help but check you out.\n",
"Do you have a pencil? Because I want to erase your past and write our future.\n",
"Is your dad a baker? Because you're a cutie pie.\n",
"Are you a candle? Because you light up my world.\n",
"Are you a string? Because I can't stop finding myself attached to you.\n",
"If you were a function, I'd call you every day.\n",
"Are you a loop? Because I can't stop thinking about you again and again.\n"
]

clever_lines = [
"Did we just share an elevator? Because I believe we have some serious ",
"I must be a snowflake because I've fallen for you."
"I tried finding the perfect line to make you smile, but then I realize…",
"If you were a vegetable, you'd be a 'cute-cumber.'",
"If life was a song, your smile would be the melody that gets stuck in ",
"Is it hot in here, or is it just the aura of warmth you radiate?",
"I've been trying to tie my shoes, but I can't stop tripping over my th…",
"Do you have a map? I keep getting lost in your eyes.",
"Did it hurt? When you fell from the stars and landed in my world?",
"I'm not a genie, but I can make your dreams come true.",
"Are you made of copper and tellurium? Because you're Cu-Te.",
"Are you a magician? Every time I look at you, everyone else disappears",
"Do you like basketball? Because when I saw you, my heart did a slam du…",
"If you were a vegetable, you'd be a cutecumber.",
"Do you have a sunburn, or are you always this hot?",
"Is your dad a boxer? Because you're a knockout.",
"Are you a loan from a bank? Because you have my interest.",
"Are you a campfire? Because you're hot and I want s'more.",
"Are you a parking ticket? Because you've got 'FINE' written all over y…",
"Are you a snowstorm? Because you make my heart race.",
"Are you a time traveler? Because I can see you in my future.",
"Did we just share an elevator? Because I believe we have some serious uplifted chemistry.\n",
"I must be a snowflake because I've fallen for you.\n",
"I tried finding the perfect line to make you smile, but then I realized you are the line.\n",
"If you were a vegetable, you'd be a 'cute-cumber.\n",
"If life was a song, your smile would be the melody that gets stuck in my head.\n",
"Is it hot in here, or is it just the aura of warmth you radiate?\n",
"I've been trying to tie my shoes, but I can't stop tripping over my thoughts of you.\n",
"Do you have a map? I keep getting lost in your eyes.\n",
"Did it hurt? When you fell from the stars and landed in my world?\n",
"I'm not a genie, but I can make your dreams come true.\n",
"Are you made of copper and tellurium? Because you're Cu-Te.\n",
"Are you a magician? Every time I look at you, everyone else disappears.\n",
"Do you like basketball? Because when I saw you, my heart did a slam dunk.\n",
"If you were a vegetable, you'd be a cutecumber.\n",
"Do you have a sunburn, or are you always this hot?\n",
"Is your dad a boxer? Because you're a knockout.\n",
"Are you a loan from a bank? Because you have my interest.\n",
"Are you a campfire? Because you're hot and I want s'more.\n",
"Are you a parking ticket? Because you've got 'FINE' written all over you.\n",
"Are you a snowstorm? Because you make my heart race.\n",
"Are you a time traveler? Because I can see you in my future.\n"
]

geeky_lines = [
"You're the 'key' to my 'value'.",
"If beauty were data, you'd be an overflow error.",
"Are you a variable? Because I feel the need to declare my intentions.",
"I think you've just incremented my heart's counter.",
"You're the API to my application.",
"If relationships were algorithms, ours would be a perfect match.",
"Your presence makes my system run at optimal efficiency.",
"If you were an exception, I'd catch you.",
"You must be a compiler because every time I see you, my code becomes r…",
"I'm not a photographer, but I can picture us in an endless loop togeth…",
"In the world of binary, you are the one for me.",
"I've got a lot of lines of code, but none as intriguing as the story o…",
"Forget the cloud, you've taken up all the storage in my heart.",
"I don't need version control to know you're my final commit.",
"Let's merge our branches and build a beautiful codebase together.",
"Do you believe in parallel universes? Because in every one I've imagin…",
"You must be a packet because I can't help but sniff you out in a crowd",
"Are you an algorithm? Because every part of me wants to solve you.",
"Do you know JavaScript? Because you make my heart race asynchronously.",
"If I were to traverse the nodes of my heart, every path would lead to ",
"In the Git of life, I'd never want to revert our commit.",
"Are you a CSS file? Because without you, my life would be unstyled.",
"You must be a bug, because I just can't shake you off my mind.",
"If hearts had firewalls, you'd have bypassed mine ages ago.",
"Are you a Boolean? Because true or false, my heart points to you.",
"In the world of objects, you are my favorite instance.",
"If attraction were a programming language, ours would be high-level.",
"Are you a kernel? Because my heart feels an urge to dive deeper into y…",
"Do you like Java? Because you've Objectified my affections.",
"I'd never put our relationship in a try-catch block, because I never w…",
"You're not just a semicolon; you're the statement that completes me.",
"In the IDE of life, you've just become my favorite extension.",
"If I were a coder, I'd refactor my life to include more of you.",
"You're like the most elegant code I've ever seen; concise, beautiful, ",
"You have stolen the ASCII to my heart.",
"You must be an exception, because I can't handle you properly.",
"You must be an algorithm, because you have my heart running in O(1) ti…",
"Are you a piece of code? Because you're turning my software into hardw…",
"Are you a compressed file? Because when I see you, my heart wants to u…"
"You're the 'key' to my 'value'.\n",
"If beauty were data, you'd be an overflow error.\n",
"Are you a variable? Because I feel the need to declare my intentions.\n",
"I think you've just incremented my heart's counter.\n",
"You're the API to my application.\n",
"If relationships were algorithms, ours would be a perfect match.\n",
"Your presence makes my system run at optimal efficiency.\n",
"If you were an exception, I'd catch you.\n",
"You must be a compiler because every time I see you, my code becomes runnable.\n",
"I'm not a photographer, but I can picture us in an endless loop together.\n",
"In the world of binary, you are the one for me.\n",
"I've got a lot of lines of code, but none as intriguing as the story of us.\n",
"Forget the cloud, you've taken up all the storage in my heart.\n",
"I don't need version control to know you're my final commit.\n",
"Let's merge our branches and build a beautiful codebase together.\n",
"Do you believe in parallel universes? Because in every one I've imagined, it's always been you and me.\n",
"You must be a packet because I can't help but sniff you out in a crowd.\n",
"Are you an algorithm? Because every part of me wants to solve you.\n",
"Do you know JavaScript? Because you make my heart race asynchronously.\n",
"If I were to traverse the nodes of my heart, every path would lead to you.\n",
"In the Git of life, I'd never want to revert our commit.\n",
"Are you a CSS file? Because without you, my life would be unstyled.\n",
"You must be a bug, because I just can't shake you off my mind.\n",
"If hearts had firewalls, you'd have bypassed mine ages ago.\n",
"Are you a Boolean? Because true or false, my heart points to you.\n",
"In the world of objects, you are my favorite instance.\n",
"If attraction were a programming language, ours would be high-level.\n",
"Are you a kernel? Because my heart feels an urge to dive deeper into you.\n",
"Do you like Java? Because you've Objectified my affections.\n",
"I'd never put our relationship in a try-catch block, because I never want to handle an exception with us.\n",
"You're not just a semicolon; you're the statement that completes me.\n",
"In the IDE of life, you've just become my favorite extension.\n",
"If I were a coder, I'd refactor my life to include more of you.\n",
"You're like the most elegant code I've ever seen; concise, beautiful, and effective.\n",
"You have stolen the ASCII to my heart.\n",
"You must be an exception, because I can't handle you properly.\n",
"You must be an algorithm, because you have my heart running in O(1) time.\n",
"Are you a piece of code? Because you're turning my software into hardware!\n",
"Are you a compressed file? Because when I see you, my heart wants to unzip.\n"
]

templates = [
Expand Down
6 changes: 6 additions & 0 deletions src/pyrizz/pyrizz.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
import random
import pathlib
import openai

# Uncomment when using pytest and uploading the package to PyPi
from pyrizz.pickuplines import pickuplines
from pyrizz.templates import templates

# Uncomment when testing the __main__.py file locally
# from pickuplines import pickuplines
# from templates import templates

PROJECT_ROOT = f"{pathlib.Path(__file__).parent.resolve()}/"

def get_lines(category='all'):
Expand Down