This is a simple application that generates random quotes and allows you to customize the display of the quotes. It uses the PyQt6 library for the graphical user interface and SQLite for data storage.
- Generate random quotes with author information.
- Translate quotes to different languages.
- Customize the font style and alignment of the quotes.
- Copy quotes to the clipboard.
-
Python 3.x
-
PyQt6 library
-
SQLite
-
pip install pyperclip
-
pip install tempfile
-
pip install pyttsx3
-
pip install gtts
-
pip install playsound
-
pip install PyQt6
-
pip install googletrans
-
Clone the repository or download the source code files.
-
Install the required dependencies using pip:
-
Ensure that the
db.sqlite
file is present in the same directory as themain.py
file. If not, create an empty SQLite database file nameddb.sqlite
.
To run the application, execute the following command:
- python main.py
The main window of the application will open, displaying a random quote and author information. You can click the "Generate" button to generate a new random quote.
-
Font Style: Use the "Select Font" button to choose a custom font for the quote display.
-
Text Style: Select the desired text style (Normal, Italic, or Bold) from the corresponding drop-down menu.
-
Text Alignment: Choose the alignment of the quote text (Left, Center, or Right) from the corresponding drop-down menu.
You can select a language from the "Language" drop-down menu to translate the generated quote into that language. The translation is done using the Google Translate service.
To copy a quote to the clipboard, click the "Copy" button. The quote will be copied in plain text format and can be pasted into other applications.
Contributions to this project are welcome. If you encounter any issues or have suggestions for improvements, please create a new issue or submit a pull request.
This project has no licenese & is Copyright Protected By Github.