Python Practical Scripts
Welcome to Python Practical Scripts! This repository is a collection of standalone Python scripts designed to solve specific problems, automate tasks, and provide useful functionalities. Each script is well-documented, practical, and easy to use.
📁 Folder Structure Scripts are organized into three main categories:
📂 visualizations/ → Scripts for data visualization (charts, plots, graphs, etc.).
📂 general_scripts/ → Miscellaneous scripts for system utilities, automation, and other functionalities.
📂 events/ → Scripts for special occasions like Women's Day, Holidays, and more.
Below is a preview of some available scripts:
Visualizations (Data Plots & Charts)
. 2D Histogram → 2D Histogram Plot using Python . 3D Plot → 3D Plot using Python . Animated scatter → Animated scatter plot using Python . Bar Plot → Bar Plot with Seaborn . Box Plot → Box Plot in Python . Box and whisker plot → Box and whisker plot in Python . Broken Axis → Broken Axis in Python . Bullet Charts → Bullet Charts using Python . Butterfly Pattern Plot → Butterfly Pattern Plot using python . Candlestick → Candlestick Chart plot using Python . Check Board → Check Board pattern plot using python . Circle Pattern → Circle Pattern Plot using Python . Circuit Diagram → Circuit Diagram using Python . Coloured Bar Graph → Coloured Bar Graph in Python . Contour Plot → Contour Plot in Python . Contourf Plot → Contourf Plot in Python . Derivatives → Visualize derivatives in Python . Donut Chart → Donut Chart in Python . Error Bar Plot → Colorful Error Bar Plot in Python . Filled Line Plot → Filled Line Plot in Python . Fish Scale → Fish Scale Pattern Plot . Funnel Chart → Create a funnel chart using Python . Galaxy → Colorful Galaxy using Python . Grouped Bar Graph → Grouped Bar Graph using Matplotlib in Python . Heart Shape → Heart Shape Pattern Plot . Heat_map → Heatmap with Seaborn . Heatmap → Heatmap in Python . Histogram Plot → Histogram Plot Using Matplotlib . Hollow Square → Hollow Square Pattern Plot using Python . Honeycomb → Honeycomb pattern plot using python . Horizontal Bar → Horizontal Bar Chart Using Matplotlib . Land Parcel → Plotting a Simple Land Parcel . Line Graph → Line Graph using Python . Mosaic Tile → Mosaic Tile Pattern Plot . Nanoparticle → Create a Nanoparticle (Metal Cluster) . Network Graph → Network Graph using Python . Pareto Chart → Pareto Chart using Python . Pie Chart → Pie Chart in Python . Polar Plot → Polar Plot in Python . Pyramid Pattern → Pyramid Pattern Plot using Python . Sankey → Sankey diagram in Python . Sigmoid Activation → Python code to plot Sigmoid Activation Functions . Slopegraphs → Slopegraphs using Python . Stacked Bar Chart → Stacked Bar Chart in Python . Star Pattern → Star Pattern Plot using Python . Step Plot → Step Plot in Python . Stream Plot → Stream Plot in Python . Subplots → Subplots in Python . Sunburst → Sunburst Chart in Python . Streamgraphs → Streamgraphs in Python . Swarm Plot → Swarm Plot in Python . Time Series → Time Series Plot in Python . Trend chart → Trend chart plot using Python . Twin Axes → Twin Axes in Python . Union → Union using python . Violin Plot → Violin Plot in Python . Visualize a Molecule → Create and Visualize a Molecule . Watermark → Adding a Watermark to Plot in Matplotlib . Wireframe Plot → Wireframe Plot using Python . X-Shaped → X-Shaped Pattern Plot using Python . Zig Zag → Zig Zag Pattern Plot using Python
General Scripts (Utilities & Automation)
- netspeed → Check your internet speed.
- file_access → Access and manage files & directories.
- background-image → Remove background from images.
- google_search → Perform Google searches using Python.
- systeminfo → Retrieve operating system details.
- Encrypt_and_Decrypt → Encrypt and Decrypt Strings in Python
- Robinson_Projection → Robinson Projection (Compromise Map)
- QR Code → QR Code using Python
- Google Earth → Google Earth in Python
- Scattergeo → Scattergeo Plot Locations on a World Map
- Periodic Table → Periodic Table Elements info using Python
- Barcode → Barcode creation using Python
- Images to PDF → Images to a PDF using Python
- Play music → Play music using Python
- Area of Sphere → Area of Sphere using Python
- Area of Cuboid → Area of Cuboid using Python
- Audio to Text → Audio to Text using Python
- Bubble Sort → Bubble Sort using Python
- Unzip Files → Unzip Files using Python
- Map chart → Map chart using Python
- Empty Recycle Bin → Empty Recycle Bin using Python
- Password Authentication → Password Authentication using Python
- Window Version → Get Window Version
- Defang IP → Defang IP Address using Python
- Auto copy paste → Auto copy paste using Python
- Image captcha → Image captcha generator using python
- Song Lyrics → Free Song Lyrics using Python
- Video to gif → Convert Video files to gif in Python
- Desktop Notification → Desktop Notification with Python
- Cloud file sharing → Cloud file sharing using Python
- CAPTCHA → CAPTCHA in Python using captcha Library
- Coloured output → Coloured output in Python
- Position of a Planet → Find Position of a Planet using Python
- PDF to docx → Convert PDF to docx using Python
- Dummy Data → Create Dummy Data using Python
- Social is down → Check if Instagram or Facebook is down using Python
- File Compression → Automating File Compression with gzip
- Generate OTP → Generate OTP using Python
- Calendar month → Calendar month using Python
- Get Address → Get Address details using Python
- Color Code → Python Program Color Name to Color Code
- Map with search → Create a map with search using Python
- WordClouds → Python Program for WordClouds
- Screen recorder → Create a Screen recorder using Python
- PDF file protection → PDF file protection using password in Python
- File Chooser → File Chooser using Python
- ZIP File → Create a ZIP File using Python
- Files and Folders → Files and Folders using Python
- Digital Clock → Digital Clock in Python
- Domain Name → Domain Name Information using Python
- Your country → Find your country on map using Python
- Spelling Correction → Spelling Correction with Python
- Delete a Shortcut → Delete a Shortcut from Desktop
- Rainbow Circle → Rainbow Circle using Python
- Audio file from Youtube → Downloading a Audio file from Youtube Video
- Simple PDF → Create a Simple PDF (using reportlab)
- Check Board → Check Board pattern plot using python
Events (Special Occasion Scripts)
- Happy Women's Day → Generate a Women's Day message in Python.
- Women's Day → Another Women's Day script.
- Eid Mubarak → Eid Mubarak using Python
NB: More event-based scripts coming soon...
How to Use
Follow these steps to try out the scripts:
- Clone the Repository
git clone https://github.com/your-username/repo-name.git cd repo-name
- Navigate to a Script
cd general_scripts/netspeed # Example: Navigate to the netspeed script
- Run the Script
python main.py
For scripts that require additional dependencies, install them using:
pip install -r requirements.txt
Requirements
- Python 3.x (recommended)
- Some scripts may require additional Python libraries (mentioned in each script’s folder).
Contribute
Got a cool Python script to share? We welcome pull requests! Feel free to contribute by:
- Adding new scripts
- Improving existing scripts
- Fixing bugs
Fork the repo, make your changes, and submit a pull request!
Feedback & Issues
Found a bug? Have a suggestion? Open an issue, and let’s improve together!
Star this repository if you find it useful! Happy coding!