Package: pydatenyc
PyDate in NYCAn easy date generator that gives you activities, meals, desserts, and even pick up lines!InstallationUsageOnce installed, you can call pydate from the command line with the desired function and flags.Activity Recommendation:activity(indoor, time)The activity function has two flags:--indoorspecifies if the suggested activity takes place indoors-indoor Trueor outdoors-indoor False. The indoor default is True.--timespecifies when the activity takes place. Options for this flag aremorning, afternoon, evening. The time default is evening.For example,python pydate_cli.py activity --indoor False --time eveningwill suggest an evening outdoor activity.Food Recommendation:food(cuisine, price_range, meal)The food function has three flags:--cuisinespecifies the type of cuisine the recommended food will fall under.  Options for this flag areFrench, Chinese, American, Italian. The cuisine default is French.--price_rangespecifies the price range of the meal. Options for this flag arelow, medium, high. The price range default is medium.--mealspecifies the time of day the meal will be eaten. Options for this flag arebreakfast, lunch, dinner. The meal default is dinner.For example,python pydate_cli.py food --cuisine French --price_range medium --meal dinnerwill suggest a moderately priced French meal that can be eaten for dinner.Dessert Recommendation:dessert(type, price)The dessert function has two flags:--typespecifies the type of dessert that will be suggested. Options for this flag arebakery, candy, frozen. The type default is bakery.--pricespecifies the price range of the dessert. Options for this flag arelow, medium, high. The price default is low.For example,python pydate_cli.py dessert --type bakery --price mediumwill suggest a moderately priced bakery as a dessert option.Pick Up Line Recommendation:pickupline(text, category)The pick up line function has two flags:--textis a boolean that specifies whether the pick up line generated should be suitable for text usage or not. Most flags with text set to true will have an emoji to accompany the pickup line. The boolean's default value is set to true.--categoryis a string that can further filter the category of the pick up line. Options for this flag are not case-sensitive, and include:'Literary', 'Compliment', 'Sweet', 'Cute', 'Romantic', 'Classic', 'Bold', 'Direct', 'Geeky', 'Clever', 'Suggestive', 'Modern', 'Whimsical', 'Edgy', 'Humorous', 'Confident', 'Tech', 'Pun', 'Historical', 'Seasonal', 'Futuristic', 'Nerdy', 'Playful', 'Caring', 'Charming', 'Funny', 'Blessed', 'Science', 'Contemporary'For example,python pydate_cli.py pickupline --text=True --category=funnywill suggest a funny pickup line that is suited for texts.To import project into your own codeYou can access the date generator in your own project by importing the pydate package and using the functionsactivity(indoor, time),food(cuisine, price_range, meal),dessert(type, price)to get a recommendation from the chosen category.Example codePyDate example InterfaceRun Usingpython example.pyPeer Contributions to PyDateHere are the steps to contribute to this package if you'd likeClone the repository to your local machine [https://github.com/software-students-fall2023/3-python-package-exercise-threepeat]To set up the virtual environment and dependencies:a. If pipenv is not installed, runpip install pipenvb. Runpipenv installto install package dependenciesc. Runpipenv shellto activate virtual environmentTo run tests, runpython3 -m pytest tests/test_file_name.pyand replacetest_file_name.pywith the test you want to runTo build package, runpython3 -m buildPyPI LinkContributorsDanica Jin -https://github.com/dj9771Emma Zheng -https://github.com/emxyzGabriel Park -https://github.com/gmp9469Megan Chen -https://github.com/meganchen99