Skip to content

Deepanshusharwan/Small-projects

Repository files navigation


🧴 bottler_telegram_bot

  • Purpose: A Telegram bot that responds to user commands.
  • Functionality: Appears to use the telebot (PyTelegramBotAPI) library.
  • Main Features:
    • Responds to /start and /help.
    • Likely echoes or processes messages.
  • Note: Useful for creating basic bot interactions.

🔠 figlet

  • Purpose: A simple script to generate ASCII art using the pyfiglet library.
  • Functionality: Takes user input and prints it as stylized ASCII text.
  • Use Case: Fun command-line tool for decorative outputs.

🎞️ gifmaker

  • Purpose: Converts image files into an animated GIF.
  • Functionality:
    • Uses Pillow to read image files.
    • Compiles them into a looping GIF.
  • Main Options:
    • Set duration, output name, etc.
  • Good For: Quick automation of GIF creation from static images.

🎵 singer_music_lister

  • Purpose: Lists songs by a singer using web scraping.
  • Functionality:
    • Takes a singer's name.
    • Scrapes song list from the web .
  • Use Case: Music lovers or karaoke prep!

🌳 tree

  • Purpose: Replicates the UNIX tree command.
  • Functionality:
    • Displays directory structure in a tree format.
    • Customizable depth and folder options.
  • Useful For: File structure overviews, especially for large projects.

🌐 web_browser_simple

  • Purpose: A very simple web browser using Python.
  • Functionality:
    • Takes the url and http request and outputs the response from the browser
  • Educational Value: Shows how browsers work under the hood.

🌍 web_server_simple

  • Purpose: Basic HTTP web server.
  • Functionality:
    • Uses http.server or similar to serve files.
    • Could be extended to serve dynamic content.
  • Use Case: Local development, static site hosting.

💥 Fork Bomb (Dangerous)

⚠️ WARNING: Do not run this script on a live system.

Function: Repeatedly forks processes until the system crashes due to resource exhaustion.

Code: Implements an infinite loop with os.fork().

Use Case: Educational purposes only, preferably in a virtual machine or sandbox.


🎬 youtube_downloader

Purpose: A script to download YouTube videos.

  • Functionality:

    • Downloads videos in MP4 format using pytubefix.
    • Provides a GUI for selecting the download location.
    • Displays a progress bar with tqdm for the download process.
  • Main Features:

    • Prompts for a YouTube URL.
    • Allows the user to choose a download location via a file dialog.
    • Uses on_progress_callback and on_complete_callback to handle progress updates and completion.

Note: Requires pytubefix, tkinter, and tqdm libraries.

About

a collection of all the small projects that i made while learning python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published