This repository contains several small Python projects, each demonstrating different functionalities and libraries.
A simple API to interact with ChatGPT using SeleniumBase for web automation. The API is built using Flask.
- Python 3.x
- Flask
- SeleniumBase
- Fake UserAgent
-
Run the Flask API:
python ChatGPT-API/api.py
-
Send a GET request to the
/gpt
endpoint with a prompt parameter:curl "http://127.0.0.1:5000/gpt?prompt=Hello"
A Python project that converts video files into GIFs using the moviepy library.
- Python 3.x
- moviepy
- Update video_path and output_path in main.py.
- Run the script:
python Gif-Creator/main.py
A Python script to convert a webpage into a PDF using pdfkit and wkhtmltopdf.
- Python 3
- pdfkit
- wkhtmltopdf
- Update the script with the correct path to wkhtmltopdf if needed.
- Run the script:
python web-to-PDF/main.py
A Python script to scrape the Wikipedia article on "Python (programming language)" using Requests and BeautifulSoup.
- Python 3
- Requests
- BeautifulSoup
- Install the required libraries:
pip install requests beautifulsoup4
- Run the script:
python wikiReader/main.py
This repository is licensed under the MIT License. See the LICENSE file for more information.
x&Kr^m3^xquPUapc@%TT#8!3aJXR^@78NQajQ4vek!Xpf&Uy3JvLnn@c48QWTdoKUs5N7X*$QpF#3oF$vEUqKrHWqXJH%2^!yH