diff --git a/.github/ISSUE_TEMPLATE/Question_answer.md b/.github/ISSUE_TEMPLATE/Question_answer.md new file mode 100644 index 0000000..a38f4c8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Question_answer.md @@ -0,0 +1,18 @@ +--- +name: Question or Help Request โ“ +about: Ask a question or request assistance. +title: 'Question: ' +labels: bug, documentation, question +assignees: mrayanasim09 + +--- + +## โ“ Question or Help Request + +**Your Question:** +Clearly state your question or what you need help with. + +**Context:** +Provide additional context to help others understand your question. + +--- diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 64b5863..88e02c1 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,44 +1,51 @@ --- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' +name: "Bug Report \U0001F41E" +about: Found a bug? Let us know so we can fix it! +title: 'Bug: ' +labels: bug assignees: '' --- -**Describe the bug** -A clear and concise description of what the bug is. +## Bug Description ๐Ÿœ -**To Reproduce** -Steps to reproduce the behavior: +**What happened:** +A brief description of the issue you encountered. + +**Steps to Reproduce:** 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' -4. See the error +4. Error appears! + +**What you expected:** +A clear explanation of what you were expecting to happen. -**Expected behavior** -A clear and concise description of what you expected to happen. +## Screenshots ๐Ÿ“ท -**Screenshots** -If applicable, could you add screenshots to help explain your problem? +**Screenshots:** +If applicable, add screenshots to visualize the problem. -**Desktop (please complete the following information):** +## Your Environment ๐Ÿ–ฅ๏ธ + +**Desktop:** - OS: [e.g. iOS] -- Browser [e.g. chrome, safari] -- Version [e.g. 22] +- Browser: [e.g. Chrome, Safari] +- Version: [e.g. 22] + +**Smartphone:** +- Device: [e.g. iPhone 6] +- OS: [e.g. iOS 8.1] +- Browser: [e.g. Safari] +- Version: [e.g. 22] -**Smartphone (please complete the following information):** -- Device: [e.g. iPhone6] -- OS: [e.g. iOS8.1] -- Browser [e.g. stock browser, safari] -- Version [e.g. 22] +## Additional Context ๐Ÿ“ -**Additional context** -Please feel free to add any other context about the problem here. +**Anything else:** +Provide any extra information or context that might help us understand the issue better. --- **Note to Contributors:** -If you would like to contribute a fix for this bug, please follow the guidelines outlined in [CONTRIBUTING.md](https://github.com/mrayanasim09/python-projects/blob/main/CONTRIBUTING.md). Your contributions are highly appreciated! +If you're feeling adventurous and want to help fix this bug, follow the guidelines in [CONTRIBUTING.md](https://github.com/mrayanasim09/python-projects/blob/main/CONTRIBUTING.md). We appreciate your contributions! ๐Ÿ‘ diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md new file mode 100644 index 0000000..48d5f81 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/custom.md @@ -0,0 +1,10 @@ +--- +name: Custom issue template +about: Describe this issue template's purpose here. +title: '' +labels: '' +assignees: '' + +--- + + diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index bbcbbe7..6fa41ba 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,20 +1,41 @@ --- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' +name: "Feature Request \U0001F4A1" +about: Suggest an exciting new idea for this project! +title: 'Feature: ' +labels: enhancement assignees: '' --- -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] +## ๐ŸŒŸ Feature Idea -**Describe the solution you'd like** -A clear and concise description of what you want to happen. +**Is your feature request related to a problem? Please describe:** +A concise description of the issue or problem you've encountered that this feature could address. For example, "I often find it difficult to..." -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. +**Describe the solution you'd like:** +A detailed description of the feature you'd like to see added to the project. Explain how it would work and why it's important. -**Additional context** -Add any other context or screenshots about the feature request here. +**Describe any alternatives you've considered:** +If you've thought of other ways to solve the problem or achieve the same goal, share them here. + +## ๐Ÿš€ Benefits + +**How will this feature benefit users and the project?** +Explain how the proposed feature would enhance the user experience or project functionality. + +**Potential Use Cases:** +Provide examples of scenarios where this feature could be applied and bring value. + +## ๐ŸŽจ Additional Context + +**Additional context or screenshots:** +If you have any relevant images, sketches, or diagrams that help illustrate your idea, feel free to attach them here. + +**Implementation Thoughts:** +Share any initial thoughts on how this feature could be implemented, if you have any. + +--- + +**Note to Contributors:** + +If you'd like to contribute to the development of this feature, check out [CONTRIBUTING.md](https://github.com/mrayanasim09/python-projects/blob/main/CONTRIBUTING.md) for guidelines. Your creative ideas are highly appreciated! ๐ŸŽ‰ diff --git a/.github/ISSUE_TEMPLATE/ocumentation_mistake_template.md b/.github/ISSUE_TEMPLATE/ocumentation_mistake_template.md new file mode 100644 index 0000000..8c92aec --- /dev/null +++ b/.github/ISSUE_TEMPLATE/ocumentation_mistake_template.md @@ -0,0 +1,44 @@ +--- +name: "\U0001F4DA Report Documentation Mistake" +about: Found an error in the documentation? Let us know so we can improve it! +title: "[Documentation] Issue Title Here" +labels: bug, documentation +assignees: mrayanasim09 + +--- + +## ๐Ÿ“ Description + +**Describe the Mistake:** +A clear and concise description of the mistake you found in the repository's documentation. + +**Document Location:** +Please specify where the mistake can be found (e.g., file name, section, or page URL). + +## โœ… Suggested Correction + +**Suggest a Correction:** +If you have a suggestion for how to correct the mistake, please provide it here. + +## ๐Ÿ–ผ๏ธ Screenshots (if Applicable) + +**Screenshots:** +If applicable, add screenshots to help explain the mistake or provide visual context. + +## โ„น๏ธ Additional Information + +**Environment (if Relevant):** +If the mistake is related to a specific environment or context, please provide relevant details. + +## ๐Ÿ“‹ Checklist + +- [ ] I have searched the existing issues before creating a new one. +- [ ] I have ensured that this mistake has not been reported before. + +## ๐Ÿง‘โ€๐Ÿ’ป Your Information + +**Your GitHub Username:** +Please provide your GitHub username so we can get in touch if needed. + +**Additional Comments:** +Any additional comments or information you would like to share. diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..6401cbe --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "pip" # Specify the package ecosystem (for Python packages) + directory: "/" # Location of package manifests + schedule: + interval: "daily" + open-pull-requests-limit: 5 # Limit the number of open pull requests + reviewers: # Optional: Add reviewers for the pull requests + - "mrayanasim09" diff --git a/.github/workflows/datree-validation.yml b/.github/workflows/datree-validation.yml new file mode 100644 index 0000000..699638c --- /dev/null +++ b/.github/workflows/datree-validation.yml @@ -0,0 +1,54 @@ +name: Datree Workflow + +on: + push: + paths: + - '**/*.yaml' + - '**/*.yml' + pull_request: + types: [opened, edited, synchronize, reopened] + paths: + - '**/*.yaml' + - '**/*.yml' + +jobs: + configs-validation: + runs-on: ubuntu-latest + env: + DATREE_TOKEN: ${{ secrets.DATREE_TOKEN }} + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Get changed files + id: changed-files + uses: tj-actions/changed-files@v19 + with: + files: | + *.yaml + *.yml + + - name: List all changed files + run: echo ${{ steps.changed-files.outputs.all_changed_files }} + + - name: Install Datree's CLI + if: steps.changed-files.outputs.any_changed == 'true' + run: curl https://get.datree.io | /bin/bash -s + + # |=========================== Datree Policy Check ===================================| + # | Prevent Kubernetes misconfigurations from reaching production! | + # | Datree is a CLI tool to ensure K8s configs follow stability & security | + # | best practices as well as your organizationโ€™s policies. | + # | For more info visit: https://github.com/datreeio/datree | + # |===================================================================================| + + - name: Datree validate config files + if: steps.changed-files.outputs.any_changed == 'true' + uses: datreeio/action-datree@main # For more info about this Actions visit ๐Ÿ‘‰ https://github.com/datreeio/action-datree + with: + path: ${{ steps.changed-files.outputs.all_changed_files }} + cliArguments: --only-k8s-files + isHelmChart: false + isKustomization: false diff --git a/.github/workflows/depandant.yml b/.github/workflows/depandant.yml new file mode 100644 index 0000000..77a0c09 --- /dev/null +++ b/.github/workflows/depandant.yml @@ -0,0 +1,32 @@ +name: Dependabot Updates + +on: + push: + branches: + - '*' + +jobs: + dependabot: + runs-on: ubuntu-latest + + steps: + - name: Check out code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.11 + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Run Dependabot + run: | + curl https://api.github.com/repos/$GITHUB_REPOSITORY -o repo.json + curl -X POST https://api.github.com/repos/$GITHUB_REPOSITORY/dispatches \ + -H "Accept: application/vnd.github.everest-preview+json" \ + -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + -d '{"event_type": "dependabot"}' diff --git a/.github/workflows/lines.yml b/.github/workflows/lines.yml index ab8b209..eb08234 100644 --- a/.github/workflows/lines.yml +++ b/.github/workflows/lines.yml @@ -45,6 +45,14 @@ jobs: echo "::set-output name=yaml_lines::$yaml_lines" echo "::set-output name=yaml_files::$yaml_files" + - name: Count XML lines + id: count_xml_lines + run: | + xml_lines=$(find . -name '*.xml' | xargs cat | wc -l) + xml_files=$(find . -name '*.xml' | wc -l) + echo "::set-output name=xml_lines::$xml_lines" + echo "::set-output name=xml_files::$xml_files" + - name: Display results run: | echo "Total lines of Python code: ${{ steps.count_python_lines.outputs.python_lines }}" @@ -55,3 +63,10 @@ jobs: echo "Total lines of MD files: ${{ steps.count_md_lines.outputs.md_files }}" echo "Total lines of YAML code: ${{ steps.count_yaml_lines.outputs.yaml_lines }}" echo "Total lines of YAML files: ${{ steps.count_yaml_lines.outputs.yaml_files }}" + echo "Total lines of XML code: ${{ steps.count_xml_lines.outputs.xml_lines }}" + echo "Total lines of XML files: ${{ steps.count_xml_lines.outputs.xml_files }}" + + total_files=$((steps.count_python_lines.outputs.python_files + steps.count_txt_lines.outputs.txt_files + steps.count_md_lines.outputs.md_files + steps.count_yaml_lines.outputs.yaml_files + steps.count_xml_lines.outputs.xml_files)) + total_lines=$((steps.count_python_lines.outputs.python_lines + steps.count_txt_lines.outputs.txt_lines + steps.count_md_lines.outputs.md_lines + steps.count_yaml_lines.outputs.yaml_lines + steps.count_xml_lines.outputs.xml_lines)) + echo "Total number of files: $total_files" + echo "Total number of lines: $total_lines" diff --git a/.whitesource b/.whitesource deleted file mode 100644 index 9c7ae90..0000000 --- a/.whitesource +++ /dev/null @@ -1,14 +0,0 @@ -{ - "scanSettings": { - "baseBranches": [] - }, - "checkRunSettings": { - "vulnerableCheckRunConclusionLevel": "failure", - "displayMode": "diff", - "useMendCheckNames": true - }, - "issueSettings": { - "minSeverityLevel": "LOW", - "issueType": "DEPENDENCY" - } -} \ No newline at end of file diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..cf0cafc --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @mrayanasim09 @drik493 diff --git a/CONTRIBUTER.md b/CONTRIBUTER.md new file mode 100644 index 0000000..502ff2a --- /dev/null +++ b/CONTRIBUTER.md @@ -0,0 +1,15 @@ +# Contributors + +Thank you to the following individuals and bots for their contributions to the "python-projects" repository: + +- [mrayanasim09](https://github.com/mrayanasim09) +- [drik493](https://github.com/drik493) +- [imgbot](https://github.com/imgbot) +- [deepsource](https://github.com/deepsource) +- [dependabot](https://github.com/dependabot) +- [snyk-bot](https://github.com/snyk-bot) +- [actions-user](https://github.com/actions-user) +- [mend bolt for github](https://github.com/apps/mend-bolt-for-github) +- [datreeio](https://github.com/apps/datreeio) + +Your contributions help make this project better! :rocket: diff --git a/Calculator/__init__.py b/Calculator/__init__.py new file mode 100644 index 0000000..225df22 --- /dev/null +++ b/Calculator/__init__.py @@ -0,0 +1,17 @@ +import time +import ASCII +import Mortgage +import Quadratic_Equation +import bmi +import conject +import grade +import graph +import int_diff +import mega_calculator +import number_base +import roman_number +import sequence +import special_relativity_calculator +import stock +import sudoku +import time_calculator diff --git a/Calculator/12_to_24.py b/Calculator/time.py similarity index 100% rename from Calculator/12_to_24.py rename to Calculator/time.py diff --git a/GUI/__init__.py b/GUI/__init__.py new file mode 100644 index 0000000..cb92536 --- /dev/null +++ b/GUI/__init__.py @@ -0,0 +1,20 @@ +import A_basic_gui_calculator +import Form +import Pikachu +import Quiz +import clender +import clock +import doraemon +import file_explorer +import graphics +import happy_birth_day +import notepad +import paint +import rainbow +import search_applications +import snake_ladder +import spelling +import spinner +import tick_cross +import todo +import youtube_download diff --git a/Game/__init__.py b/Game/__init__.py new file mode 100644 index 0000000..ead22a0 --- /dev/null +++ b/Game/__init__.py @@ -0,0 +1,16 @@ +import blocks +import color_guessing +import colox +import dice +import hangman +import master_mid +import number_details +import number_guessing +import rock_paper_scisors +import snake_game +import snake_ladder +import star +import tick_cross +import tick_cross_gui +import twenty_one +import typing_speed diff --git a/Game/2048.py b/Game/blocks.py similarity index 100% rename from Game/2048.py rename to Game/blocks.py diff --git a/Game/rock,paper,scissors.py b/Game/rock_paper_scissors.py similarity index 100% rename from Game/rock,paper,scissors.py rename to Game/rock_paper_scissors.py diff --git a/Game/21.py b/Game/twenty_one.py similarity index 100% rename from Game/21.py rename to Game/twenty_one.py diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md index 85f3a5d..6bceb08 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/PULL_REQUEST_TEMPLATE.md @@ -1,16 +1,16 @@ -## Pull Request Description +# Pull Request Description - +โœจ Welcome to the Pull Request Zone! Let's make some magic happen. ## Related Issue - +๐Ÿ”— If this pull request is related to any issue, mention it here with the issue number and a brief description. Fixes #Issue_Number ## Proposed Changes - +๐Ÿ› ๏ธ List the changes introduced by this pull request in bullet points: - - @@ -18,11 +18,11 @@ Fixes #Issue_Number ## Additional Information - +๐Ÿ“ Add any additional information, context, or screenshots that might be helpful for reviewers. ## Checklist - +๐Ÿ“‹ Make sure to tick off the items that apply to this pull request: - [ ] I have tested my changes thoroughly and they do not introduce any new bugs - [ ] My code follows the project's coding conventions and style guidelines @@ -34,17 +34,21 @@ Fixes #Issue_Number ## Reviewers - +๐Ÿ‘ฅ Tag any specific team members or individuals for review, if applicable: @mrayanasim09 ## Readme Update -**Please note that the README.md file has been updated with the following content:** +๐Ÿ“– **Please note that the README.md file has been updated with the following content:** [Content of your README.md file] ## Documentation -**To view full documentation, please check the following link:** +๐Ÿ“˜ **To view the full documentation, please check the following link:** [Documentation Link](https://mrayans.gitbook.io/python--projects/) + +--- + +๐Ÿš€ Thank you for contributing! Your efforts make the project shine brighter! ๐ŸŒŸ diff --git a/README.md b/README.md index caa2db8..d577603 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # 80+ Python Projects by MRayan Asim ๐Ÿ๐Ÿš€ +

