From db8d0ef741649cac5c1892335562be40fd85a745 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Oct 2025 18:21:31 +0000 Subject: [PATCH 01/43] Bump pyperclip from 1.10.0 to 1.11.0 Bumps [pyperclip](https://github.com/asweigart/pyperclip) from 1.10.0 to 1.11.0. - [Changelog](https://github.com/asweigart/pyperclip/blob/master/CHANGES.txt) - [Commits](https://github.com/asweigart/pyperclip/commits) --- updated-dependencies: - dependency-name: pyperclip dependency-version: 1.11.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index d8491abb79a..6ac95516ec3 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -92,7 +92,7 @@ geocoder==1.38.1 APScheduler==3.11.0 PyQRCode==1.2.1 freegames==2.5.3 -pyperclip==1.10.0 +pyperclip==1.11.0 newspaper==0.1.0.7 opencv-python==4.12.0.88 tensorflow==2.20.0 From aa6e7c0fa63a23251e7eb14a81cc9383079436c5 Mon Sep 17 00:00:00 2001 From: xavierfingers Date: Tue, 28 Oct 2025 16:56:20 -0600 Subject: [PATCH 02/43] Made some changes. --- MySQL_Databses.py | 9 +++++---- WeatherGUI.py | 4 ---- Web Socket.py | 1 - billing.py | 5 ++--- calc_area.py | 3 --- mapit.py | 1 - new.py | 10 ++-------- passwordGen.py | 7 ++----- sendemail.py | 3 --- sensors_information.py | 4 ---- sqlite_check.py | 1 - vowel remover function.py | 2 -- wikipedia.py | 5 ----- youtubedownloader.py | 6 ------ 14 files changed, 11 insertions(+), 50 deletions(-) diff --git a/MySQL_Databses.py b/MySQL_Databses.py index b9148ab708f..226a20e742c 100644 --- a/MySQL_Databses.py +++ b/MySQL_Databses.py @@ -1,12 +1,13 @@ import mysql.connector - # MySQl databses details - +host = input("Enter MySQL host: ") +username = input("Enter MySQL username: ") +password = input("Enter MySQL password: ") +db_name = input("Enter MySQL database: ") mydb = mysql.connector.connect( - host="0.0.0.0", user="root", passwd="", database="db_name" + host=host, user=username, passwd=password, database=db_name ) mycursor = mydb.cursor() - # Execute SQL Query =>>>> mycursor.execute("SQL Query") mycursor.execute("SELECT column FROM table") diff --git a/WeatherGUI.py b/WeatherGUI.py index 19b42994b84..62a2fef6bf8 100644 --- a/WeatherGUI.py +++ b/WeatherGUI.py @@ -1,14 +1,10 @@ import tkinter as tk import requests from bs4 import BeautifulSoup - url = "https://weather.com/en-IN/weather/today/l/32355ced66b7ce3ab7ccafb0a4f45f12e7c915bcf8454f712efa57474ba8d6c8" - root = tk.Tk() root.title("Weather") root.config(bg="white") - - def getWeather(): page = requests.get(url) soup = BeautifulSoup(page.content, "html.parser") diff --git a/Web Socket.py b/Web Socket.py index 8da7e224c00..9c3c91beafa 100644 --- a/Web Socket.py +++ b/Web Socket.py @@ -1,6 +1,5 @@ # Program to print a data & it's Metadata of online uploaded file using "socket". import socket - skt_c = socket.socket(socket.AF_INET, socket.SOCK_STREAM) skt_c.connect(("data.pr4e.org", 80)) link = "GET http://data.pr4e.org/intro-short.txt HTTP/1.0\r\n\r\n".encode() diff --git a/billing.py b/billing.py index c0368a18e49..451135cc91c 100644 --- a/billing.py +++ b/billing.py @@ -1,4 +1,4 @@ -updated_billing + items = {"apple": 5, "soap": 4, "soda": 6, "pie": 7, "cake": 20} total_price = 0 try: @@ -10,7 +10,7 @@ Press 5 for cake Press 6 for bill""") while True: - choice = int(input("enter your choice here..\n")) + choice = int(input("enter your choice here..")) if choice == 1: print("Apple added to the cart") total_price += items["apple"] @@ -37,7 +37,6 @@ print("Please enter the digits within the range 1-6..") except: print("enter only digits") - """ Code Explanation: A dictionary named items is created to store product names and their corresponding prices. diff --git a/calc_area.py b/calc_area.py index cf7f259e046..29fb370cd4a 100644 --- a/calc_area.py +++ b/calc_area.py @@ -1,8 +1,6 @@ # Author: PrajaktaSathe # Program to calculate the area of - square, rectangle, circle, and triangle - import math as m - - def main(): shape = int( input( @@ -38,7 +36,6 @@ def main(): print("You have selected wrong choice.") restart = input("Would you like to calculate the area of another object? Y/N : ") - if restart.lower().startswith("y"): main() elif restart.lower().startswith("n"): diff --git a/mapit.py b/mapit.py index 73d8666d7b7..27fb71a92fc 100644 --- a/mapit.py +++ b/mapit.py @@ -1,7 +1,6 @@ import sys import webbrowser import pyperclip - if len(sys.argv) > 1: address = " ".join(sys.argv[1:]) diff --git a/new.py b/new.py index 5a5f623242c..c5058551ec7 100644 --- a/new.py +++ b/new.py @@ -1,9 +1,3 @@ -def hello_world(): - """ - Prints a greeting message. - """ - print("Hello, world!") - -if __name__ == "__main__": - hello_world() +print("Hello, world!") + diff --git a/passwordGen.py b/passwordGen.py index b05990decc2..56ab3b462a1 100644 --- a/passwordGen.py +++ b/passwordGen.py @@ -1,12 +1,9 @@ import random - lChars = "abcdefghijklmnopqrstuvwxyz" uChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" digits = "1234567890" -specialChars = "!@#$%^&*-_+=" - +specialChars = "!@#$%^&*-_+=()[]" myPass = "" - # Generate 3 lowercase letters for _ in range(3): myPass += random.choice(lChars) @@ -23,4 +20,4 @@ for _ in range(2): myPass += random.choice(uChars) -print(myPass) # Output: 10-character password (e.g. "abc123!@AB") +print(myPass) diff --git a/sendemail.py b/sendemail.py index 12a01080ee7..070968157be 100644 --- a/sendemail.py +++ b/sendemail.py @@ -1,5 +1,4 @@ from __future__ import print_function - import base64 import mimetypes import os @@ -17,8 +16,6 @@ SCOPES = "https://www.googleapis.com/auth/gmail.send" CLIENT_SECRET_FILE = "client_secret.json" APPLICATION_NAME = "Gmail API Python Send Email" - - def get_credentials(): home_dir = os.path.expanduser("~") credential_dir = os.path.join(home_dir, ".credentials") diff --git a/sensors_information.py b/sensors_information.py index 0a233f26ab4..257b41e5a4b 100644 --- a/sensors_information.py +++ b/sensors_information.py @@ -2,12 +2,8 @@ import sys import socket import psutil - - def python_version(): return sys.version_info - - def ip_addresses(): hostname = socket.gethostname() addresses = socket.getaddrinfo(hostname, None) diff --git a/sqlite_check.py b/sqlite_check.py index 295274f8539..27e35ace641 100644 --- a/sqlite_check.py +++ b/sqlite_check.py @@ -1,5 +1,4 @@ from __future__ import print_function - import os import sqlite3 as lite import sys diff --git a/vowel remover function.py b/vowel remover function.py index 8d6467b57dc..5af2ff5f01e 100644 --- a/vowel remover function.py +++ b/vowel remover function.py @@ -4,6 +4,4 @@ def vowel_remover(text): if l.lower() not in "aeiou": string += l return string - - print(vowel_remover("hello world!")) diff --git a/wikipedia.py b/wikipedia.py index dd7a5f05321..7235894b66c 100644 --- a/wikipedia.py +++ b/wikipedia.py @@ -1,19 +1,14 @@ import wikipedia from tkinter import * from tkinter.messagebox import showinfo - win = Tk() # objek win.title("WIKIPEDIA") win.geometry("200x70") # function - - # function def search_wiki(): search = entry.get() Hasil = wikipedia.summary(search) showinfo("Hasil Pencarian", Hasil) - - label = Label(win, text="Wikipedia Search :") label.grid(row=0, column=0) diff --git a/youtubedownloader.py b/youtubedownloader.py index fdcbe89fed3..b5667950a27 100644 --- a/youtubedownloader.py +++ b/youtubedownloader.py @@ -1,14 +1,10 @@ from tkinter import Button, Entry, Label, Tk, filedialog, messagebox from threading import Thread from pytube import YouTube - - def threading(): # Call work function t1 = Thread(target=download) t1.start() - - def download(): try: url = YouTube(str(url_box.get())) @@ -30,7 +26,6 @@ def download(): root.geometry("780x500+200+200") root.configure(bg="olivedrab1") root.resizable(False, False) - # Label widgets introlable = Label( root, @@ -52,5 +47,4 @@ def download(): btn = Button(root, text="DOWNLOAD", font=("sans-serif", 25), command=threading) btn.place(x=270, y=240) - root.mainloop() From 2cc437739643cfbc7780c2e17b98a9442ead85c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 18:05:55 +0000 Subject: [PATCH 03/43] Bump ccxt from 4.5.12 to 4.5.14 Bumps [ccxt](https://github.com/ccxt/ccxt) from 4.5.12 to 4.5.14. - [Release notes](https://github.com/ccxt/ccxt/releases) - [Changelog](https://github.com/ccxt/ccxt/blob/master/exchanges.cfg) - [Commits](https://github.com/ccxt/ccxt/compare/v4.5.12...v4.5.14) --- updated-dependencies: - dependency-name: ccxt dependency-version: 4.5.14 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index d8491abb79a..91f2a929807 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -81,7 +81,7 @@ Unidecode==1.4.0 Ball==0.2.9 pynput==1.8.1 gTTS==2.5.4 -ccxt==4.5.12 +ccxt==4.5.14 fitz==0.0.1.dev2 fastapi==0.120.0 Django==5.2.7 From ad9a2cbbedff5c1be65417d3b4aae411b59bd0c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 18:06:24 +0000 Subject: [PATCH 04/43] Bump fastapi from 0.120.0 to 0.120.2 Bumps [fastapi](https://github.com/fastapi/fastapi) from 0.120.0 to 0.120.2. - [Release notes](https://github.com/fastapi/fastapi/releases) - [Commits](https://github.com/fastapi/fastapi/compare/0.120.0...0.120.2) --- updated-dependencies: - dependency-name: fastapi dependency-version: 0.120.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index d8491abb79a..4cd35fe679b 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -83,7 +83,7 @@ pynput==1.8.1 gTTS==2.5.4 ccxt==4.5.12 fitz==0.0.1.dev2 -fastapi==0.120.0 +fastapi==0.120.2 Django==5.2.7 docx==0.2.4 matplotlib==3.10.7 From 3e240effcf889fe8d3459416073f36510c7183f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Oct 2025 18:37:49 +0000 Subject: [PATCH 05/43] Bump aiohttp from 3.13.1 to 3.13.2 --- updated-dependencies: - dependency-name: aiohttp dependency-version: 3.13.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- async_downloader/requirements.txt | 2 +- requirements_with_versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/async_downloader/requirements.txt b/async_downloader/requirements.txt index 456777c9953..4a3a6b978bc 100644 --- a/async_downloader/requirements.txt +++ b/async_downloader/requirements.txt @@ -1 +1 @@ -aiohttp==3.13.1 +aiohttp==3.13.2 diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 6ac95516ec3..3c691d18eab 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -1,5 +1,5 @@ pafy==0.5.5 -aiohttp==3.13.1 +aiohttp==3.13.2 fuzzywuzzy==0.18.0 hupper==1.12.1 seaborn==0.13.2 From c853f9741c275a565575b1d0815ca4251504b7d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 31 Oct 2025 18:31:10 +0000 Subject: [PATCH 06/43] Bump psutil from 7.1.1 to 7.1.2 Bumps [psutil](https://github.com/giampaolo/psutil) from 7.1.1 to 7.1.2. - [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst) - [Commits](https://github.com/giampaolo/psutil/compare/release-7.1.1...release-7.1.2) --- updated-dependencies: - dependency-name: psutil dependency-version: 7.1.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 00d99d5609a..c7c0e674e53 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -101,7 +101,7 @@ pytest==8.4.2 qrcode==8.2 googletrans==4.0.2 slab==1.8.2 -psutil==7.1.1 +psutil==7.1.2 mediapipe==0.10.21 rich==14.2.0 httplib2==0.31.0 From 2b0b9eb555351d9b4f4343d4910352d5a1a0f659 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 31 Oct 2025 18:31:22 +0000 Subject: [PATCH 07/43] Bump keras from 3.11.3 to 3.12.0 Bumps [keras](https://github.com/keras-team/keras) from 3.11.3 to 3.12.0. - [Release notes](https://github.com/keras-team/keras/releases) - [Commits](https://github.com/keras-team/keras/compare/v3.11.3...v3.12.0) --- updated-dependencies: - dependency-name: keras dependency-version: 3.12.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 00d99d5609a..0a3a84e6732 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -41,7 +41,7 @@ tornado==6.5.2 obs==0.0.0 todo==0.1 oauth2client==4.1.3 -keras==3.11.3 +keras==3.12.0 pymongo==4.15.3 playsound==1.3.0 pyttsx3==2.99 From f3b134a639da8fe28e4715f68a63602539a25a62 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 31 Oct 2025 18:31:33 +0000 Subject: [PATCH 08/43] Bump google-api-python-client from 2.185.0 to 2.186.0 Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.185.0 to 2.186.0. - [Release notes](https://github.com/googleapis/google-api-python-client/releases) - [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.185.0...v2.186.0) --- updated-dependencies: - dependency-name: google-api-python-client dependency-version: 2.186.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 00d99d5609a..e3895586535 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -58,7 +58,7 @@ requests-mock==1.12.1 pyglet==2.1.9 urllib3==2.5.0 thirdai==0.9.33 -google-api-python-client==2.185.0 +google-api-python-client==2.186.0 sound==0.1.0 xlwt==1.3.0 pygame==2.6.1 From 0f904857d85a8a39599db9250b2d14305912bf1c Mon Sep 17 00:00:00 2001 From: Zain Date: Fri, 31 Oct 2025 14:58:16 -0600 Subject: [PATCH 09/43] Add .circleci/config.yml --- .circleci/config.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000000..bb68b14a6e2 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,31 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/reference/configuration-reference +version: 2.1 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/guides/orchestrate/jobs-steps/#jobs-overview & https://circleci.com/docs/reference/configuration-reference/#jobs +jobs: + say-hello: + # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/guides/execution-managed/executor-intro/ & https://circleci.com/docs/reference/configuration-reference/#executor-job + docker: + # Specify the version you desire here + # See: https://circleci.com/developer/images/image/cimg/base + - image: cimg/base:current + + # Add steps to the job + # See: https://circleci.com/docs/guides/orchestrate/jobs-steps/#steps-overview & https://circleci.com/docs/reference/configuration-reference/#steps + steps: + # Checkout the code as the first step. + - checkout + - run: + name: "Say hello" + command: "echo Hello, World!" + +# Orchestrate jobs using workflows +# See: https://circleci.com/docs/guides/orchestrate/workflows/ & https://circleci.com/docs/reference/configuration-reference/#workflows +workflows: + say-hello-workflow: # This is the name of the workflow, feel free to change it to better match your workflow. + # Inside the workflow, you define the jobs you want to run. + jobs: + - say-hello \ No newline at end of file From 50ded23cd02ba8b30a1fa9d62097b6e723fbbd46 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 18:34:29 +0000 Subject: [PATCH 10/43] Bump apscheduler from 3.11.0 to 3.11.1 Bumps [apscheduler](https://github.com/agronholm/apscheduler) from 3.11.0 to 3.11.1. - [Release notes](https://github.com/agronholm/apscheduler/releases) - [Changelog](https://github.com/agronholm/apscheduler/blob/3.11.1/docs/versionhistory.rst) - [Commits](https://github.com/agronholm/apscheduler/compare/3.11.0...3.11.1) --- updated-dependencies: - dependency-name: apscheduler dependency-version: 3.11.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index cd9b7538c8f..69559d526f0 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -89,7 +89,7 @@ docx==0.2.4 matplotlib==3.10.7 pyshorteners==1.0.1 geocoder==1.38.1 -APScheduler==3.11.0 +APScheduler==3.11.1 PyQRCode==1.2.1 freegames==2.5.3 pyperclip==1.11.0 From a81830dacfe3abfaab0ad754f0f771d355680b21 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 18:34:38 +0000 Subject: [PATCH 11/43] Bump ccxt from 4.5.14 to 4.5.15 Bumps [ccxt](https://github.com/ccxt/ccxt) from 4.5.14 to 4.5.15. - [Release notes](https://github.com/ccxt/ccxt/releases) - [Changelog](https://github.com/ccxt/ccxt/blob/master/exchanges.cfg) - [Commits](https://github.com/ccxt/ccxt/compare/v4.5.14...v4.5.15) --- updated-dependencies: - dependency-name: ccxt dependency-version: 4.5.15 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index cd9b7538c8f..1a67fce57d3 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -81,7 +81,7 @@ Unidecode==1.4.0 Ball==0.2.9 pynput==1.8.1 gTTS==2.5.4 -ccxt==4.5.14 +ccxt==4.5.15 fitz==0.0.1.dev2 fastapi==0.120.2 Django==5.2.7 From 9b5e512bad6e08ec10da38fdfdfe2f999648d37f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 18:34:43 +0000 Subject: [PATCH 12/43] Bump translate from 3.6.1 to 3.8.0 Bumps [translate](https://github.com/terryyin/google-translate-python) from 3.6.1 to 3.8.0. - [Changelog](https://github.com/terryyin/translate-python/blob/master/CHANGES.rst) - [Commits](https://github.com/terryyin/google-translate-python/compare/3.6.1...3.8.0) --- updated-dependencies: - dependency-name: translate dependency-version: 3.8.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index cd9b7538c8f..8d74f3d58c4 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -73,7 +73,7 @@ pytube==15.0.0 xor-cipher==5.0.2 bird==0.1.2 mechanize==0.4.10 -translate==3.6.1 +translate==3.8.0 solara==1.54.0 pywhatkit==5.4 mutagen==1.47.0 From 1d7f2d92fcadcc0faadd073905855f69121cdcf9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Nov 2025 18:06:08 +0000 Subject: [PATCH 13/43] Bump twilio from 9.8.4 to 9.8.5 Bumps [twilio](https://github.com/twilio/twilio-python) from 9.8.4 to 9.8.5. - [Release notes](https://github.com/twilio/twilio-python/releases) - [Changelog](https://github.com/twilio/twilio-python/blob/main/CHANGES.md) - [Commits](https://github.com/twilio/twilio-python/compare/9.8.4...9.8.5) --- updated-dependencies: - dependency-name: twilio dependency-version: 9.8.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 732d54afd90..9ccc4e23a42 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -28,7 +28,7 @@ requests==2.32.5 quo==2023.5.1 PyPDF2==3.0.1 pyserial==3.5 -twilio==9.8.4 +twilio==9.8.5 tabula==1.0.5 nltk==3.9.2 Pillow==12.0.0 From c52dedab80d5f3699b6df5b1785312943b594064 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Nov 2025 18:06:14 +0000 Subject: [PATCH 14/43] Bump openai from 2.6.0 to 2.7.1 Bumps [openai](https://github.com/openai/openai-python) from 2.6.0 to 2.7.1. - [Release notes](https://github.com/openai/openai-python/releases) - [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/openai/openai-python/compare/v2.6.0...v2.7.1) --- updated-dependencies: - dependency-name: openai dependency-version: 2.7.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 732d54afd90..2d98b70c5ad 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -49,7 +49,7 @@ auto-mix-prep==0.2.0 lib==4.0.0 pywifi==1.1.12 patterns==0.3 -openai==2.6.0 +openai==2.7.1 background==0.2.1 pydantic==2.12.3 openpyxl==3.1.2 From 8134700cc5288226de0cb9602f62a1ee235d8fd5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Nov 2025 18:06:28 +0000 Subject: [PATCH 15/43] Bump psutil from 7.1.2 to 7.1.3 Bumps [psutil](https://github.com/giampaolo/psutil) from 7.1.2 to 7.1.3. - [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst) - [Commits](https://github.com/giampaolo/psutil/compare/release-7.1.2...release-7.1.3) --- updated-dependencies: - dependency-name: psutil dependency-version: 7.1.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 732d54afd90..8ae73b52de4 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -101,7 +101,7 @@ pytest==8.4.2 qrcode==8.2 googletrans==4.0.2 slab==1.8.2 -psutil==7.1.2 +psutil==7.1.3 mediapipe==0.10.21 rich==14.2.0 httplib2==0.31.0 From 6d59132111d22edb4ce7408f6317b985e03134fe Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 09:30:43 +0700 Subject: [PATCH 16/43] fix-typo --- 1 File handle/File handle binary/Update a binary file2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1 File handle/File handle binary/Update a binary file2.py b/1 File handle/File handle binary/Update a binary file2.py index d256c7c805b..8eb900845c3 100644 --- a/1 File handle/File handle binary/Update a binary file2.py +++ b/1 File handle/File handle binary/Update a binary file2.py @@ -30,4 +30,4 @@ def update(): # ! Instead of AB use WB? # ! It may have memory limits while updating large files but it would be good -# ! Few lakhs records would be fine and wouln't create any much of a significant issues +# ! Few lakhs records would be fine and wouldn't create any much of a significant issues From 08f55df4b502a3d919e15ce7df18db02ff3f5f89 Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 09:46:32 +0700 Subject: [PATCH 17/43] fix typo update2 --- 1 File handle/File handle binary/update2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1 File handle/File handle binary/update2.py b/1 File handle/File handle binary/update2.py index 001b6d5b660..02511145d7e 100644 --- a/1 File handle/File handle binary/update2.py +++ b/1 File handle/File handle binary/update2.py @@ -17,7 +17,7 @@ def update(): for i in S: if rno == i[0]: - print(f"the currrent name is {i[1]}") + print(f"the current name is {i[1]}") i[1] = input("enter the new name") found = True break From 53def6e0909bdf7d834b298977c6a2ba8cf0e38f Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 09:52:54 +0700 Subject: [PATCH 18/43] fix-typo --- Assembler/assembler.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assembler/assembler.py b/Assembler/assembler.py index dba6c6e842e..8c14e78eb0b 100644 --- a/Assembler/assembler.py +++ b/Assembler/assembler.py @@ -745,7 +745,7 @@ def scanner(string): def scan(): """ - scan: applys function scanner() to each line of the source code. + scan: applies function scanner() to each line of the source code. """ global lines assert len(lines) > 0, "no lines" @@ -1008,7 +1008,7 @@ def parser(): elif eax == 3: ecx = float(input(">> ")) - elif eax == 4: # output informations + elif eax == 4: # output information print(ecx) elif token.token == "push": # push commando @@ -1157,7 +1157,7 @@ def parser(): pointer = jumps[token.token] else: # error case - print("Error: Unknow subprogram!") + print("Error: Unknown subprogram!") return else: # error case @@ -1169,7 +1169,7 @@ def parser(): pointer = returnStack.pop() else: # error case - print("Error: No return adress on stack") + print("Error: No return address on stack") return elif token.t == "subprogram": From 3654ec6500872b39100c715364d4ca4ff60f6607 Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 09:56:21 +0700 Subject: [PATCH 19/43] fix-typo --- Automated Scheduled Call Reminders/caller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Automated Scheduled Call Reminders/caller.py b/Automated Scheduled Call Reminders/caller.py index f069da7df88..1349762ade0 100644 --- a/Automated Scheduled Call Reminders/caller.py +++ b/Automated Scheduled Call Reminders/caller.py @@ -21,7 +21,7 @@ # Here the collection name is on_call which has documents with fields phone , from (%H:%M:%S time to call the person),date -# gets data from cloud database and calls 5 min prior the time (from time) alloted in the database +# gets data from cloud database and calls 5 min prior the time (from time) allotted in the database def search(): calling_time = datetime.now() one_hours_from_now = (calling_time + timedelta(hours=1)).strftime("%H:%M:%S") From 992c9d6c92ae75fedfe956667986350499f1e08d Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 10:02:42 +0700 Subject: [PATCH 20/43] Fix typos in bank_managment_system/QTFrontend.py --- bank_managment_system/QTFrontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bank_managment_system/QTFrontend.py b/bank_managment_system/QTFrontend.py index 2f67009e322..f1b5523f789 100644 --- a/bank_managment_system/QTFrontend.py +++ b/bank_managment_system/QTFrontend.py @@ -1171,7 +1171,7 @@ def update_employee_data(name, password, salary, position, name_to_update): ) backend.conn.commit() show_popup_message( - stacked_widget, "Employee Upadate successfully", UPDATE_EMPLOYEE_PAGE2 + stacked_widget, "Employee Update successfully", UPDATE_EMPLOYEE_PAGE2 ) except: From 6b76b9365689044d6b3d8acad7f39b13918a65f5 Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 10:07:28 +0700 Subject: [PATCH 21/43] Fix typos in BlackJack_game/blackjack_simulate.py --- BlackJack_game/blackjack_simulate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlackJack_game/blackjack_simulate.py b/BlackJack_game/blackjack_simulate.py index ae1706f6888..078da247c79 100644 --- a/BlackJack_game/blackjack_simulate.py +++ b/BlackJack_game/blackjack_simulate.py @@ -46,7 +46,7 @@ class Card: def __init__(self, suit, rank, face=True): """ - :param suit: patter in the card + :param suit: pattern in the card :param rank: point in the card :param face: show or cover the face(point & pattern on it) """ From d8b9deecc0373cd6760a4a95a77a50dd543ebdd8 Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 10:09:31 +0700 Subject: [PATCH 22/43] Fix typos in BlackJack_game/blackjack.py --- BlackJack_game/blackjack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlackJack_game/blackjack.py b/BlackJack_game/blackjack.py index 7a1331f84be..03e5fb05d39 100644 --- a/BlackJack_game/blackjack.py +++ b/BlackJack_game/blackjack.py @@ -106,7 +106,7 @@ def dealer_choice(): while sum(p_cards) < 21: # to continue the game again and again !! k = input("Want to hit or stay?\n Press 1 for hit and 0 for stay ") - if k == "1": # Ammended 1 to a string + if k == "1": # Amended 1 to a string random.shuffle(deck) p_cards.append(deck.pop()) print("You have a total of " + str(sum(p_cards)) + " with the cards ", p_cards) From 72ceeebc00be9251d64d67579b85ac78dd1fd534 Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 10:10:29 +0700 Subject: [PATCH 23/43] Fix typos in BoardGame-CLI/snakeLadder.py --- BoardGame-CLI/snakeLadder.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BoardGame-CLI/snakeLadder.py b/BoardGame-CLI/snakeLadder.py index fd06dd64527..7b434cca5d7 100644 --- a/BoardGame-CLI/snakeLadder.py +++ b/BoardGame-CLI/snakeLadder.py @@ -3,7 +3,7 @@ # Taking players data players = {} # stores players name their locations isReady = {} -current_loc = 1 # vaiable for iterating location +current_loc = 1 # variable for iterating location imp = True @@ -23,7 +23,7 @@ def player_input(): players[name] = current_loc isReady[name] = False x = False - play() # play funtion call + play() # play function call else: print("Number of player cannot be zero") @@ -88,7 +88,7 @@ def play(): print(f"you are at position {players[i]}") elif n == 2: - players = {} # stores player ans their locations + players = {} # stores player and their locations isReady = {} current_loc = 1 # reset starting location to 1 player_input() From 42a6e0b6db30c130881d2c761d5b82ae74240207 Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 10:11:14 +0700 Subject: [PATCH 24/43] Fix typos in brickout-game/brickout-game.py --- brickout-game/brickout-game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brickout-game/brickout-game.py b/brickout-game/brickout-game.py index 40aa05f001d..bdd44ce4766 100644 --- a/brickout-game/brickout-game.py +++ b/brickout-game/brickout-game.py @@ -33,7 +33,7 @@ screen = pygame.display.set_mode(size) """ - This is a simple Ball class for respresenting a ball + This is a simple Ball class for representing a ball in the game. """ From 954d1914578a2d8396ebb2fdf78acf6c7e6693ef Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 10:13:50 +0700 Subject: [PATCH 25/43] Fix typos in Checker_game_by_dz/modules/__init__.py --- Checker_game_by_dz/modules/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Checker_game_by_dz/modules/__init__.py b/Checker_game_by_dz/modules/__init__.py index 78dc4841952..e9ab55df80d 100644 --- a/Checker_game_by_dz/modules/__init__.py +++ b/Checker_game_by_dz/modules/__init__.py @@ -1,4 +1,4 @@ """ -Auhtor : Dhruv B Kakadiya +Author : Dhruv B Kakadiya """ From 70712d72ef6d81ed1a7e6d03ecfa3ac2a1796426 Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 10:14:42 +0700 Subject: [PATCH 26/43] Fix typos in Checker_game_by_dz/first.py --- Checker_game_by_dz/first.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Checker_game_by_dz/first.py b/Checker_game_by_dz/first.py index 0b6825590f8..c39d5acef8b 100644 --- a/Checker_game_by_dz/first.py +++ b/Checker_game_by_dz/first.py @@ -10,7 +10,7 @@ from modules.checker_board import * from modules.checker import * -# static variables for this perticular file +# static variables for this particular file fps = 60 WIN = pg.display.set_mode((st.width, st.height)) From 28af8ec2a7e1464431aac8af44d822cc0b7e93ba Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 10:18:39 +0700 Subject: [PATCH 27/43] Fix typos in Compression_Analysis/PSNR.py --- Compression_Analysis/PSNR.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compression_Analysis/PSNR.py b/Compression_Analysis/PSNR.py index b3148c64c77..08b5b853d4d 100644 --- a/Compression_Analysis/PSNR.py +++ b/Compression_Analysis/PSNR.py @@ -16,7 +16,7 @@ def calculate(img): def main(): - # Loading images (orignal image and compressed image) + # Loading images (original image and compressed image) orignal_image = cv2.imread("orignal_image.png", 1) compressed_image = cv2.imread("compressed_image.png", 1) From 79a3f0090a8c8f234ecd5c72497562c24422f354 Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 10:22:33 +0700 Subject: [PATCH 28/43] Fix typos in Droplistmenu/GamesCalender.py --- Droplistmenu/GamesCalender.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Droplistmenu/GamesCalender.py b/Droplistmenu/GamesCalender.py index 12a29d110e6..48ff7c9d5a6 100644 --- a/Droplistmenu/GamesCalender.py +++ b/Droplistmenu/GamesCalender.py @@ -53,7 +53,7 @@ def show(): # Create button, it will change label text -button = Button(window, text="Add to calender", command=show).place(x=100, y=200) +button = Button(window, text="Add to calendar", command=show).place(x=100, y=200) # Create Label label = Label(window, text=" ") From 6b2e06b0270c7ab9ac5743b9ffa4062a0e6bbe1b Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 10:23:14 +0700 Subject: [PATCH 29/43] Fix typos in Electronics_Algorithms/resistance.py --- Electronics_Algorithms/resistance.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Electronics_Algorithms/resistance.py b/Electronics_Algorithms/resistance.py index 07cf335607c..6af000278a5 100644 --- a/Electronics_Algorithms/resistance.py +++ b/Electronics_Algorithms/resistance.py @@ -1,10 +1,10 @@ def resistance_calculator( - material: str, lenght: float, section: float, temperature: float + material: str, length: float, section: float, temperature: float ): """ material is a string indicating the material of the wire - lenght is a floating value indicating the lenght of the wire in meters + length is a floating value indicating the length of the wire in meters diameter is a floating value indicating the diameter of the wire in millimeters @@ -35,6 +35,6 @@ def resistance_calculator( temp_coefficient = materials[material]["coefficient"] rho = rho_20deg * (1 + temp_coefficient * (temperature - 20)) - resistance = rho * lenght / section + resistance = rho * length / section return f"{resistance}Ω" From 0ce473053ddbdf1d22fefb9da073f4ba92c48327 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 6 Nov 2025 18:06:22 +0000 Subject: [PATCH 30/43] Bump selenium from 4.37.0 to 4.38.0 Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.37.0 to 4.38.0. - [Release notes](https://github.com/SeleniumHQ/Selenium/releases) - [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.37.0...selenium-4.38.0) --- updated-dependencies: - dependency-name: selenium dependency-version: 4.38.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 009ef0f10f2..39e968593d8 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -21,7 +21,7 @@ backend==0.2.4.1 win10toast==0.9 Counter==1.0.0 Flask==3.1.2 -selenium==4.37.0 +selenium==4.38.0 firebase-admin==7.1.0 ujson==5.10.0 requests==2.32.5 From 0323dcf369ebfe0ec4da458262e3ea8b32d84750 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 6 Nov 2025 18:06:51 +0000 Subject: [PATCH 31/43] Bump google-api-python-client from 2.186.0 to 2.187.0 Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.186.0 to 2.187.0. - [Release notes](https://github.com/googleapis/google-api-python-client/releases) - [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.186.0...v2.187.0) --- updated-dependencies: - dependency-name: google-api-python-client dependency-version: 2.187.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 009ef0f10f2..62ba7b59762 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -58,7 +58,7 @@ requests-mock==1.12.1 pyglet==2.1.9 urllib3==2.5.0 thirdai==0.9.33 -google-api-python-client==2.186.0 +google-api-python-client==2.187.0 sound==0.1.0 xlwt==1.3.0 pygame==2.6.1 From 15d531940c3db186473f3ad8b06cd79953451365 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 18:04:46 +0000 Subject: [PATCH 32/43] Bump pydantic from 2.12.3 to 2.12.4 Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.12.3 to 2.12.4. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/v2.12.4/HISTORY.md) - [Commits](https://github.com/pydantic/pydantic/compare/v2.12.3...v2.12.4) --- updated-dependencies: - dependency-name: pydantic dependency-version: 2.12.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 12772e21432..a1e492da2f4 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -51,7 +51,7 @@ pywifi==1.1.12 patterns==0.3 openai==2.7.1 background==0.2.1 -pydantic==2.12.3 +pydantic==2.12.4 openpyxl==3.1.2 pytesseract==0.3.13 requests-mock==1.12.1 From 83c9637d3ed4fa4d09c9bb9de129a69b75fcfb07 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 18:04:55 +0000 Subject: [PATCH 33/43] Bump fastapi from 0.120.2 to 0.121.0 Bumps [fastapi](https://github.com/fastapi/fastapi) from 0.120.2 to 0.121.0. - [Release notes](https://github.com/fastapi/fastapi/releases) - [Commits](https://github.com/fastapi/fastapi/compare/0.120.2...0.121.0) --- updated-dependencies: - dependency-name: fastapi dependency-version: 0.121.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 12772e21432..01948383020 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -83,7 +83,7 @@ pynput==1.8.1 gTTS==2.5.4 ccxt==4.5.15 fitz==0.0.1.dev2 -fastapi==0.120.2 +fastapi==0.121.0 Django==5.2.7 docx==0.2.4 matplotlib==3.10.7 From 1d72a70217a0d74db4b27bbe689f4b34ad063c47 Mon Sep 17 00:00:00 2001 From: Less Rinn Date: Sat, 8 Nov 2025 12:50:51 +0300 Subject: [PATCH 34/43] fix docstrings and add start_app function in other_pepole/get_ip_gui --- other_pepole/get_ip_gui | 55 +++++++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 24 deletions(-) diff --git a/other_pepole/get_ip_gui b/other_pepole/get_ip_gui index 5728697ac5b..ba696b2eca2 100755 --- a/other_pepole/get_ip_gui +++ b/other_pepole/get_ip_gui @@ -1,6 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +from logging import root import socket # **************** Modules Require *****************# from tkinter import * @@ -9,7 +10,9 @@ from urllib.request import urlopen # **************** Get IP commands *****************# # control buttons -def get_wan_ip(): + +def get_wan_ip() -> None: + '''get wan ip''' try: # get ip from http://ipecho.net/plain as text wan_ip = urlopen('http://ipecho.net/plain').read().decode('utf-8') @@ -18,18 +21,17 @@ def get_wan_ip(): res.configure(text='Problem in source : http://ipecho.net/plain', fg='red') -# get local ip -def get_local_ip(): +def get_local_ip() -> None: + '''get local ip''' try: lan_ip = (socket.gethostbyname(socket.gethostname())) res.configure(text='Local IP is : ' + lan_ip, fg='#600') except: res.configure(text='Unkown Error', fg='#red') - # **************** about control button *****************# -# show about info and change the button command and place def about(): + '''show about info and change the button command and place''' global close_app, frame, info about_app.destroy() frame = Frame(root, width=350, height=2, bg='blue') @@ -44,8 +46,8 @@ def about(): close_app.grid(row=4, column=0, columnspan=4, pady=5) -# remove about info and remove close button then return about button in orignal place -def close_about(): +def close_about() -> None: + '''remove about info and remove close button then return about button in orignal place''' global frame, about_app, info info.destroy() frame.destroy() @@ -53,21 +55,26 @@ def close_about(): about_app = Button(root, text='about', command=about) about_app.grid(row=1, column=2, padx=5, pady=5, sticky=W) +def start_app() -> None: + '''start the app''' + global root, res, about_app + # **************** Tkinter GUI *****************# + root = Tk() + root.title('Khaled programing practice') + # all buttons + res = Label(root, text='00.00.00.00', font=25) + res_wan_ip = Button(root, text='Get Wan IP', command=get_wan_ip) + res_local_ip = Button(root, text='Get Local IP', command=get_local_ip) + about_app = Button(root, text='about', command=about) + quit_app = Button(root, text='quit', command=quit, bg='#f40') + # method grid to install the button in window + res.grid(row=0, column=0, columnspan=4, sticky=N, padx=10, pady=5) + res_wan_ip.grid(row=1, column=0, padx=5, pady=5, sticky=W) + res_local_ip.grid(row=1, column=1, padx=5, pady=5, sticky=W) + about_app.grid(row=1, column=2, padx=5, pady=5, sticky=W) + quit_app.grid(row=1, column=3, padx=5, pady=5, sticky=E) + # run GUI/app + root.mainloop() -# **************** Tkinter GUI *****************# -root = Tk() -root.title('Khaled programing practice') -# all buttons -res = Label(root, text='00.00.00.00', font=25) -res_wan_ip = Button(root, text='Get Wan IP', command=get_wan_ip) -res_local_ip = Button(root, text='Get Local IP', command=get_local_ip) -about_app = Button(root, text='about', command=about) -quit_app = Button(root, text='quit', command=quit, bg='#f40') -# method grid to install the button in window -res.grid(row=0, column=0, columnspan=4, sticky=N, padx=10, pady=5) -res_wan_ip.grid(row=1, column=0, padx=5, pady=5, sticky=W) -res_local_ip.grid(row=1, column=1, padx=5, pady=5, sticky=W) -about_app.grid(row=1, column=2, padx=5, pady=5, sticky=W) -quit_app.grid(row=1, column=3, padx=5, pady=5, sticky=E) -# run GUI/app -root.mainloop() +if __name__ == '__main__': + start_app() \ No newline at end of file From e3a94592d17f5dbcb740cfaf3cbda510557cb87e Mon Sep 17 00:00:00 2001 From: Less Rinn Date: Sat, 8 Nov 2025 12:54:04 +0300 Subject: [PATCH 35/43] fix --- other_pepole/get_ip_gui | 1 - 1 file changed, 1 deletion(-) diff --git a/other_pepole/get_ip_gui b/other_pepole/get_ip_gui index ba696b2eca2..12aba5273e5 100755 --- a/other_pepole/get_ip_gui +++ b/other_pepole/get_ip_gui @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from logging import root import socket # **************** Modules Require *****************# from tkinter import * From f01da45b1672247fbfaf8e39f4f52cf36775fcb9 Mon Sep 17 00:00:00 2001 From: Less Rinn Date: Sat, 8 Nov 2025 13:11:31 +0300 Subject: [PATCH 36/43] chenged to OOP style --- other_pepole/get_ip_gui | 130 +++++++++++++++++++++------------------- 1 file changed, 68 insertions(+), 62 deletions(-) diff --git a/other_pepole/get_ip_gui b/other_pepole/get_ip_gui index 12aba5273e5..8043831c3bd 100755 --- a/other_pepole/get_ip_gui +++ b/other_pepole/get_ip_gui @@ -2,78 +2,84 @@ # -*- coding: utf-8 -*- import socket -# **************** Modules Require *****************# -from tkinter import * +from tkinter import Tk, Label, Button, Frame from urllib.request import urlopen +from urllib.error import URLError -# **************** Get IP commands *****************# -# control buttons +class IPApp: + '''A simple GUI application to get WAN and local IP addresses.''' + def __init__(self): + '''Initialize the application''' + self.root = Tk() + self.root.title('Khaled programming practice') + self._setup_ui() -def get_wan_ip() -> None: - '''get wan ip''' - try: - # get ip from http://ipecho.net/plain as text - wan_ip = urlopen('http://ipecho.net/plain').read().decode('utf-8') - res.configure(text='Wan IP is : ' + wan_ip, fg='#600') - except: - res.configure(text='Problem in source : http://ipecho.net/plain', fg='red') + def _setup_ui(self) -> None: + """Initialize the user interface""" + # Result label + self.res = Label(self.root, text='00.00.00.00', font=25) + self.res.grid(row=0, column=0, columnspan=4, sticky='N', padx=10, pady=5) + # Buttons + Button(self.root, text='Get Wan IP', command=self.get_wan_ip).grid( + row=1, column=0, padx=5, pady=5, sticky='W') + Button(self.root, text='Get Local IP', command=self.get_local_ip).grid( + row=1, column=1, padx=5, pady=5, sticky='W') + Button(self.root, text='About', command=self.show_about).grid( + row=1, column=2, padx=5, pady=5, sticky='W') + Button(self.root, text='Quit', command=self.root.quit, bg='#f40').grid( + row=1, column=3, padx=5, pady=5, sticky='E') -def get_local_ip() -> None: - '''get local ip''' - try: - lan_ip = (socket.gethostbyname(socket.gethostname())) - res.configure(text='Local IP is : ' + lan_ip, fg='#600') - except: - res.configure(text='Unkown Error', fg='#red') + # About section widgets (initially hidden) + self.about_frame = Frame(self.root, width=350, height=2, bg='blue') + self.about_info = Label(self.root, text="""\ +Practice Python +Take idea from here: +https://github.com/geekcomputers/Python/blob/master/myip.py +""", fg='#02F') + self.about_close = Button(self.root, text='Close', + command=self.hide_about, bg='#55F') + def get_wan_ip(self) -> None: + """Get and display WAN IP address""" + try: + wan_ip = urlopen('http://ipecho.net/plain', timeout=5).read().decode('utf-8') + self.res.configure(text=f'WAN IP is: {wan_ip}', fg='#600') + except URLError as e: + self.res.configure(text=f'Network error: {e.reason}', fg='red') + except Exception as e: + self.res.configure(text=f'Unexpected error: {str(e)}', fg='red') -def about(): - '''show about info and change the button command and place''' - global close_app, frame, info - about_app.destroy() - frame = Frame(root, width=350, height=2, bg='blue') - frame.grid(row=2, column=0, columnspan=4) - info = Label(root, text=""" - Practice Python - Take idea from here : - https://github.com/geekcomputers/Python/blob/master/myip.py - """, fg='#02F') - info.grid(row=3, column=0, columnspan=4, padx=5) - close_app = Button(root, text='Close', command=close_about, bg='#55F') - close_app.grid(row=4, column=0, columnspan=4, pady=5) + def get_local_ip(self) -> None: + """Get and display local IP address""" + try: + local_ip = socket.gethostbyname(socket.gethostname()) + self.res.configure(text=f'Local IP is: {local_ip}', fg='#600') + except Exception as e: + self.res.configure(text=f'Error getting local IP: {str(e)}', fg='red') + def show_about(self) -> None: + """Show about information""" + self.about_frame.grid(row=2, column=0, columnspan=4) + self.about_info.grid(row=3, column=0, columnspan=4, padx=5) + self.about_close.grid(row=4, column=0, columnspan=4, pady=5) -def close_about() -> None: - '''remove about info and remove close button then return about button in orignal place''' - global frame, about_app, info - info.destroy() - frame.destroy() - close_app.destroy() - about_app = Button(root, text='about', command=about) - about_app.grid(row=1, column=2, padx=5, pady=5, sticky=W) + def hide_about(self) -> None: + """Hide about information""" + self.about_frame.grid_remove() + self.about_info.grid_remove() + self.about_close.grid_remove() + + def run(self) -> None: + """Start the application""" + self.root.mainloop() + + +def main() -> None: + app = IPApp() + app.run() -def start_app() -> None: - '''start the app''' - global root, res, about_app - # **************** Tkinter GUI *****************# - root = Tk() - root.title('Khaled programing practice') - # all buttons - res = Label(root, text='00.00.00.00', font=25) - res_wan_ip = Button(root, text='Get Wan IP', command=get_wan_ip) - res_local_ip = Button(root, text='Get Local IP', command=get_local_ip) - about_app = Button(root, text='about', command=about) - quit_app = Button(root, text='quit', command=quit, bg='#f40') - # method grid to install the button in window - res.grid(row=0, column=0, columnspan=4, sticky=N, padx=10, pady=5) - res_wan_ip.grid(row=1, column=0, padx=5, pady=5, sticky=W) - res_local_ip.grid(row=1, column=1, padx=5, pady=5, sticky=W) - about_app.grid(row=1, column=2, padx=5, pady=5, sticky=W) - quit_app.grid(row=1, column=3, padx=5, pady=5, sticky=E) - # run GUI/app - root.mainloop() if __name__ == '__main__': - start_app() \ No newline at end of file + main() \ No newline at end of file From 223e9f04694e1e85b496b981a6c9e249f7b0ceaa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 18:45:22 +0000 Subject: [PATCH 37/43] Bump ccxt from 4.5.15 to 4.5.18 Bumps [ccxt](https://github.com/ccxt/ccxt) from 4.5.15 to 4.5.18. - [Release notes](https://github.com/ccxt/ccxt/releases) - [Changelog](https://github.com/ccxt/ccxt/blob/master/exchanges.cfg) - [Commits](https://github.com/ccxt/ccxt/compare/v4.5.15...v4.5.18) --- updated-dependencies: - dependency-name: ccxt dependency-version: 4.5.18 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 0c9f452f12e..3eed5072474 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -81,7 +81,7 @@ Unidecode==1.4.0 Ball==0.2.9 pynput==1.8.1 gTTS==2.5.4 -ccxt==4.5.15 +ccxt==4.5.18 fitz==0.0.1.dev2 fastapi==0.121.0 Django==5.2.7 From 2197388b8bf85a08f8a2d4bd1395a66035b7b606 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 18:45:29 +0000 Subject: [PATCH 38/43] Bump fastapi from 0.121.0 to 0.121.1 Bumps [fastapi](https://github.com/fastapi/fastapi) from 0.121.0 to 0.121.1. - [Release notes](https://github.com/fastapi/fastapi/releases) - [Commits](https://github.com/fastapi/fastapi/compare/0.121.0...0.121.1) --- updated-dependencies: - dependency-name: fastapi dependency-version: 0.121.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 0c9f452f12e..294bdc89145 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -83,7 +83,7 @@ pynput==1.8.1 gTTS==2.5.4 ccxt==4.5.15 fitz==0.0.1.dev2 -fastapi==0.121.0 +fastapi==0.121.1 Django==5.2.7 docx==0.2.4 matplotlib==3.10.7 From ecc079155b235a1feb383a9e471fa3d962162f48 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Nov 2025 18:04:55 +0000 Subject: [PATCH 39/43] Bump protobuf from 6.33.0 to 6.33.1 Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 6.33.0 to 6.33.1. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl) - [Commits](https://github.com/protocolbuffers/protobuf/commits) --- updated-dependencies: - dependency-name: protobuf dependency-version: 6.33.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index d548a77e072..008f4475fd9 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -105,7 +105,7 @@ psutil==7.1.3 mediapipe==0.10.21 rich==14.2.0 httplib2==0.31.0 -protobuf==6.33.0 +protobuf==6.33.1 colorama==0.4.6 plyer==2.1.0 Flask-Ask==0.9.8 From 6c8357f3b0022056bc1f5ab20120f3714a2dc5a3 Mon Sep 17 00:00:00 2001 From: kamakshipal1-tech Date: Sat, 15 Nov 2025 00:02:58 +0530 Subject: [PATCH 40/43] Added comments in currency convertor main.py file for more readeability of code --- currency converter/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/currency converter/main.py b/currency converter/main.py index b656e7bdf3b..51c80445791 100644 --- a/currency converter/main.py +++ b/currency converter/main.py @@ -9,6 +9,7 @@ def getVal(cont1, cont2): + # Extract currency codes from user input (format assumed like "USD- United States Dollar") cont1val = cont1.split("-")[1] cont2val = cont2.split("-")[1] url = f"https://free.currconv.com/api/v7/convert?q={cont1val}_{cont2val}&compact=ultra&apiKey=b43a653672c4a94c4c26" @@ -16,6 +17,7 @@ def getVal(cont1, cont2): htmlContent = r.content soup = BeautifulSoup(htmlContent, "html.parser") try: + # Extract the numeric value from the response text valCurr = float(soup.get_text().split(":")[1].removesuffix("}")) # {USD:70.00} except Exception: print("Server down.") From 99dd8a88f7c038fe5e89f78e6be8642ceea6d858 Mon Sep 17 00:00:00 2001 From: Aakashdoraisamy Date: Mon, 17 Nov 2025 17:00:52 +0530 Subject: [PATCH 41/43] Add RemoteOK job scraper script --- remoteok_jobs_scraper/remoteok_jobs.py | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 remoteok_jobs_scraper/remoteok_jobs.py diff --git a/remoteok_jobs_scraper/remoteok_jobs.py b/remoteok_jobs_scraper/remoteok_jobs.py new file mode 100644 index 00000000000..9c624748193 --- /dev/null +++ b/remoteok_jobs_scraper/remoteok_jobs.py @@ -0,0 +1,45 @@ +import requests +import xlwt +from xlwt import Workbook + +BASE_URL = 'https://remoteok.com/api' +USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' +REQUEST_HEADER = { + 'User-Agent': USER_AGENT, + 'Accept-Language': 'en-US, en;q=0.5', +} + +def get_job_postings(): + """Fetch job postings from RemoteOK API.""" + try: + res = requests.get(BASE_URL, headers=REQUEST_HEADER) + res.raise_for_status() + data = res.json() + return data[1:] + except requests.RequestException as e: + print("Error fetching jobs:", e) + return [] + +def save_jobs_to_excel(jobs, filename='remoteok_jobs.xls'): + """Save job postings to an Excel file.""" + if not jobs: + print("No job data to save.") + return + + wb = Workbook() + sheet = wb.add_sheet('Jobs') + + headers = list(jobs[0].keys()) + for col, header in enumerate(headers): + sheet.write(0, col, header) + + for row, job in enumerate(jobs, start=1): + for col, key in enumerate(headers): + sheet.write(row, col, str(job.get(key, ''))) + + wb.save(filename) + print(f"Jobs saved to {filename}") + +if __name__ == '__main__': + jobs = get_job_postings() + save_jobs_to_excel(jobs) From 9c5f9f6d49b9b8d8092637a6377386e08aea5266 Mon Sep 17 00:00:00 2001 From: madan Date: Mon, 17 Nov 2025 22:48:29 +0530 Subject: [PATCH 42/43] Fix incorrect Manhattan distance calculation for custom goal states --- 8_puzzle.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/8_puzzle.py b/8_puzzle.py index 850f6b768d5..7c6fc858d36 100644 --- a/8_puzzle.py +++ b/8_puzzle.py @@ -26,15 +26,20 @@ def priority(self) -> int: return self.moves + self.manhattan() def manhattan(self) -> int: - """Calculate Manhattan distance from current to goal state.""" + """Calculate Manhattan distance using actual goal positions.""" distance = 0 + # Create a lookup table for goal tile positions + goal_pos = {self.goal[i][j]: (i, j) for i in range(3) for j in range(3)} + for i in range(3): for j in range(3): - if self.board[i][j] != 0: - x, y = divmod(self.board[i][j] - 1, 3) + value = self.board[i][j] + if value != 0: # skip the empty tile + x, y = goal_pos[value] distance += abs(x - i) + abs(y - j) return distance + def is_goal(self) -> bool: """Check if current state matches goal.""" return self.board == self.goal From ef8ffe9f5fccbd99ea7a96d047f1d760cb5f916a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Nov 2025 18:05:45 +0000 Subject: [PATCH 43/43] Bump pyglet from 2.1.9 to 2.1.11 Bumps [pyglet](https://github.com/pyglet/pyglet) from 2.1.9 to 2.1.11. - [Release notes](https://github.com/pyglet/pyglet/releases) - [Changelog](https://github.com/pyglet/pyglet/blob/master/RELEASE_NOTES) - [Commits](https://github.com/pyglet/pyglet/compare/v2.1.9...v2.1.11) --- updated-dependencies: - dependency-name: pyglet dependency-version: 2.1.11 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- PongPong_Game/requirements.txt | 2 +- requirements_with_versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PongPong_Game/requirements.txt b/PongPong_Game/requirements.txt index ccf1333682a..dd0262c9c5a 100644 --- a/PongPong_Game/requirements.txt +++ b/PongPong_Game/requirements.txt @@ -1 +1 @@ -pyglet==2.1.9 +pyglet==2.1.11 diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 008f4475fd9..855f67995bf 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -55,7 +55,7 @@ pydantic==2.12.4 openpyxl==3.1.2 pytesseract==0.3.13 requests-mock==1.12.1 -pyglet==2.1.9 +pyglet==2.1.11 urllib3==2.5.0 thirdai==0.9.33 google-api-python-client==2.187.0