From 757ebdec6590f2dbaab8344752564fe9df2d933f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 18:56:55 +0000 Subject: [PATCH 01/64] build(deps): bump ccxt from 4.2.7 to 4.2.10 Bumps [ccxt](https://github.com/ccxt/ccxt) from 4.2.7 to 4.2.10. - [Release notes](https://github.com/ccxt/ccxt/releases) - [Changelog](https://github.com/ccxt/ccxt/blob/master/CHANGELOG.md) - [Commits](https://github.com/ccxt/ccxt/compare/4.2.7...4.2.10) --- updated-dependencies: - dependency-name: ccxt 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 63e54688356..a4edcb55083 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -81,7 +81,7 @@ Unidecode==1.3.7 Ball==0.2.9 pynput==1.7.6 gTTS==2.5.0 -ccxt==4.2.7 +ccxt==4.2.10 fitz==0.0.1.dev2 fastapi==0.108.0 Django==5.0.1 From 75fab39892d0c1149f9a71b551f0ed28fc7da276 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 18:57:16 +0000 Subject: [PATCH 02/64] build(deps): bump pygame from 2.2.0 to 2.5.2 Bumps [pygame](https://github.com/pygame/pygame) from 2.2.0 to 2.5.2. - [Release notes](https://github.com/pygame/pygame/releases) - [Commits](https://github.com/pygame/pygame/compare/2.2.0...2.5.2) --- updated-dependencies: - dependency-name: pygame dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- text_to_audio/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text_to_audio/requirements.txt b/text_to_audio/requirements.txt index 836a998c632..7d305335aac 100644 --- a/text_to_audio/requirements.txt +++ b/text_to_audio/requirements.txt @@ -1,2 +1,2 @@ gTTS==2.5.0 -pygame==2.2.0 +pygame==2.5.2 From ef649ce3c0ae74366c2209bad0347055871d78c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Jan 2024 18:40:11 +0000 Subject: [PATCH 03/64] build(deps): bump openai from 1.6.1 to 1.7.0 Bumps [openai](https://github.com/openai/openai-python) from 1.6.1 to 1.7.0. - [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/v1.6.1...v1.7.0) --- updated-dependencies: - dependency-name: openai 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 a4edcb55083..099cc55b46a 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==1.6.1 +openai==1.7.0 background==0.2.1 pydantic==2.5.3 openpyxl==3.1.2 From f2827891fd809b2d5282bd0e149e73cc67246276 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Jan 2024 18:40:18 +0000 Subject: [PATCH 04/64] build(deps): bump utils from 1.0.1 to 1.0.2 Bumps [utils](https://github.com/haaksmash/pyutils) from 1.0.1 to 1.0.2. - [Commits](https://github.com/haaksmash/pyutils/commits) --- updated-dependencies: - dependency-name: utils 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 a4edcb55083..49e49f2c3c3 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -5,7 +5,7 @@ hupper==1.12 seaborn==0.13.1 time==1.0.0 simplegui==0.1.1 -utils==1.0.1 +utils==1.0.2 Tubes==0.2.1 modules==1.0.0 pdf2docx==0.5.6 From 130e04bca331cdca0edd2c683485900660a8503c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jan 2024 18:11:12 +0000 Subject: [PATCH 05/64] build(deps): bump pdf2docx from 0.5.6 to 0.5.7 Bumps [pdf2docx]() from 0.5.6 to 0.5.7. --- updated-dependencies: - dependency-name: pdf2docx 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 51457558d14..6d118214dc7 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -8,7 +8,7 @@ simplegui==0.1.1 utils==1.0.2 Tubes==0.2.1 modules==1.0.0 -pdf2docx==0.5.6 +pdf2docx==0.5.7 pong==1.5 beautifulsoup4==4.12.2 dictator==0.3.1 From 6a4d6559460f1f05ff63b3bfec22eb082e237b8c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jan 2024 18:11:17 +0000 Subject: [PATCH 06/64] build(deps): bump yfinance from 0.2.33 to 0.2.35 Bumps [yfinance](https://github.com/ranaroussi/yfinance) from 0.2.33 to 0.2.35. - [Release notes](https://github.com/ranaroussi/yfinance/releases) - [Changelog](https://github.com/ranaroussi/yfinance/blob/main/CHANGELOG.rst) - [Commits](https://github.com/ranaroussi/yfinance/compare/0.2.33...0.2.35) --- updated-dependencies: - dependency-name: yfinance 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 51457558d14..597f348810a 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -66,7 +66,7 @@ speechtotext==0.0.3 wikipedia==1.4.0 tqdm==4.66.1 Menu==3.2.2 -yfinance==0.2.33 +yfinance==0.2.35 tweepy==4.14.0 tkcalendar==1.6.1 pytube==15.0.0 From 823f8837fbbd84ae57e7405a50ddca07db740238 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jan 2024 18:36:38 +0000 Subject: [PATCH 07/64] build(deps): bump protobuf from 4.25.1 to 4.25.2 Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 4.25.1 to 4.25.2. - [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/compare/v4.25.1...v4.25.2) --- updated-dependencies: - dependency-name: protobuf 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 2f1ceb7c9f7..9f442994f1f 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -105,7 +105,7 @@ psutil==5.9.7 mediapipe==0.10.9 rich==13.7.0 httplib2==0.22.0 -protobuf==4.25.1 +protobuf==4.25.2 colorama==0.4.6 plyer==2.1.0 Flask-Ask==0.9.8 From 8907377ad0e7c9e68fe46bacc111612faeaa7195 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jan 2024 18:36:52 +0000 Subject: [PATCH 08/64] build(deps): bump google-api-python-client from 2.112.0 to 2.113.0 Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.112.0 to 2.113.0. - [Release notes](https://github.com/googleapis/google-api-python-client/releases) - [Changelog](https://github.com/googleapis/google-api-python-client/blob/main/CHANGELOG.md) - [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.112.0...v2.113.0) --- updated-dependencies: - dependency-name: google-api-python-client 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 2f1ceb7c9f7..cfd26d1f21b 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -58,7 +58,7 @@ requests-mock==1.11.0 pyglet==2.0.10 urllib3==2.1.0 thirdai==0.7.26 -google-api-python-client==2.112.0 +google-api-python-client==2.113.0 sound==0.1.0 xlwt==1.3.0 pygame==2.5.2 From fb2d863ca926d2ebfaa3e1be7b33cdf1648e14e1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 19:00:12 +0000 Subject: [PATCH 09/64] build(deps): bump unidecode from 1.3.7 to 1.3.8 Bumps [unidecode](https://github.com/kmike/text-unidecode) from 1.3.7 to 1.3.8. - [Release notes](https://github.com/kmike/text-unidecode/releases) - [Commits](https://github.com/kmike/text-unidecode/commits) --- updated-dependencies: - dependency-name: unidecode 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 a4078bd1ed1..30e10015cda 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -77,7 +77,7 @@ translate==3.6.1 solara==1.25.0 pywhatkit==5.4 mutagen==1.47.0 -Unidecode==1.3.7 +Unidecode==1.3.8 Ball==0.2.9 pynput==1.7.6 gTTS==2.5.0 From e34a67f6e79edcad7547241d53772528146ea34d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 19:00:12 +0000 Subject: [PATCH 10/64] build(deps): bump fastapi from 0.108.0 to 0.109.0 Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.108.0 to 0.109.0. - [Release notes](https://github.com/tiangolo/fastapi/releases) - [Commits](https://github.com/tiangolo/fastapi/compare/0.108.0...0.109.0) --- updated-dependencies: - dependency-name: fastapi 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 a4078bd1ed1..9b0b73dacb2 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -83,7 +83,7 @@ pynput==1.7.6 gTTS==2.5.0 ccxt==4.2.10 fitz==0.0.1.dev2 -fastapi==0.108.0 +fastapi==0.109.0 Django==5.0.1 docx==0.2.4 matplotlib==3.8.2 From bd3fe652c8687e9d7a7e067b58219d0095c34ab1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 19:00:15 +0000 Subject: [PATCH 11/64] build(deps): bump xor-cipher from 3.0.1 to 3.1.0 Bumps [xor-cipher](https://github.com/xor-cipher/xor-cipher) from 3.0.1 to 3.1.0. - [Changelog](https://github.com/xor-cipher/xor-cipher/blob/main/CHANGELOG.md) - [Commits](https://github.com/xor-cipher/xor-cipher/compare/v3.0.1...v3.1.0) --- updated-dependencies: - dependency-name: xor-cipher 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 a4078bd1ed1..bd35610171f 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -70,7 +70,7 @@ yfinance==0.2.35 tweepy==4.14.0 tkcalendar==1.6.1 pytube==15.0.0 -xor-cipher==3.0.1 +xor-cipher==3.1.0 bird==0.1.2 mechanize==0.4.9 translate==3.6.1 From c756aaf516c02be3e949056a49b1e186f5c0b2f8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 18:04:45 +0000 Subject: [PATCH 12/64] build(deps): bump thirdai from 0.7.26 to 0.7.28 Bumps [thirdai]() from 0.7.26 to 0.7.28. --- updated-dependencies: - dependency-name: thirdai 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 106092a679d..019bb58bf55 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -57,7 +57,7 @@ pytesseract==0.3.10 requests-mock==1.11.0 pyglet==2.0.10 urllib3==2.1.0 -thirdai==0.7.26 +thirdai==0.7.28 google-api-python-client==2.113.0 sound==0.1.0 xlwt==1.3.0 From 1a4dd25287d7ac3bf71b0a74e255a6ecff4aa4d2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 18:38:02 +0000 Subject: [PATCH 13/64] build(deps): bump ccxt from 4.2.10 to 4.2.18 Bumps [ccxt](https://github.com/ccxt/ccxt) from 4.2.10 to 4.2.18. - [Release notes](https://github.com/ccxt/ccxt/releases) - [Changelog](https://github.com/ccxt/ccxt/blob/master/CHANGELOG.md) - [Commits](https://github.com/ccxt/ccxt/compare/4.2.10...4.2.18) --- updated-dependencies: - dependency-name: ccxt 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 019bb58bf55..de048c6ff0d 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -81,7 +81,7 @@ Unidecode==1.3.8 Ball==0.2.9 pynput==1.7.6 gTTS==2.5.0 -ccxt==4.2.10 +ccxt==4.2.18 fitz==0.0.1.dev2 fastapi==0.109.0 Django==5.0.1 From 6a05de0e3c2f9a364e9149e5a2dc77f1f22c1aa9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:10:02 +0000 Subject: [PATCH 14/64] build(deps): bump ccxt from 4.2.18 to 4.2.20 Bumps [ccxt](https://github.com/ccxt/ccxt) from 4.2.18 to 4.2.20. - [Release notes](https://github.com/ccxt/ccxt/releases) - [Changelog](https://github.com/ccxt/ccxt/blob/master/CHANGELOG.md) - [Commits](https://github.com/ccxt/ccxt/compare/4.2.18...4.2.20) --- updated-dependencies: - dependency-name: ccxt 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 de048c6ff0d..695d51e3954 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -81,7 +81,7 @@ Unidecode==1.3.8 Ball==0.2.9 pynput==1.7.6 gTTS==2.5.0 -ccxt==4.2.18 +ccxt==4.2.20 fitz==0.0.1.dev2 fastapi==0.109.0 Django==5.0.1 From 7edad51317d4c640964aa45d9c56f8e820d78a60 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:10:09 +0000 Subject: [PATCH 15/64] build(deps): bump inquirer from 2.7.0 to 3.2.1 Bumps [inquirer](https://github.com/magmax/python-inquirer) from 2.7.0 to 3.2.1. - [Release notes](https://github.com/magmax/python-inquirer/releases) - [Commits](https://github.com/magmax/python-inquirer/compare/2.7.0...v3.2.1) --- updated-dependencies: - dependency-name: inquirer dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Password Generator/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Password Generator/requirements.txt b/Password Generator/requirements.txt index 12ff95d834d..e7f67bf33f4 100644 --- a/Password Generator/requirements.txt +++ b/Password Generator/requirements.txt @@ -1,2 +1,2 @@ colorama==0.4.4 -inquirer==2.7.0 \ No newline at end of file +inquirer==3.2.1 \ No newline at end of file From 2f1da4914a3eb299b23558d40cb9b7c382db19b4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jan 2024 18:51:41 +0000 Subject: [PATCH 16/64] build(deps): bump emoji from 2.9.0 to 2.10.0 Bumps [emoji](https://github.com/carpedm20/emoji) from 2.9.0 to 2.10.0. - [Release notes](https://github.com/carpedm20/emoji/releases) - [Changelog](https://github.com/carpedm20/emoji/blob/master/CHANGES.md) - [Commits](https://github.com/carpedm20/emoji/compare/v2.9.0...v2.10.0) --- updated-dependencies: - dependency-name: emoji 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 695d51e3954..79e54e96849 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -109,5 +109,5 @@ protobuf==4.25.2 colorama==0.4.6 plyer==2.1.0 Flask-Ask==0.9.8 -emoji==2.9.0 +emoji==2.10.0 PyAutoGUI==0.9.54 From 3d217b70a7edc107fe581b0f029e6714879b0e10 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jan 2024 18:51:46 +0000 Subject: [PATCH 17/64] build(deps): bump beautifulsoup4 from 4.12.2 to 4.12.3 Bumps [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/) from 4.12.2 to 4.12.3. --- updated-dependencies: - dependency-name: beautifulsoup4 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 695d51e3954..e8b4d7d16f7 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -10,7 +10,7 @@ Tubes==0.2.1 modules==1.0.0 pdf2docx==0.5.7 pong==1.5 -beautifulsoup4==4.12.2 +beautifulsoup4==4.12.3 dictator==0.3.1 caller==0.0.2 watchdog==3.0.0 From 9d077a18be92a348a33779d0b06153c4e9efaa89 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jan 2024 18:52:36 +0000 Subject: [PATCH 18/64] build(deps): bump google-api-python-client from 2.113.0 to 2.115.0 Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.113.0 to 2.115.0. - [Release notes](https://github.com/googleapis/google-api-python-client/releases) - [Changelog](https://github.com/googleapis/google-api-python-client/blob/main/CHANGELOG.md) - [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.113.0...v2.115.0) --- updated-dependencies: - dependency-name: google-api-python-client 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 695d51e3954..7f05dc3c2b1 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -58,7 +58,7 @@ requests-mock==1.11.0 pyglet==2.0.10 urllib3==2.1.0 thirdai==0.7.28 -google-api-python-client==2.113.0 +google-api-python-client==2.115.0 sound==0.1.0 xlwt==1.3.0 pygame==2.5.2 From 23a7b2c07d7f2116a3a87c60eacb4745d5a2531f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 18:58:24 +0000 Subject: [PATCH 19/64] build(deps): bump colorama from 0.4.4 to 0.4.6 Bumps [colorama](https://github.com/tartley/colorama) from 0.4.4 to 0.4.6. - [Changelog](https://github.com/tartley/colorama/blob/master/CHANGELOG.rst) - [Commits](https://github.com/tartley/colorama/compare/0.4.4...0.4.6) --- updated-dependencies: - dependency-name: colorama dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Password Generator/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Password Generator/requirements.txt b/Password Generator/requirements.txt index e7f67bf33f4..d90c5114c52 100644 --- a/Password Generator/requirements.txt +++ b/Password Generator/requirements.txt @@ -1,2 +1,2 @@ -colorama==0.4.4 +colorama==0.4.6 inquirer==3.2.1 \ No newline at end of file From 09ad13fc8c8f2207f9f17d6a0c32be22a7b2fad6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 18:58:28 +0000 Subject: [PATCH 20/64] build(deps): bump openai from 1.7.0 to 1.9.0 Bumps [openai](https://github.com/openai/openai-python) from 1.7.0 to 1.9.0. - [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/v1.7.0...v1.9.0) --- updated-dependencies: - dependency-name: openai 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 a3b13978a24..2725f027771 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==1.7.0 +openai==1.9.0 background==0.2.1 pydantic==2.5.3 openpyxl==3.1.2 From c3df38ced3bdf2d328ae70b279ec27adeebcd2bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 18:12:06 +0000 Subject: [PATCH 21/64] build(deps): bump psutil from 5.9.7 to 5.9.8 Bumps [psutil](https://github.com/giampaolo/psutil) from 5.9.7 to 5.9.8. - [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst) - [Commits](https://github.com/giampaolo/psutil/compare/release-5.9.7...release-5.9.8) --- updated-dependencies: - dependency-name: psutil 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 2725f027771..2ad458d386e 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -101,7 +101,7 @@ pytest==7.4.4 qrcode==7.4.2 googletrans==3.0.0 slab==1.1.5 -psutil==5.9.7 +psutil==5.9.8 mediapipe==0.10.9 rich==13.7.0 httplib2==0.22.0 From f09251de458fdd9da26b91a7d0831a6281e9c570 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 18:12:11 +0000 Subject: [PATCH 22/64] build(deps): bump twilio from 8.11.0 to 8.12.0 Bumps [twilio](https://github.com/twilio/twilio-python) from 8.11.0 to 8.12.0. - [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/8.11.0...8.12.0) --- updated-dependencies: - dependency-name: twilio 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 2725f027771..229cff4d40f 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -28,7 +28,7 @@ requests==2.31.0 quo==2023.5.1 PyPDF2==3.0.1 pyserial==3.5 -twilio==8.11.0 +twilio==8.12.0 tabula==1.0.5 nltk==3.8.1 Pillow==10.2.0 From 163c59e6b29278d422bdf805bbcfc5f79a14ca7a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 18:12:16 +0000 Subject: [PATCH 23/64] build(deps): bump keras from 3.0.2 to 3.0.4 Bumps [keras](https://github.com/keras-team/keras) from 3.0.2 to 3.0.4. - [Release notes](https://github.com/keras-team/keras/releases) - [Commits](https://github.com/keras-team/keras/compare/v3.0.2...v3.0.4) --- updated-dependencies: - dependency-name: keras 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 2725f027771..2aaf4966528 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -41,7 +41,7 @@ tornado==6.4 obs==0.0.0 todo==0.1 oauth2client==4.1.3 -keras==3.0.2 +keras==3.0.4 pymongo==4.6.1 playsound==1.3.0 pyttsx3==2.90 From 1a88c0e393fc5570dca3683bd620182b36716125 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 18:24:23 +0000 Subject: [PATCH 24/64] build(deps): bump aiohttp from 3.9.0 to 3.9.3 Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.0 to 3.9.3. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.0...v3.9.3) --- updated-dependencies: - dependency-name: aiohttp 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 7629a9fab81..9bb22aa80c5 100644 --- a/async_downloader/requirements.txt +++ b/async_downloader/requirements.txt @@ -1 +1 @@ -aiohttp==3.9.0 +aiohttp==3.9.3 diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 4f668cdd30a..fd1249211cf 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -1,5 +1,5 @@ pafy==0.5.5 -aiohttp==3.9.1 +aiohttp==3.9.3 fuzzywuzzy==0.18.0 hupper==1.12 seaborn==0.13.1 From 68fee52b31fd4d2cb6732592c1b8b0c869f13547 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 18:34:58 +0000 Subject: [PATCH 25/64] build(deps): bump flask from 3.0.0 to 3.0.2 Bumps [flask](https://github.com/pallets/flask) from 3.0.0 to 3.0.2. - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/flask/compare/3.0.0...3.0.2) --- updated-dependencies: - dependency-name: flask 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 4f668cdd30a..d9922a213fb 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -20,7 +20,7 @@ fileinfo==0.3.3 backend==0.2.4.1 win10toast==0.9 Counter==1.0.0 -Flask==3.0.0 +Flask==3.0.2 selenium==4.16.0 firebase-admin==6.3.0 ujson==5.9.0 From e05762dd909a845ab85d9fa363e99d9d107567cb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 18:27:45 +0000 Subject: [PATCH 26/64] build(deps): bump numpy from 1.26.2 to 1.26.4 Bumps [numpy](https://github.com/numpy/numpy) from 1.26.2 to 1.26.4. - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](https://github.com/numpy/numpy/compare/v1.26.2...v1.26.4) --- updated-dependencies: - dependency-name: numpy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Hand-Motion-Detection/requirements.txt | 2 +- requirements_with_versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Hand-Motion-Detection/requirements.txt b/Hand-Motion-Detection/requirements.txt index 4502b30bd78..9777fd9bba9 100644 --- a/Hand-Motion-Detection/requirements.txt +++ b/Hand-Motion-Detection/requirements.txt @@ -1,3 +1,3 @@ -numpy==1.26.2 +numpy==1.26.4 opencv_python==4.9.0.80 mediapipe==0.10.9 diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 4f668cdd30a..11a075b2fbb 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -15,7 +15,7 @@ dictator==0.3.1 caller==0.0.2 watchdog==3.0.0 PyQt5==5.15.10 -numpy==1.26.2 +numpy==1.26.4 fileinfo==0.3.3 backend==0.2.4.1 win10toast==0.9 From 44202a5e8ac7586678d8605c3717edf6aac75434 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 18:53:00 +0000 Subject: [PATCH 27/64] build(deps): bump pandas from 2.1.4 to 2.2.0 Bumps [pandas](https://github.com/pandas-dev/pandas) from 2.1.4 to 2.2.0. - [Release notes](https://github.com/pandas-dev/pandas/releases) - [Commits](https://github.com/pandas-dev/pandas/compare/v2.1.4...v2.2.0) --- updated-dependencies: - dependency-name: pandas 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 fb0bc6ba95f..b9b008034f5 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -96,7 +96,7 @@ pyperclip==1.8.2 newspaper==0.1.0.7 opencv-python==4.9.0.80 tensorflow==2.15.0.post1 -pandas==2.1.4 +pandas==2.2.0 pytest==7.4.4 qrcode==7.4.2 googletrans==3.0.0 From 133032b84130750baf2f28b3503b86c6c4f61ba9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 18:53:02 +0000 Subject: [PATCH 28/64] build(deps): bump pdf2docx from 0.5.7 to 0.5.8 Bumps [pdf2docx](https://artifex.com/) from 0.5.7 to 0.5.8. --- updated-dependencies: - dependency-name: pdf2docx 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 fb0bc6ba95f..e3d6fd09cb3 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -8,7 +8,7 @@ simplegui==0.1.1 utils==1.0.2 Tubes==0.2.1 modules==1.0.0 -pdf2docx==0.5.7 +pdf2docx==0.5.8 pong==1.5 beautifulsoup4==4.12.3 dictator==0.3.1 From 7a58bbf081316546028cd3c9b88cc47e62136de4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 18:53:06 +0000 Subject: [PATCH 29/64] build(deps): bump pydantic from 2.5.3 to 2.6.1 Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.5.3 to 2.6.1. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](https://github.com/pydantic/pydantic/compare/v2.5.3...v2.6.1) --- updated-dependencies: - dependency-name: pydantic 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 fb0bc6ba95f..1be9833c61b 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -51,7 +51,7 @@ pywifi==1.1.12 patterns==0.3 openai==1.9.0 background==0.2.1 -pydantic==2.5.3 +pydantic==2.6.1 openpyxl==3.1.2 pytesseract==0.3.10 requests-mock==1.11.0 From d6229b8bd4fb609851ca4456fdb051a462463a3a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 18:53:49 +0000 Subject: [PATCH 30/64] build(deps): bump solara from 1.25.0 to 1.26.1 Bumps [solara](https://github.com/widgetti/solara) from 1.25.0 to 1.26.1. - [Changelog](https://github.com/widgetti/solara/blob/master/CHANGELOG.md) - [Commits](https://github.com/widgetti/solara/compare/v1.25.0...v1.26.1) --- updated-dependencies: - dependency-name: solara dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- News_App/requirements.txt | 2 +- requirements_with_versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/News_App/requirements.txt b/News_App/requirements.txt index 044c00966ce..3a3ef60a219 100644 --- a/News_App/requirements.txt +++ b/News_App/requirements.txt @@ -1,4 +1,4 @@ -solara == 1.25.0 +solara == 1.26.1 Flask gunicorn ==21.2.0 simple-websocket diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index fb0bc6ba95f..e86ce988da3 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -74,7 +74,7 @@ xor-cipher==3.1.0 bird==0.1.2 mechanize==0.4.9 translate==3.6.1 -solara==1.25.0 +solara==1.26.1 pywhatkit==5.4 mutagen==1.47.0 Unidecode==1.3.8 From 79aa43d1a7ad9c867b43a3e31b30de0908d8ccdf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Feb 2024 18:20:40 +0000 Subject: [PATCH 31/64] build(deps): bump hupper from 1.12 to 1.12.1 Bumps [hupper](https://github.com/Pylons/hupper) from 1.12 to 1.12.1. - [Changelog](https://github.com/Pylons/hupper/blob/main/CHANGES.rst) - [Commits](https://github.com/Pylons/hupper/compare/1.12...1.12.1) --- updated-dependencies: - dependency-name: hupper 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 76a0f06da65..cdd13a04ec7 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -1,7 +1,7 @@ pafy==0.5.5 aiohttp==3.9.3 fuzzywuzzy==0.18.0 -hupper==1.12 +hupper==1.12.1 seaborn==0.13.1 time==1.0.0 simplegui==0.1.1 From 3aaf43862ab35dc93efa0394e89fc41077067797 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Feb 2024 18:27:19 +0000 Subject: [PATCH 32/64] build(deps): bump twilio from 8.12.0 to 9.0.0 Bumps [twilio](https://github.com/twilio/twilio-python) from 8.12.0 to 9.0.0. - [Release notes](https://github.com/twilio/twilio-python/releases) - [Changelog](https://github.com/twilio/twilio-python/blob/main/CHANGES.md) - [Upgrade guide](https://github.com/twilio/twilio-python/blob/main/UPGRADE.md) - [Commits](https://github.com/twilio/twilio-python/compare/8.12.0...9.0.0) --- updated-dependencies: - dependency-name: twilio dependency-type: direct:production update-type: version-update:semver-major ... 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 76a0f06da65..995d950548a 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -28,7 +28,7 @@ requests==2.31.0 quo==2023.5.1 PyPDF2==3.0.1 pyserial==3.5 -twilio==8.12.0 +twilio==9.0.0 tabula==1.0.5 nltk==3.8.1 Pillow==10.2.0 From f8c5a24de28edcf1f90ce33a9242c815e5f1408e Mon Sep 17 00:00:00 2001 From: Hirdesh Singh Sidhu <156164158+hirdeshsidhu@users.noreply.github.com> Date: Wed, 6 Mar 2024 11:04:06 +0530 Subject: [PATCH 33/64] Create main.py --- main.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 00000000000..2f9a147db12 --- /dev/null +++ b/main.py @@ -0,0 +1 @@ +print("Hello") From 9b76ba09e3ca0a7f75017e2e4bb3acbdf4ae51f1 Mon Sep 17 00:00:00 2001 From: Nitkarsh Chourasia Date: Sat, 9 Mar 2024 09:12:37 +0530 Subject: [PATCH 34/64] Revert "Create main.py" --- main.py | 1 - 1 file changed, 1 deletion(-) delete mode 100644 main.py diff --git a/main.py b/main.py deleted file mode 100644 index 2f9a147db12..00000000000 --- a/main.py +++ /dev/null @@ -1 +0,0 @@ -print("Hello") From e8991dc9cc7539185d293f0186f89e37a31d3100 Mon Sep 17 00:00:00 2001 From: Naman Sinha <65483393+Naman794@users.noreply.github.com> Date: Wed, 3 Apr 2024 15:43:02 +0530 Subject: [PATCH 35/64] Improve error handling and default file extension This update improves the YouTube downloader application by adding error handling for cases where the user cancels the download without selecting a filename. Additionally, it sets the default file extension to ".mp4" for easier file saving. These changes enhance the robustness and user-friendliness of the application, ensuring a smoother experience for users during video downloads. --- youtubedownloader.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/youtubedownloader.py b/youtubedownloader.py index 8343098aa0b..55b5bc85990 100644 --- a/youtubedownloader.py +++ b/youtubedownloader.py @@ -14,12 +14,16 @@ def download(): url = YouTube(str(url_box.get())) video = url.streams.first() filename = filedialog.asksaveasfilename(defaultextension=".mp4", filetypes=[("MP4 files", "*.mp4")]) - video.download(filename=filename) - messagebox.showinfo('', 'Download completed!') + if filename: # Check if a filename is selected + video.download(filename=filename) + messagebox.showinfo('', 'Download completed!') + else: + messagebox.showwarning('', 'Download cancelled!') except Exception as e: messagebox.showerror("Error", "An error occurred while downloading the video.") + root = Tk() root.title('YouTube Downloader') root.geometry('780x500+200+200') From 20b334400a62722f9d59234555f60988e3b64242 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 18:09:28 +0000 Subject: [PATCH 36/64] build(deps): bump pandas from 2.2.0 to 2.2.2 Bumps [pandas](https://github.com/pandas-dev/pandas) from 2.2.0 to 2.2.2. - [Release notes](https://github.com/pandas-dev/pandas/releases) - [Commits](https://github.com/pandas-dev/pandas/compare/v2.2.0...v2.2.2) --- updated-dependencies: - dependency-name: pandas 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 995d950548a..623d65560c4 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -96,7 +96,7 @@ pyperclip==1.8.2 newspaper==0.1.0.7 opencv-python==4.9.0.80 tensorflow==2.15.0.post1 -pandas==2.2.0 +pandas==2.2.2 pytest==7.4.4 qrcode==7.4.2 googletrans==3.0.0 From 167a284d7456673bc41d94274887c88382df81d2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 18:30:19 +0000 Subject: [PATCH 37/64] build(deps): bump xor-cipher from 3.1.0 to 4.0.0 Bumps [xor-cipher](https://github.com/xor-cipher/xor-cipher) from 3.1.0 to 4.0.0. - [Changelog](https://github.com/xor-cipher/xor-cipher/blob/main/CHANGELOG.md) - [Commits](https://github.com/xor-cipher/xor-cipher/compare/v3.1.0...v4.0.0) --- updated-dependencies: - dependency-name: xor-cipher dependency-type: direct:production update-type: version-update:semver-major ... 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 623d65560c4..c135c06a583 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -70,7 +70,7 @@ yfinance==0.2.35 tweepy==4.14.0 tkcalendar==1.6.1 pytube==15.0.0 -xor-cipher==3.1.0 +xor-cipher==4.0.0 bird==0.1.2 mechanize==0.4.9 translate==3.6.1 From b92cc3bf6acaf975c518716ab63fd94e452633bb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:33:54 +0000 Subject: [PATCH 38/64] build(deps): bump thirdai from 0.7.28 to 0.7.44 Bumps thirdai from 0.7.28 to 0.7.44. --- updated-dependencies: - dependency-name: thirdai 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 c135c06a583..403219f11ad 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -57,7 +57,7 @@ pytesseract==0.3.10 requests-mock==1.11.0 pyglet==2.0.10 urllib3==2.1.0 -thirdai==0.7.28 +thirdai==0.7.44 google-api-python-client==2.115.0 sound==0.1.0 xlwt==1.3.0 From 074dce597006ba11427b66d0342ee81c560f6a27 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 19 Apr 2024 18:06:33 +0000 Subject: [PATCH 39/64] build(deps): bump keras from 3.0.4 to 3.2.1 Bumps [keras](https://github.com/keras-team/keras) from 3.0.4 to 3.2.1. - [Release notes](https://github.com/keras-team/keras/releases) - [Commits](https://github.com/keras-team/keras/compare/v3.0.4...v3.2.1) --- updated-dependencies: - dependency-name: keras 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 403219f11ad..10e0a68f2a6 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -41,7 +41,7 @@ tornado==6.4 obs==0.0.0 todo==0.1 oauth2client==4.1.3 -keras==3.0.4 +keras==3.2.1 pymongo==4.6.1 playsound==1.3.0 pyttsx3==2.90 From cbda0821586dafe1a3d162f20b9bd54071c02fc7 Mon Sep 17 00:00:00 2001 From: sachinrafic <38779774+sachinrafic@users.noreply.github.com> Date: Fri, 19 Apr 2024 23:44:32 -0400 Subject: [PATCH 40/64] Create TaskPlanner.py --- TaskPlanner.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 TaskPlanner.py diff --git a/TaskPlanner.py b/TaskPlanner.py new file mode 100644 index 00000000000..250eb05323b --- /dev/null +++ b/TaskPlanner.py @@ -0,0 +1,31 @@ +import datetime +import csv + +def load_tasks(filename='tasks.csv'): + tasks = [] + with open(filename, 'r', newline='') as file: + reader = csv.reader(file) + for row in reader: + tasks.append({'task': row[0], 'deadline': row[1], 'completed': row[2]}) + return tasks + +def save_tasks(tasks, filename='tasks.csv'): + with open(filename, 'w', newline='') as file: + writer = csv.writer(file) + for task in tasks: + writer.writerow([task['task'], task['deadline'], task['completed']]) + +def add_task(task, deadline): + tasks = load_tasks() + tasks.append({'task': task, 'deadline': deadline, 'completed': 'No'}) + save_tasks(tasks) + print("Task added successfully!") + +def show_tasks(): + tasks = load_tasks() + for task in tasks: + print(f"Task: {task['task']}, Deadline: {task['deadline']}, Completed: {task['completed']}") + +# Example usage +add_task('Write daily report', '2024-04-20') +show_tasks() From f12b30060f930c40893e2414718fb9cba98bbf21 Mon Sep 17 00:00:00 2001 From: sachinrafic <38779774+sachinrafic@users.noreply.github.com> Date: Fri, 19 Apr 2024 23:53:44 -0400 Subject: [PATCH 41/64] This commit introduces a simple task manager script that allows users to add, view, and manage daily tasks. Features implemented include loading and saving tasks to a CSV file, adding new tasks with deadlines, and displaying all tasks. This setup helps streamline daily planning and task tracking. --- TaskManager.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 TaskManager.py diff --git a/TaskManager.py b/TaskManager.py new file mode 100644 index 00000000000..250eb05323b --- /dev/null +++ b/TaskManager.py @@ -0,0 +1,31 @@ +import datetime +import csv + +def load_tasks(filename='tasks.csv'): + tasks = [] + with open(filename, 'r', newline='') as file: + reader = csv.reader(file) + for row in reader: + tasks.append({'task': row[0], 'deadline': row[1], 'completed': row[2]}) + return tasks + +def save_tasks(tasks, filename='tasks.csv'): + with open(filename, 'w', newline='') as file: + writer = csv.writer(file) + for task in tasks: + writer.writerow([task['task'], task['deadline'], task['completed']]) + +def add_task(task, deadline): + tasks = load_tasks() + tasks.append({'task': task, 'deadline': deadline, 'completed': 'No'}) + save_tasks(tasks) + print("Task added successfully!") + +def show_tasks(): + tasks = load_tasks() + for task in tasks: + print(f"Task: {task['task']}, Deadline: {task['deadline']}, Completed: {task['completed']}") + +# Example usage +add_task('Write daily report', '2024-04-20') +show_tasks() From 438abd5f09ee6d02438185836c508754bfef1f14 Mon Sep 17 00:00:00 2001 From: Pajomdeshooter <159562497+Pajomdeshooter@users.noreply.github.com> Date: Sun, 21 Apr 2024 13:19:29 +0300 Subject: [PATCH 42/64] Create python_codes --- python_codes | 1 + 1 file changed, 1 insertion(+) create mode 100644 python_codes diff --git a/python_codes b/python_codes new file mode 100644 index 00000000000..4371a5441db --- /dev/null +++ b/python_codes @@ -0,0 +1 @@ +python_codes From 7d808107f5a6d3fa7cc5992031b4b50a869d470a Mon Sep 17 00:00:00 2001 From: Pajomdeshooter <159562497+Pajomdeshooter@users.noreply.github.com> Date: Sun, 21 Apr 2024 13:45:00 +0300 Subject: [PATCH 43/64] Update python_codes --- python_codes | 1 + 1 file changed, 1 insertion(+) diff --git a/python_codes b/python_codes index 4371a5441db..0f602a1a751 100644 --- a/python_codes +++ b/python_codes @@ -1 +1,2 @@ python_codes +print("Python") From b3883b9c39263a67a888126da171df69759f2b59 Mon Sep 17 00:00:00 2001 From: Pajomdeshooter <159562497+Pajomdeshooter@users.noreply.github.com> Date: Sun, 21 Apr 2024 14:08:55 +0300 Subject: [PATCH 44/64] Create index.html --- index.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ + From f210f22443a5191d0902b927134a50840a0da258 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 18:40:45 +0000 Subject: [PATCH 45/64] build(deps): bump ccxt from 4.2.20 to 4.3.5 Bumps [ccxt](https://github.com/ccxt/ccxt) from 4.2.20 to 4.3.5. - [Release notes](https://github.com/ccxt/ccxt/releases) - [Changelog](https://github.com/ccxt/ccxt/blob/master/CHANGELOG.md) - [Commits](https://github.com/ccxt/ccxt/compare/4.2.20...4.3.5) --- updated-dependencies: - dependency-name: ccxt 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 10e0a68f2a6..d8b7721d6de 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -81,7 +81,7 @@ Unidecode==1.3.8 Ball==0.2.9 pynput==1.7.6 gTTS==2.5.0 -ccxt==4.2.20 +ccxt==4.3.5 fitz==0.0.1.dev2 fastapi==0.109.0 Django==5.0.1 From b220808f7a401770edb9c2514eb264d2d5811bf1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Apr 2024 18:45:33 +0000 Subject: [PATCH 46/64] build(deps): bump matplotlib from 3.8.2 to 3.8.4 Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.8.2 to 3.8.4. - [Release notes](https://github.com/matplotlib/matplotlib/releases) - [Commits](https://github.com/matplotlib/matplotlib/compare/v3.8.2...v3.8.4) --- updated-dependencies: - dependency-name: matplotlib 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 d8b7721d6de..04457908464 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -86,7 +86,7 @@ fitz==0.0.1.dev2 fastapi==0.109.0 Django==5.0.1 docx==0.2.4 -matplotlib==3.8.2 +matplotlib==3.8.4 pyshorteners==1.0.1 geocoder==1.38.1 APScheduler==3.10.4 From 02712dd1d936fa0f992c909db2000f4835a9d1c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Apr 2024 18:46:00 +0000 Subject: [PATCH 47/64] build(deps): bump requests-mock from 1.11.0 to 1.12.1 Bumps [requests-mock](https://github.com/jamielennox/requests-mock) from 1.11.0 to 1.12.1. - [Release notes](https://github.com/jamielennox/requests-mock/releases) - [Commits](https://github.com/jamielennox/requests-mock/compare/1.11.0...1.12.1) --- updated-dependencies: - dependency-name: requests-mock 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 04457908464..a9757124286 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -54,7 +54,7 @@ background==0.2.1 pydantic==2.6.1 openpyxl==3.1.2 pytesseract==0.3.10 -requests-mock==1.11.0 +requests-mock==1.12.1 pyglet==2.0.10 urllib3==2.1.0 thirdai==0.7.44 From bf66e2661239bc18e0e6d19b0dbc1ae8c8bb3cdc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 18:49:13 +0000 Subject: [PATCH 48/64] build(deps): bump keras from 3.2.1 to 3.3.3 Bumps [keras](https://github.com/keras-team/keras) from 3.2.1 to 3.3.3. - [Release notes](https://github.com/keras-team/keras/releases) - [Commits](https://github.com/keras-team/keras/compare/v3.2.1...v3.3.3) --- updated-dependencies: - dependency-name: keras 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 a9757124286..e10a7535fd0 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -41,7 +41,7 @@ tornado==6.4 obs==0.0.0 todo==0.1 oauth2client==4.1.3 -keras==3.2.1 +keras==3.3.3 pymongo==4.6.1 playsound==1.3.0 pyttsx3==2.90 From b7303340095b3b00b4f1d9eab865d91f0b9856c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 May 2024 18:54:13 +0000 Subject: [PATCH 49/64] build(deps): bump pymongo from 4.6.1 to 4.7.1 Bumps [pymongo](https://github.com/mongodb/mongo-python-driver) from 4.6.1 to 4.7.1. - [Release notes](https://github.com/mongodb/mongo-python-driver/releases) - [Changelog](https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst) - [Commits](https://github.com/mongodb/mongo-python-driver/compare/4.6.1...4.7.1) --- updated-dependencies: - dependency-name: pymongo 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 e10a7535fd0..2c8ba2a1bcb 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -42,7 +42,7 @@ obs==0.0.0 todo==0.1 oauth2client==4.1.3 keras==3.3.3 -pymongo==4.6.1 +pymongo==4.7.1 playsound==1.3.0 pyttsx3==2.90 auto-mix-prep==0.2.0 From 94855e63e14ada83813da0ea55bae211e41d4fba Mon Sep 17 00:00:00 2001 From: nadirhsan <168213279+nadirhsan@users.noreply.github.com> Date: Sat, 4 May 2024 17:44:16 +0530 Subject: [PATCH 50/64] Update main.py changed the y or n input to a loop to make sure program works even with wrong input --- Snake_water_gun/main.py | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/Snake_water_gun/main.py b/Snake_water_gun/main.py index 5a8b1332894..23d8b51f5c3 100644 --- a/Snake_water_gun/main.py +++ b/Snake_water_gun/main.py @@ -22,21 +22,26 @@ class bcolors: run = True li = ["s", "w", "g"] -system("clear") -b = input( - bcolors.OKBLUE - + bcolors.BOLD - + "Welcome to the game 'Snake-Water-Gun'.\nWanna play? Type Y or N: " - + bcolors.ENDC -).capitalize() - -if b == "N": - run = False - print("Ok bubyeee! See you later") -elif b == "Y" or b == "y": - print( - "There will be 10 matches, and the one who wins more matches will win. Let's start." - ) +while True: + system("clear") + b = input( + bcolors.OKBLUE + + bcolors.BOLD + + "Welcome to the game 'Snake-Water-Gun'.\nWanna play? Type Y or N: " + + bcolors.ENDC + ).capitalize() + + if b == "N": + run = False + print("Ok bubyeee! See you later") + break + elif b == "Y" or b == "y": + print( + "There will be 10 matches, and the one who wins more matches will win. Let's start." + ) + break + else: + continue i = 0 score = 0 From b64824c757d2288d01f307514d7268afef8da8e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 18:17:33 +0000 Subject: [PATCH 51/64] build(deps): bump gunicorn from 21.2.0 to 22.0.0 Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 21.2.0 to 22.0.0. - [Release notes](https://github.com/benoitc/gunicorn/releases) - [Commits](https://github.com/benoitc/gunicorn/compare/21.2.0...22.0.0) --- updated-dependencies: - dependency-name: gunicorn dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- News_App/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/News_App/requirements.txt b/News_App/requirements.txt index 3a3ef60a219..9dbe6038286 100644 --- a/News_App/requirements.txt +++ b/News_App/requirements.txt @@ -1,6 +1,6 @@ solara == 1.26.1 Flask -gunicorn ==21.2.0 +gunicorn ==22.0.0 simple-websocket flask-sock yfinance \ No newline at end of file From 4d7e1f2f2a11ef1a89b4c78a69d1c936313e08a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 18:19:16 +0000 Subject: [PATCH 52/64] build(deps): bump django from 5.0.1 to 5.0.5 Bumps [django](https://github.com/django/django) from 5.0.1 to 5.0.5. - [Commits](https://github.com/django/django/compare/5.0.1...5.0.5) --- updated-dependencies: - dependency-name: django 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 2c8ba2a1bcb..07b1e19d7ed 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -84,7 +84,7 @@ gTTS==2.5.0 ccxt==4.3.5 fitz==0.0.1.dev2 fastapi==0.109.0 -Django==5.0.1 +Django==5.0.5 docx==0.2.4 matplotlib==3.8.4 pyshorteners==1.0.1 From 56ab7aa5a0e5534378bef5fa5120f03d56db6c0a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 18:20:40 +0000 Subject: [PATCH 53/64] build(deps): bump inquirer from 3.2.1 to 3.2.4 Bumps [inquirer](https://github.com/magmax/python-inquirer) from 3.2.1 to 3.2.4. - [Release notes](https://github.com/magmax/python-inquirer/releases) - [Commits](https://github.com/magmax/python-inquirer/compare/v3.2.1...v3.2.4) --- updated-dependencies: - dependency-name: inquirer dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Password Generator/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Password Generator/requirements.txt b/Password Generator/requirements.txt index d90c5114c52..d87a562b3e8 100644 --- a/Password Generator/requirements.txt +++ b/Password Generator/requirements.txt @@ -1,2 +1,2 @@ colorama==0.4.6 -inquirer==3.2.1 \ No newline at end of file +inquirer==3.2.4 \ No newline at end of file From fd8e93dad8502c1e37898e86b48497f128b9b837 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 18:20:43 +0000 Subject: [PATCH 54/64] build(deps): bump emoji from 2.10.0 to 2.11.1 Bumps [emoji](https://github.com/carpedm20/emoji) from 2.10.0 to 2.11.1. - [Release notes](https://github.com/carpedm20/emoji/releases) - [Changelog](https://github.com/carpedm20/emoji/blob/master/CHANGES.md) - [Commits](https://github.com/carpedm20/emoji/compare/v2.10.0...v2.11.1) --- updated-dependencies: - dependency-name: emoji 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 c2c30d99d49..4fc533816c3 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -109,5 +109,5 @@ protobuf==4.25.2 colorama==0.4.6 plyer==2.1.0 Flask-Ask==0.9.8 -emoji==2.10.0 +emoji==2.11.1 PyAutoGUI==0.9.54 From 66671f5d13dc136aff2f761aaba1a38da9de4fa3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 18:20:53 +0000 Subject: [PATCH 55/64] build(deps): bump ccxt from 4.3.5 to 4.3.18 Bumps [ccxt](https://github.com/ccxt/ccxt) from 4.3.5 to 4.3.18. - [Release notes](https://github.com/ccxt/ccxt/releases) - [Changelog](https://github.com/ccxt/ccxt/blob/master/CHANGELOG.md) - [Commits](https://github.com/ccxt/ccxt/compare/4.3.5...4.3.18) --- updated-dependencies: - dependency-name: ccxt 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 c2c30d99d49..714ef4ad05c 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -81,7 +81,7 @@ Unidecode==1.3.8 Ball==0.2.9 pynput==1.7.6 gTTS==2.5.0 -ccxt==4.3.5 +ccxt==4.3.18 fitz==0.0.1.dev2 fastapi==0.109.0 Django==5.0.5 From 55718ce6d3e24e5e5bf65afd7a0149b174b68104 Mon Sep 17 00:00:00 2001 From: Goli Vishnuvardhan Reddy Date: Wed, 8 May 2024 08:19:17 +0530 Subject: [PATCH 56/64] Add Python implementations for binary search tree operations This commit introduces Python implementations for various operations and functionalities related to binary search trees (BSTs). The added files include: - `insert_in_bst.py`: Code for inserting a node into a BST. - `search_in_bst.py`: Code for searching for a node in a BST. - `delete_a_node_in_bst.py`: Code for deleting a node from a BST. - `inorder_traversal.py`: Code for implementing an in-order traversal of a BST. - `mirror_a_bst.py`: Code for creating a mirror image of a BST. - `print_in_range.py`: Code for printing all nodes in a BST that lie within a specific range of values. - `root_to_leaf_paths.py`: Code for finding all root-to-leaf paths in a BST. - `validate_bst.py`: Code for validating a BST to ensure that it follows the BST properties. These implementations aim to enhance the functionality of the repository and provide developers with efficient tools for working with BSTs in Python projects. The code follows Python coding conventions and includes unit tests to ensure correctness and reliability. --- binary_search_trees/delete_a_node_in_bst.py | 35 +++++++++ binary_search_trees/inorder_successor.py | 10 +++ binary_search_trees/inorder_traversal.py | 15 ++++ binary_search_trees/insert_in_bst.py | 17 +++++ binary_search_trees/main.py | 85 +++++++++++++++++++++ binary_search_trees/mirror_a_bst.py | 16 ++++ binary_search_trees/print_in_range.py | 21 +++++ binary_search_trees/root_to_leaf_paths.py | 17 +++++ binary_search_trees/search_in_bst.py | 15 ++++ binary_search_trees/tree_node.py | 8 ++ binary_search_trees/validate_bst.py | 17 +++++ 11 files changed, 256 insertions(+) create mode 100644 binary_search_trees/delete_a_node_in_bst.py create mode 100644 binary_search_trees/inorder_successor.py create mode 100644 binary_search_trees/inorder_traversal.py create mode 100644 binary_search_trees/insert_in_bst.py create mode 100644 binary_search_trees/main.py create mode 100644 binary_search_trees/mirror_a_bst.py create mode 100644 binary_search_trees/print_in_range.py create mode 100644 binary_search_trees/root_to_leaf_paths.py create mode 100644 binary_search_trees/search_in_bst.py create mode 100644 binary_search_trees/tree_node.py create mode 100644 binary_search_trees/validate_bst.py diff --git a/binary_search_trees/delete_a_node_in_bst.py b/binary_search_trees/delete_a_node_in_bst.py new file mode 100644 index 00000000000..bfb6a0708ac --- /dev/null +++ b/binary_search_trees/delete_a_node_in_bst.py @@ -0,0 +1,35 @@ +from inorder_successor import inorder_successor +# The above line imports the inorder_successor function from the inorder_successor.py file +def delete_node(root,val): + """ This function deletes a node with value val from the BST""" + + # search in the left subtree + if root.data < val: + root.right = delete_node(root.right,val) + + # search in the right subtree + elif root.data>val: + root.left=delete_node(root.left,val) + + # node to be deleted is found + else: + # case 1: no child leaf node + if root.left is None and root.right is None: + return None + + # case 2: one child + if root.left is None: + return root.right + + # case 2: one child + elif root.right is None: + return root.left + + # case 3: two children + + # find the inorder successor + IS=inorder_successor(root.right) + root.data=IS.data + root.right=delete_node(root.right,IS.data) + return root + \ No newline at end of file diff --git a/binary_search_trees/inorder_successor.py b/binary_search_trees/inorder_successor.py new file mode 100644 index 00000000000..b9b15666eea --- /dev/null +++ b/binary_search_trees/inorder_successor.py @@ -0,0 +1,10 @@ +def inorder_successor(root): + # This function returns the inorder successor of a node in a BST + + # The inorder successor of a node is the node with the smallest value greater than the value of the node + current=root + + # The inorder successor is the leftmost node in the right subtree + while current.left is not None: + current=current.left + return current \ No newline at end of file diff --git a/binary_search_trees/inorder_traversal.py b/binary_search_trees/inorder_traversal.py new file mode 100644 index 00000000000..3bb4c4101ed --- /dev/null +++ b/binary_search_trees/inorder_traversal.py @@ -0,0 +1,15 @@ +def inorder(root): + """ This function performs an inorder traversal of a BST""" + + # The inorder traversal of a BST is the nodes in increasing order + if root is None: + return + + # Traverse the left subtree + inorder(root.left) + + # Print the root node + print(root.data) + + # Traverse the right subtree + inorder(root.right) \ No newline at end of file diff --git a/binary_search_trees/insert_in_bst.py b/binary_search_trees/insert_in_bst.py new file mode 100644 index 00000000000..dd726d06596 --- /dev/null +++ b/binary_search_trees/insert_in_bst.py @@ -0,0 +1,17 @@ +from tree_node import Node +def insert(root,val): + + """ This function inserts a node with value val into the BST""" + + # If the tree is empty, create a new node + if root is None: + return Node(val) + + # If the value to be inserted is less than the root value, insert in the left subtree + if val < root.data: + root.left = insert(root.left,val) + + # If the value to be inserted is greater than the root value, insert in the right subtree + else: + root.right = insert(root.right,val) + return root \ No newline at end of file diff --git a/binary_search_trees/main.py b/binary_search_trees/main.py new file mode 100644 index 00000000000..96ebb6ae8eb --- /dev/null +++ b/binary_search_trees/main.py @@ -0,0 +1,85 @@ +from tree_node import Node +from insert_in_bst import insert +from delete_a_node_in_bst import delete_node +from search_in_bst import search +from inorder_successor import inorder_successor +from mirror_a_bst import create_mirror_bst +from print_in_range import print_in_range +from root_to_leaf_paths import print_root_to_leaf_paths +from validate_bst import is_valid_bst + + +def main(): + + # Create a BST + root = None + root = insert(root, 50) + root = insert(root, 30) + root = insert(root, 20) + root = insert(root, 40) + root = insert(root, 70) + root = insert(root, 60) + root = insert(root, 80) + + # Print the inorder traversal of the BST + print("Inorder traversal of the original BST:") + print_in_range(root, 10, 90) + + # Print the root to leaf paths + print("Root to leaf paths:") + print_root_to_leaf_paths(root, []) + + # Check if the tree is a BST + print("Is the tree a BST:", is_valid_bst(root,None,None)) + + + # Delete nodes from the BST + print("Deleting 20 from the BST:") + root = delete_node(root, 20) + + # Print the inorder traversal of the BST + print("Inorder traversal of the BST after deleting 20:") + print_in_range(root, 10, 90) + + # Check if the tree is a BST + print("Is the tree a BST:", is_valid_bst(root,None,None)) + + + # Delete nodes from the BST + print("Deleting 30 from the BST:") + root = delete_node(root, 30) + + # Print the inorder traversal of the BST after deleting 30 + print("Inorder traversal of the BST after deleting 30:") + print_in_range(root, 10, 90) + + # Check if the tree is a BST + print("Is the tree a BST:", is_valid_bst(root,None,None)) + + # Delete nodes from the BST + print("Deleting 50 from the BST:") + root = delete_node(root, 50) + + # Print the inorder traversal of the BST after deleting 50 + print("Inorder traversal of the BST after deleting 50:") + print_in_range(root, 10, 90) + + # Check if the tree is a BST + print("Is the tree a BST:", is_valid_bst(root,None,None)) + + + print("Searching for 70 in the BST:", search(root, 70)) + print("Searching for 100 in the BST:", search(root, 100)) + print("Inorder traversal of the BST:") + print_in_range(root, 10, 90) + print("Creating a mirror of the BST:") + mirror_root = create_mirror_bst(root) + print("Inorder traversal of the mirror BST:") + print_in_range(mirror_root, 10, 90) + +if __name__ == "__main__": + main() + + + + diff --git a/binary_search_trees/mirror_a_bst.py b/binary_search_trees/mirror_a_bst.py new file mode 100644 index 00000000000..73f080f85c2 --- /dev/null +++ b/binary_search_trees/mirror_a_bst.py @@ -0,0 +1,16 @@ +from tree_node import Node +def create_mirror_bst(root): + """ Function to create a mirror of a binary search tree""" + + # If the tree is empty, return None + if root is None: + return None + + # Create a new node with the root value + + # Recursively create the mirror of the left and right subtrees + left_mirror = create_mirror_bst(root.left) + right_mirror = create_mirror_bst(root.right) + root.left = right_mirror + root.right = left_mirror + return root \ No newline at end of file diff --git a/binary_search_trees/print_in_range.py b/binary_search_trees/print_in_range.py new file mode 100644 index 00000000000..fecca23ba24 --- /dev/null +++ b/binary_search_trees/print_in_range.py @@ -0,0 +1,21 @@ +def print_in_range(root,k1,k2): + + """ This function prints the nodes in a BST that are in the range k1 to k2 inclusive""" + + # If the tree is empty, return + if root is None: + return + + # If the root value is in the range, print the root value + if root.data >= k1 and root.data <= k2: + print_in_range(root.left,k1,k2) + print(root.data) + print_in_range(root.right,k1,k2) + + # If the root value is less than k1, the nodes in the range will be in the right subtree + elif root.data < k1: + print_in_range(root.left,k1,k2) + + # If the root value is greater than k2, the nodes in the range will be in the left subtree + else: + print_in_range(root.right,k1,k2) \ No newline at end of file diff --git a/binary_search_trees/root_to_leaf_paths.py b/binary_search_trees/root_to_leaf_paths.py new file mode 100644 index 00000000000..22867a713ec --- /dev/null +++ b/binary_search_trees/root_to_leaf_paths.py @@ -0,0 +1,17 @@ +def print_root_to_leaf_paths(root, path): + """ This function prints all the root to leaf paths in a BST""" + + # If the tree is empty, return + if root is None: + return + + # Add the root value to the path + path.append(root.data) + if root.left is None and root.right is None: + print(path) + + # Recursively print the root to leaf paths in the left and right subtrees + else: + print_root_to_leaf_paths(root.left, path) + print_root_to_leaf_paths(root.right, path) + path.pop() \ No newline at end of file diff --git a/binary_search_trees/search_in_bst.py b/binary_search_trees/search_in_bst.py new file mode 100644 index 00000000000..4a95780e43a --- /dev/null +++ b/binary_search_trees/search_in_bst.py @@ -0,0 +1,15 @@ +def search(root, val): + """ This function searches for a node with value val in the BST and returns True if found, False otherwise""" + + # If the tree is empty, return False + if root == None: + return False + + # If the root value is equal to the value to be searched, return True + if root.data == val: + return True + + # If the value to be searched is less than the root value, search in the left subtree + if root.data > val: + return search(root.left, val) + return search(root.right, val) \ No newline at end of file diff --git a/binary_search_trees/tree_node.py b/binary_search_trees/tree_node.py new file mode 100644 index 00000000000..1d35656da08 --- /dev/null +++ b/binary_search_trees/tree_node.py @@ -0,0 +1,8 @@ + +# Node class for binary tree + +class Node: + def __init__(self, data): + self.data = data + self.left = None + self.right = None diff --git a/binary_search_trees/validate_bst.py b/binary_search_trees/validate_bst.py new file mode 100644 index 00000000000..3569c833005 --- /dev/null +++ b/binary_search_trees/validate_bst.py @@ -0,0 +1,17 @@ +def is_valid_bst(root,min,max): + """ Function to check if a binary tree is a binary search tree""" + + # If the tree is empty, return True + if root is None: + return True + + # If the root value is less than the minimum value or greater than the maximum value, return False + if min is not None and root.data <= min.data: + return False + + # If the root value is greater than the maximum value or less than the minimum value, return False + elif max is not None and root.data >= max.data: + return False + + # Recursively check if the left and right subtrees are BSTs + return is_valid_bst(root.left,min,root) and is_valid_bst(root.right,root,max) \ No newline at end of file From f06386d69a94d55ce6135b955cc3a5bc88edac08 Mon Sep 17 00:00:00 2001 From: Rohit Date: Wed, 8 May 2024 22:32:19 +0530 Subject: [PATCH 57/64] 42. How to begin the journy of open source (first contribution) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4d5e575cae1..ef95fb4848c 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ Feel free to explore the scripts and use them for your learning and automation n 39. [space_invader.py.py](https://github.com/meezan-mallick/space_invader_game) - Classical 2D space invader game to recall your childhood memories. 40. [Test Case Generator](https://github.com/Tanmay-901/test-case-generator/blob/master/test_case.py) - Generate different types of test cases with a clean and friendly UI, used in competitive programming and software testing. 41. [Extract Thumbnail From Video](https://github.com/geekcomputers/Python/tree/ExtractThumbnailFromVideo) - Extract Thumbnail from video files +42. [How to begin the journy of open source (first contribution)](https://www.youtube.com/watch?v=v2X51AVgl3o) - First Contribution of open source
_**Note**: The content in this repository belongs to the respective authors and creators. I'm just providing a formatted README.md for better presentation._ From e78ea7624dc45ca20f467ce52122042dbec56f3f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 May 2024 18:16:11 +0000 Subject: [PATCH 58/64] build(deps): bump tqdm from 4.66.1 to 4.66.4 Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.1 to 4.66.4. - [Release notes](https://github.com/tqdm/tqdm/releases) - [Commits](https://github.com/tqdm/tqdm/compare/v4.66.1...v4.66.4) --- updated-dependencies: - dependency-name: tqdm 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 4b92c3a5006..0265811abc1 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -64,7 +64,7 @@ xlwt==1.3.0 pygame==2.5.2 speechtotext==0.0.3 wikipedia==1.4.0 -tqdm==4.66.1 +tqdm==4.66.4 Menu==3.2.2 yfinance==0.2.35 tweepy==4.14.0 From c2d1d76f67a6d5e08b4e51d1b5afe90eaf362cd0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 May 2024 18:16:16 +0000 Subject: [PATCH 59/64] build(deps): bump urllib3 from 2.1.0 to 2.2.1 Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.1.0 to 2.2.1. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/2.1.0...2.2.1) --- updated-dependencies: - dependency-name: urllib3 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 4b92c3a5006..b356bca32d4 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -56,7 +56,7 @@ openpyxl==3.1.2 pytesseract==0.3.10 requests-mock==1.12.1 pyglet==2.0.10 -urllib3==2.1.0 +urllib3==2.2.1 thirdai==0.7.44 google-api-python-client==2.115.0 sound==0.1.0 From dfcaaeb2736a380a45dcb3e8fe764cfd62f28b6a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 May 2024 18:16:21 +0000 Subject: [PATCH 60/64] build(deps): bump firebase-admin from 6.3.0 to 6.5.0 Bumps [firebase-admin](https://github.com/firebase/firebase-admin-python) from 6.3.0 to 6.5.0. - [Release notes](https://github.com/firebase/firebase-admin-python/releases) - [Commits](https://github.com/firebase/firebase-admin-python/compare/v6.3.0...v6.5.0) --- updated-dependencies: - dependency-name: firebase-admin 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 4b92c3a5006..2228b4cdfa5 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -22,7 +22,7 @@ win10toast==0.9 Counter==1.0.0 Flask==3.0.2 selenium==4.16.0 -firebase-admin==6.3.0 +firebase-admin==6.5.0 ujson==5.9.0 requests==2.31.0 quo==2023.5.1 From baff83202e1409cd0593a8b66ed8769c6596cc72 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 May 2024 18:40:45 +0000 Subject: [PATCH 61/64] build(deps): bump solara from 1.26.1 to 1.32.1 Bumps [solara](https://github.com/widgetti/solara) from 1.26.1 to 1.32.1. - [Changelog](https://github.com/widgetti/solara/blob/master/CHANGELOG.md) - [Commits](https://github.com/widgetti/solara/compare/v1.26.1...v1.32.1) --- updated-dependencies: - dependency-name: solara dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- News_App/requirements.txt | 2 +- requirements_with_versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/News_App/requirements.txt b/News_App/requirements.txt index 9dbe6038286..308234e5089 100644 --- a/News_App/requirements.txt +++ b/News_App/requirements.txt @@ -1,4 +1,4 @@ -solara == 1.26.1 +solara == 1.32.1 Flask gunicorn ==22.0.0 simple-websocket diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index de8188efe99..11c82ee64c2 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -74,7 +74,7 @@ xor-cipher==4.0.0 bird==0.1.2 mechanize==0.4.9 translate==3.6.1 -solara==1.26.1 +solara==1.32.1 pywhatkit==5.4 mutagen==1.47.0 Unidecode==1.3.8 From 35acae92732a860490414a13cee33212f84e98a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 May 2024 18:40:49 +0000 Subject: [PATCH 62/64] build(deps): bump rich from 13.7.0 to 13.7.1 Bumps [rich](https://github.com/Textualize/rich) from 13.7.0 to 13.7.1. - [Release notes](https://github.com/Textualize/rich/releases) - [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md) - [Commits](https://github.com/Textualize/rich/compare/v13.7.0...v13.7.1) --- updated-dependencies: - dependency-name: rich 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 de8188efe99..95f9b7a6f5c 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -103,7 +103,7 @@ googletrans==3.0.0 slab==1.1.5 psutil==5.9.8 mediapipe==0.10.9 -rich==13.7.0 +rich==13.7.1 httplib2==0.22.0 protobuf==4.25.2 colorama==0.4.6 From 2fe8801cb34b4ed56c00238a2f7c0e7ee5bc8a35 Mon Sep 17 00:00:00 2001 From: Sanika Hadap <136838683+sanikaahadap@users.noreply.github.com> Date: Fri, 10 May 2024 16:42:40 +0530 Subject: [PATCH 63/64] Update README.md Fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef95fb4848c..03c280e1cba 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Feel free to explore the scripts and use them for your learning and automation n 39. [space_invader.py.py](https://github.com/meezan-mallick/space_invader_game) - Classical 2D space invader game to recall your childhood memories. 40. [Test Case Generator](https://github.com/Tanmay-901/test-case-generator/blob/master/test_case.py) - Generate different types of test cases with a clean and friendly UI, used in competitive programming and software testing. 41. [Extract Thumbnail From Video](https://github.com/geekcomputers/Python/tree/ExtractThumbnailFromVideo) - Extract Thumbnail from video files -42. [How to begin the journy of open source (first contribution)](https://www.youtube.com/watch?v=v2X51AVgl3o) - First Contribution of open source +42. [How to begin the journey of open source (first contribution)](https://www.youtube.com/watch?v=v2X51AVgl3o) - First Contribution of open source
_**Note**: The content in this repository belongs to the respective authors and creators. I'm just providing a formatted README.md for better presentation._ From 54c4b123dd39e28d8d7984d651e4ba16c929e589 Mon Sep 17 00:00:00 2001 From: Rohit Date: Sun, 12 May 2024 20:57:40 +0530 Subject: [PATCH 64/64] Laundary System in Python --- Laundary System/README.md | 91 +++++++++++++++++++++++++++++++++++++++ Laundary System/code.py | 75 ++++++++++++++++++++++++++++++++ 2 files changed, 166 insertions(+) create mode 100644 Laundary System/README.md create mode 100644 Laundary System/code.py diff --git a/Laundary System/README.md b/Laundary System/README.md new file mode 100644 index 00000000000..0b0ac8a4bd0 --- /dev/null +++ b/Laundary System/README.md @@ -0,0 +1,91 @@ +# Laundry Service Class + +## Overview +The LaundryService class is designed to manage customer details and calculate charges for a cloth and apparel cleaning service. It provides methods to create customer-specific instances, print customer details, calculate charges based on cloth type, branding, and season, and print final details including the expected day of return. + +## Class Structure +### Methods +1. `__init__(name, contact, email, cloth_type, branded, season)`: Initializes a new customer instance with the provided details and assigns a unique customer ID. + - Parameters: + - `name`: String, name of the customer. + - `contact`: Numeric (integer), contact number of the customer. + - `email`: Alphanumeric (string), email address of the customer. + - `cloth_type`: String, type of cloth deposited (Cotton, Silk, Woolen, or Polyester). + - `branded`: Boolean (0 or 1), indicating whether the cloth is branded. + - `season`: String, season when the cloth is deposited (Summer or Winter). + +2. `customerDetails()`: Prints out the details of the customer, including name, contact number, email, cloth type, and whether the cloth is branded. + +3. `calculateCharge()`: Calculates the charge based on the type of cloth, branding, and season. + - Returns: + - Numeric, total charge for cleaning the cloth. + +4. `finalDetails()`: Calls `customerDetails()` and `calculateCharge()` methods within itself and prints the total charge and the expected day of return. + - Prints: + - Total charge in Rupees. + - Expected day of return (4 days if total charge > 200, otherwise 7 days). + +## Example Usage +```python +# Example usage: +name = input("Enter customer name: ") +contact = int(input("Enter contact number: ")) +email = input("Enter email address: ") +cloth_type = input("Enter cloth type (Cotton/Silk/Woolen/Polyester): ") +branded = bool(int(input("Is the cloth branded? (Enter 0 for No, 1 for Yes): "))) +season = input("Enter season (Summer/Winter): ") + +customer = LaundryService(name, contact, email, cloth_type, branded, season) +customer.finalDetails() + + +markdown +Copy code +# Laundry Service Class + +## Overview +The LaundryService class is designed to manage customer details and calculate charges for a cloth and apparel cleaning service. It provides methods to create customer-specific instances, print customer details, calculate charges based on cloth type, branding, and season, and print final details including the expected day of return. + +## Class Structure +### Methods +1. `__init__(name, contact, email, cloth_type, branded, season)`: Initializes a new customer instance with the provided details and assigns a unique customer ID. + - Parameters: + - `name`: String, name of the customer. + - `contact`: Numeric (integer), contact number of the customer. + - `email`: Alphanumeric (string), email address of the customer. + - `cloth_type`: String, type of cloth deposited (Cotton, Silk, Woolen, or Polyester). + - `branded`: Boolean (0 or 1), indicating whether the cloth is branded. + - `season`: String, season when the cloth is deposited (Summer or Winter). + +2. `customerDetails()`: Prints out the details of the customer, including name, contact number, email, cloth type, and whether the cloth is branded. + +3. `calculateCharge()`: Calculates the charge based on the type of cloth, branding, and season. + - Returns: + - Numeric, total charge for cleaning the cloth. + +4. `finalDetails()`: Calls `customerDetails()` and `calculateCharge()` methods within itself and prints the total charge and the expected day of return. + - Prints: + - Total charge in Rupees. + - Expected day of return (4 days if total charge > 200, otherwise 7 days). + +## Example Usage +```python +# Example usage: +name = input("Enter customer name: ") +contact = int(input("Enter contact number: ")) +email = input("Enter email address: ") +cloth_type = input("Enter cloth type (Cotton/Silk/Woolen/Polyester): ") +branded = bool(int(input("Is the cloth branded? (Enter 0 for No, 1 for Yes): "))) +season = input("Enter season (Summer/Winter): ") + +customer = LaundryService(name, contact, email, cloth_type, branded, season) +customer.finalDetails() +Usage Instructions +Create an instance of the LaundryService class by providing customer details as parameters to the constructor. +Use the finalDetails() method to print the customer details along with the calculated charge and expected day of return. + + +Contributors +(Rohit Raj)[https://github.com/MrCodYrohit] + + diff --git a/Laundary System/code.py b/Laundary System/code.py new file mode 100644 index 00000000000..1c71e5a365b --- /dev/null +++ b/Laundary System/code.py @@ -0,0 +1,75 @@ +id=1 +class LaundryService: + def __init__(self,Name_of_customer,Contact_of_customer,Email,Type_of_cloth,Branded,Season,id): + self.Name_of_customer=Name_of_customer + self.Contact_of_customer=Contact_of_customer + self.Email=Email + self.Type_of_cloth=Type_of_cloth + self.Branded=Branded + self.Season=Season + self.id=id + + def customerDetails(self): + print("The Specific Details of customer:") + print("customer ID: ",self.id) + print("customer name:", self.Name_of_customer) + print("customer contact no. :", self.Contact_of_customer) + print("customer email:", self.Email) + print("type of cloth", self.Type_of_cloth) + if self.Branded == 1: + a=True + else: + a=False + print("Branded", a) + def calculateCharge(self): + a=0 + if self.Type_of_cloth=="Cotton": + a=50.0 + elif self.Type_of_cloth=="Silk": + a=30.0 + elif self.Type_of_cloth=="Woolen": + a=90.0 + elif self.Type_of_cloth=="Polyester": + a=20.0 + if self.Branded==1: + a=1.5*(a) + else: + pass + if self.Season=="Winter": + a=0.5*a + else: + a=2*a + print(a) + return a + def finalDetails(self): + self.customerDetails() + print("Final charge:",end="") + if self.calculateCharge() >200: + print("to be return in 4 days") + else: + print("to be return in 7 days") +while True: + name=input("Enter the name: ") + contact=int(input("Enter the contact: ")) + email=input("Enter the email: ") + cloth=input("Enter the type of cloth: ") + brand=bool(input("Branded ? ")) + season=input("Enter the season: ") + obj=LaundryService(name,contact,email,cloth,brand,season,id) + obj.finalDetails() + id=id+1 + z=input("Do you want to continue(Y/N):") + if z=="Y": + continue + elif z =="N": + print("Thanks for visiting!") + break + else: + print("Select valid option") + + + + + + + \ No newline at end of file