+ + Website Badge + +

+

My Logo

@@ -21,7 +27,7 @@ - [Note ๐Ÿ“Œ](#note-) - [FAQ ๐Ÿ—’๏ธ](#frequently-asked-questions-faq-%EF%B8%8F) -**๐Ÿš€ Welcome to the mesmerizing realm of the Python Projects repository, curated by MRayan Asim! Get ready to embark on an exhilarating coding odyssey, where a trove of captivating Python creations awaits to inspire and empower developers of all levels. Whether you're taking your first coding steps or you're a seasoned programmer crafting intricate algorithms, this repository serves as your gateway to a world of endless possibilities. Discover gems that boost your resume's brilliance and engage in student projects that foster learning. Uncover a wealth of resources, expert guidance, and hands-on code examples that breathe life into your Python-based projects. Join us on this thrilling journey as we unveil the extraordinary potential of Python together! ๐Ÿ’ก๐Ÿ”ฅ** +_**๐Ÿš€ Welcome to the mesmerizing realm of the Python Projects repository, curated by MRayan Asim! Get ready to embark on an exhilarating coding odyssey, where a trove of captivating Python creations awaits to inspire and empower developers of all levels. Whether you're taking your first coding steps or you're a seasoned programmer crafting intricate algorithms, this repository serves as your gateway to a world of endless possibilities. Discover gems that boost your resume's brilliance and engage in student projects that foster learning. Uncover a wealth of resources, expert guidance, and hands-on code examples that breathe life into your Python-based projects. Join us on this thrilling journey as we unveil the extraordinary potential of Python together! ๐Ÿ’ก๐Ÿ”ฅ**_

@@ -83,14 +89,14 @@ Explore the projects in each category to find detailed information, documentatio * [Fibonacci sequence](https://github.com/drik493/python\_projects/blob/main/Calculator/sequence.py) ๐Ÿ‡ * [Graph calculator from equation (with graph)](https://github.com/drik493/python\_projects/blob/main/Calculator/graph.py) ๐Ÿ“Š * [Montly Mortgage calculator](Calculator/Mortgage.py) ๐Ÿ“ˆ๐Ÿ’ด -* [12 hour time into 24 hour time](Calculator/12\_to\_24.py) ๐Ÿ•ฐ๏ธ๐Ÿ•› +* [12 hour time into 24 hour time](Calculator/time.py) ๐Ÿ•ฐ๏ธ๐Ÿ•› * [Grade calculator](https://github.com/drik493/python\_projects/blob/main/Calculator/grade.py) ๐ŸŽ“ * [Sudoku solver](https://github.com/drik493/python\_projects/blob/main/Calculator/sudukko.py) ๐Ÿงฉ * [A program to find the ASCII value of characters](Calculator/ASCII%20.py) ๐Ÿ’ป๐Ÿ”ง ## *Games ๐ŸŽฎ* -* [2048 game (without GUI)](https://github.com/drik493/python\_projects/blob/main/Game/2048.py) ๐ŸŽฒ +* [2048 game (without GUI)](https://github.com/drik493/python\_projects/blob/main/Game/blocks.py) ๐ŸŽฒ * [Snake game (with GUI)](https://github.com/drik493/python\_projects/blob/main/Game/snake\_game.py) ๐Ÿ * [Hangman](https://github.com/drik493/python\_projects/blob/main/Game/hangman.py) ๐Ÿช“ * [Colox (a box colliding game with GUI)](Game/colox.py) ๐Ÿ“ฆโ„๏ธ @@ -98,9 +104,9 @@ Explore the projects in each category to find detailed information, documentatio * [Master Mind](https://github.com/drik493/python\_projects/blob/main/Game/master\_mid.py) ๐Ÿ” * [A number details (prime, odd, co-prime, etc)](https://github.com/drik493/python\_projects/blob/main/Game/number\_details.py) ๐Ÿ”ข * Tick cross [(with GUI)](https://github.com/drik493/python\_projects/blob/main/Game/tick\_cross.py) or [(without GUI)](Game/tick\_cross\_gui.py) โŒโญ• -* [Rock, paper, and scissors (without GUI)](https://github.com/drik493/python\_projects/blob/main/Game/rock,paper,scissors.py) โœŠ๐Ÿ–โœŒ๏ธ +* [Rock, paper, and scissors (without GUI)](https://github.com/drik493/python\_projects/blob/main/Game/rock_paper_scissors.py) โœŠ๐Ÿ–โœŒ๏ธ * [A snake and ladder game ](Game/snake\_ladder.py)and [(also download the images with it)](Game/ezgif-5-ad15f112d4.gif) ๐Ÿ๐Ÿชœ -* [21 or 20 plus game](https://github.com/drik493/python\_projects/blob/main/Game/21.py) ๐Ÿƒ +* [21 or 20 plus game](https://github.com/drik493/python\_projects/blob/main/Game/twenty_one.py) ๐Ÿƒ * [Typing speed test](Game/typing\_speed.py) ๐ŸŽฎ * [Star patterns (7 types of patterns)](https://github.com/drik493/python\_projects/blob/main/Game/star.py) โœจ * [Dice rolling (With user guess without GUI)](https://github.com/drik493/python\_projects/blob/main/Game/dice.py) ๐ŸŽฒ @@ -277,7 +283,7 @@ If you find my Python projects valuable and would like to show your support, con ๐Ÿ™ Thank you for your incredible support! Your contributions inspire me to reach new heights and make a positive impact in the coding community. Let's create something amazing together! ๐ŸŒŸ -![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/mrayanasim09/python-projects) ![GitHub repo size](https://img.shields.io/github/repo-size/mrayanasim09/python-projects) ![GitHub top language](https://img.shields.io/github/languages/top/mrayanasim09/python-projects) ![GitHub contributors](https://img.shields.io/github/contributors-anon/mrayanasim09/python-projects) ![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Fmrayanasim09%2Fpython-projects\&label=Views\&countColor=%23555555\&style=flat-square) [![codebeat badge](https://codebeat.co/badges/6fdc6dd9-f8b4-4af7-82bf-5dfc44c69273)](https://codebeat.co/projects/proxy.fjygbaifeng.eu.org-mrayanasim09-python-projects-main) [![CodeFactor](https://www.codefactor.io/repository/github/mrayanasim09/python-projects/badge)](https://www.codefactor.io/repository/github/mrayanasim09/python-projects) [![DeepSource](https://app.deepsource.com/gh/mrayanasim09/python-projects.svg/?label=active+issues&show_trend=true&token=R4sWBGxzRPv6AjY4YoLiE-wT)](https://app.deepsource.com/gh/mrayanasim09/python-projects/?ref=repository-badge) [![Backup Status](https://cloudback.it/badge/mrayanasim09/python-projects)](https://cloudback.it) ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/mrayanasim09/python-projects/main) ![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/w/mrayanasim09/python-projects/main) ![GitHub release (with filter)](https://img.shields.io/github/v/release/mrayanasim09/python-projects) +![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/mrayanasim09/python-projects) ![GitHub repo size](https://img.shields.io/github/repo-size/mrayanasim09/python-projects) ![GitHub top language](https://img.shields.io/github/languages/top/mrayanasim09/python-projects) ![GitHub contributors](https://img.shields.io/github/contributors-anon/mrayanasim09/python-projects) ![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Fmrayanasim09%2Fpython-projects\&label=Views\&countColor=%23555555\&style=flat-square) [![codebeat badge](https://codebeat.co/badges/6fdc6dd9-f8b4-4af7-82bf-5dfc44c69273)](https://codebeat.co/projects/proxy.fjygbaifeng.eu.org-mrayanasim09-python-projects-main) [![CodeFactor](https://www.codefactor.io/repository/github/mrayanasim09/python-projects/badge)](https://www.codefactor.io/repository/github/mrayanasim09/python-projects) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/5e95c16a41304ba4bbd6b4f044309dbf)](https://app.codacy.com/gh/mrayanasim09/python-projects/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![DeepSource](https://app.deepsource.com/gh/mrayanasim09/python-projects.svg/?label=active+issues&show_trend=true&token=R4sWBGxzRPv6AjY4YoLiE-wT)](https://app.deepsource.com/gh/mrayanasim09/python-projects/?ref=repository-badge) [![Backup Status](https://cloudback.it/badge/mrayanasim09/python-projects)](https://cloudback.it) ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/mrayanasim09/python-projects/main) ![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/w/mrayanasim09/python-projects/main) [![CircleCI](https://dl.circleci.com/status-badge/img/gh/mrayanasim09/python-projects/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/mrayanasim09/python-projects/tree/main) ![GitHub release (with filter)](https://img.shields.io/github/v/release/mrayanasim09/python-projects) [![CodeQL](https://github.com/mrayanasim09/python-projects/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/mrayanasim09/python-projects/actions/workflows/github-code-scanning/codeql) [![Python Syntax Error Founder](https://github.com/mrayanasim09/python-projects/actions/workflows/bandit.yml/badge.svg)](https://github.com/mrayanasim09/python-projects/actions/workflows/bandit.yml) ## *To View full Documentations you can go [here](https://mrayans.gitbook.io/python--projects/)* @@ -285,3 +291,5 @@ If you find my Python projects valuable and would like to show your support, con + + diff --git a/Utilities/__init__.py b/Utilities/__init__.py new file mode 100644 index 0000000..3f946d7 --- /dev/null +++ b/Utilities/__init__.py @@ -0,0 +1,19 @@ +import brithday +import broswer +import btc +import connectivity +import count_down +import github +import google +import insta +import network +import password +import password_hash +import password_manager +import passwrd_generator +import secert_code +import short_form +import transfer +import url +import whatsapp_spam +import word_count diff --git a/code_of_conduct.md b/code_of_conduct.md index cb8c4f8..260cb91 100644 --- a/code_of_conduct.md +++ b/code_of_conduct.md @@ -1,77 +1,75 @@ -# Contributor Covenant Code of Conduct -## Our Pledge +

+

Contributor Covenant Code of Conduct

+
-We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. +## ๐ŸŒŸ Our Commitment -We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. +We, as members, contributors, and leaders, pledge to create a safe, respectful, and inclusive environment for all individuals, regardless of background, identity, or experience. We value diversity and strive to foster a community where everyone feels empowered and heard. -## Our Standards +## ๐Ÿš€ Our Standards -Examples of behavior that contributes to a positive environment for our community include: +We believe in building a positive community where all members thrive. Examples of positive behaviors include: -* Demonstrating empathy and kindness toward other people -* Being respectful of differing opinions, viewpoints, and experiences -* Giving and gracefully accepting constructive feedback -* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience -* Focusing on what is best not just for us as individuals, but for the overall community +- Showing empathy and kindness towards others +- Respecting diverse opinions and experiences +- Giving and receiving constructive feedback graciously +- Taking responsibility for our actions and learning from them +- Prioritizing the well-being of the community as a whole -Examples of unacceptable behavior include: +Unacceptable behaviors include: -* The use of sexualized language or imagery, and sexual attention or advances of any kind -* Trolling, insulting or derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or email address, without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a professional setting +- Use of derogatory or discriminatory language +- Harassment, trolling, or personal attacks +- Sharing private information without consent +- Any behavior that disrupts a safe and respectful environment -## Enforcement Responsibilities +## ๐ŸŒˆ Enforcement Responsibilities -Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. +Community leaders are responsible for upholding our standards and maintaining a welcoming atmosphere. They have the authority to address inappropriate behavior and take appropriate action. -Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate. +Leaders will ensure fair treatment and communicate reasons for moderation decisions. -## Scope +## ๐Ÿ”Ž Scope -This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. +This Code of Conduct applies to all community spaces, both online and offline. When representing our community, whether officially or unofficially, we expect individuals to uphold these values. -## Enforcement +## โš™๏ธ Enforcement -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at mrayanasim09@gmail.com. All complaints will be reviewed and investigated promptly and fairly. +To report incidents or inappropriate behavior, contact the community leaders at mrayanasim09@gmail.com. Your privacy and security will be respected throughout the process. -All community leaders are obligated to respect the privacy and security of the reporter of any incident. +## ๐Ÿ“œ Enforcement Guidelines -## Enforcement Guidelines +Our enforcement process follows these guidelines: -Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct: +### 1. Education -### 1. Correction +**Impact**: Use of inappropriate language or behavior. -**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. - -**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested. +**Consequence**: A private message providing education about the violation and its impact. ### 2. Warning -**Community Impact**: A violation through a single incident or series of actions. +**Impact**: Violation through a single incident or actions. -**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban. +**Consequence**: A written warning from leaders, with clear communication about the violation. -### 3. Temporary Ban +### 3. Temporary Suspension -**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. +**Impact**: Serious or repeated violations. -**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. +**Consequence**: A temporary suspension from community participation, allowing time for reflection. ### 4. Permanent Ban -**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. +**Impact**: Severe violation or ongoing misconduct. -**Consequence**: A permanent ban from any sort of public interaction within the community. +**Consequence**: A permanent ban from community participation. -## Attribution +## ๐Ÿ™Œ Attribution -This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.0, available at https://www.contributor-covenant.org/version/2/0/code\_of\_conduct.html. +This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.0, available at [this link](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html). -Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity). +The enforcement approach is inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity). -For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations. +For frequently asked questions about this code of conduct, visit the [FAQ](https://www.contributor-covenant.org/faq). Translations are available [here](https://www.contributor-covenant.org/translations). diff --git a/machine_learning/__init__.py b/machine_learning/__init__.py new file mode 100644 index 0000000..1c2f56d --- /dev/null +++ b/machine_learning/__init__.py @@ -0,0 +1,10 @@ +import brightness_controllor +import camera +import crypto_prices +import eye_blink +import gold_price +import lang_dect +import sentiments +import sketch +import spam_dect +import text_to_speech diff --git a/security.md b/security.md index b76b056..8fb8b23 100644 --- a/security.md +++ b/security.md @@ -1,55 +1,47 @@ -# Security Policy +# Security Policy ๐Ÿ”’ -## Supported Versions +## Supported Versions ๐Ÿ›ก๏ธ -Use this section to tell people about which versions of your project are currently being supported with security updates. +Stay informed about the versions of your project that currently receive security updates. -| Version | Supported | -| ------- | -------------------- | -| 5.1.x | :white\_check\_mark: | -| 5.0.x | :x: | -| 4.0.x | :white\_check\_mark: | -| < 4.0 | :x: | +| Version | Support | +| --------- | -------------------- | +| v0.0.1 | โŒ Not Supported | +| v0.0.2 | โŒ Not Supported | +| v0.0.3 | โœ… Supported | +| v0.0.4 | โœ… Supported | -## Reporting a Vulnerability +## Reporting a Vulnerability ๐Ÿšจ -Use this section to tell people how to report a vulnerability. +Help us enhance security by reporting vulnerabilities in the "python-projects" repository owned by "mrayanasim". To report a vulnerability, create an issue [here](https://github.com/mrayanasim09/python-projects/issues). Your responsible disclosure is crucial. -Tell them where to go, how often they can expect to get an update on a reported vulnerability, what to expect if the vulnerability is accepted or declined, etc. +When reporting a vulnerability, kindly include: -## Reporting a Vulnerability +- **Description**: Clear and concise details of the vulnerability. +- **Steps to Reproduce**: The steps to replicate the vulnerability. +- **Expected Behavior**: Your anticipated outcome. +- **Actual Behavior**: The actual outcome experienced. +- **Affected Versions**: Indicate impacted versions. +- **Impact**: Assess potential consequences. -Use this section to instruct people on how to report a vulnerability. +We commit to swift acknowledgment and review of your report within [X business days]. Our team may seek additional information if necessary. -If you discover a security vulnerability in the "python-projects" repository owned by "mrayanasim", please report it to us by creating a new issue [here](https://github.com/mrayanasim09/python-projects/issues) and including detailed information about the vulnerability. We appreciate your responsible disclosure and will address the issue as quickly as possible. +## Vulnerability Response ๐Ÿ› ๏ธ -When reporting a vulnerability, please include the following information: +Promptly addressing vulnerabilities is a priority. Severity guides our response. Updates on progress and resolution timelines will be provided regularly. -* Description: A clear and concise description of the vulnerability. -* Steps to Reproduce: Provide the steps necessary to reproduce the vulnerability. -* Expected Behavior: Describe what you expected to happen when following the steps. -* Actual Behavior: Explain what actually happened when following the steps. -* Affected Versions: Specify which versions of the project are affected by the vulnerability. -* Impact: Assess the potential impact of the vulnerability. +Accepted vulnerabilities lead to developing patches or security updates. Once ready, a new version will address reported vulnerabilities. -We are committed to maintaining open communication with the security community and will acknowledge your report within \[X business days]. Our team will review the vulnerability and may request additional information or clarifications if needed. +Out-of-scope vulnerabilities will be explained. Please note that addressing all reports may not be feasible if they fall beyond our project's scope. -## Vulnerability Response +We value the security community's contribution to safeguarding our users. Thank you for your efforts! ๐Ÿ‘ -Once a vulnerability is reported, we will evaluate it promptly and prioritize our response based on the severity and impact of the vulnerability. We will strive to provide regular updates on the progress of the vulnerability fix and an estimated timeline for its resolution. +## Security Updates ๐Ÿš€ -If the vulnerability is accepted, we will work on developing and implementing a patch or a security update. Once the fix is available, we will release a new version that addresses the reported vulnerability. +Ensure project security by staying updated. Regularly check the "python-projects" releases page owned by "mrayanasim" for updates. Follow the instructions in the release notes for upgrades. -If the vulnerability is deemed out of scope, we will notify you and explain the reason for the decision. Please note that we may not be able to address every reported vulnerability if it falls outside the scope of our project. +Note that outdated versions may lack security updates and are vulnerable to known exploits. Upgrade to a supported version for security. -We value the security community's contribution to improving the security of our project and appreciate your efforts in keeping our users safe. Thank you for your help! +**Note: Tailor this security policy template to your project's specific needs.** -## Security Updates -As security vulnerabilities are addressed and fixes become available, we strongly recommend keeping your project up to date with the latest version. This ensures that you have the latest security enhancements and protections. - -Make sure to regularly check the releases page of the "python-projects" repository owned by "mrayanasim" for updates and follow the upgrade instructions provided in the release notes. - -Please note that older versions of the project may no longer receive security updates and could be vulnerable to known exploits. It is advisable to upgrade to a supported version to maintain a secure environment. - -**Note: This security policy template is intended as a starting point and should be tailored to fit your specific project and processes.**