GithubHelp home page GithubHelp logo

geekyharsh05 / birthday-wishcraft Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 7 KB

Make birthdays extraordinary with this tool. Generate personalized and heartfelt wishes for your loved ones in just a few clicks. Say goodbye to generic messages and create memories that will be cherished forever. Bring smiles and joy to every birthday celebration!

License: MIT License

Python 100.00%
birthday-wishes fpdf json python python-script

birthday-wishcraft's Introduction

๐ŸŽ‰ Birthday WishCraft

The Birthday WishCraft is a Python script that generates personalized birthday wishes. It allows you to input the recipient's name, your name, and their age. The script then randomly selects a birthday wish from a collection of wishes and generates a personalized wish by replacing placeholders with the actual names and age.

โœจ Features

  • Generates personalized birthday wishes
  • Randomly selects wishes from a collection
  • Saves sent wishes to a text file
  • Saves the entire output to a text file
  • Converts the output text file to a PDF file

๐Ÿ“‹ Prerequisites

To run the Birthday WishCraft, ensure that you have the following installed:

  • Python (Version 3.6 or higher)
  • pip (Python package manager)

Additionally, install the fpdf package by running the following command:

pip install fpdf

๐Ÿš€ Usage

  1. Clone the repository to your local machine or download the source code as a ZIP file.

    git clone [email protected]:geekyharsh05/Birthday-WishCraft.git
  2. Open a terminal or command prompt and navigate to the project's root directory.

  3. Run the script by executing the following command:

    python main.py
    
  4. Follow the prompts and provide the necessary inputs:

    • Enter the recipient's name.
    • Enter your name.
    • Enter the recipient's age.
  5. Choose the desired options:

    • Save sent wishes? Enter 'Y' to save the sent wishes to a text file or 'N' to skip.
    • Save output to file? Enter 'Y' to save the entire output to a text file or 'N' to skip.
    • Convert output file to PDF? Enter 'Y' to convert the output text file to a PDF file or 'N' to skip.
  6. The script will generate a personalized birthday wish and display it on the console.

  7. If you selected to save sent wishes, a text file named "sent_wishes.txt" will be created in the same directory, containing the sent wish.

  8. If you selected to save the output to a file, a text file named "birthday_output.txt" will be created in the same directory, containing the entire output.

  9. If you selected to convert the output to a PDF file, a PDF file named "birthday_output.pdf" will be created in the same directory, containing the output text in a formatted PDF document.

๐Ÿค Contributing

Contributions to the Birthday WishCraft are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the project's GitHub repository.

๐Ÿ“„ License

The Birthday WishCraft is open source software licensed under the MIT License. Feel free to modify and distribute the code as per the license terms.

birthday-wishcraft's People

Contributors

geekyharsh05 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

nikita2060

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.