{"id":19337859,"url":"https://github.com/mrarvind90/python-projects","last_synced_at":"2025-06-13T21:34:29.371Z","repository":{"id":194049729,"uuid":"689998000","full_name":"mrarvind90/python-projects","owner":"mrarvind90","description":"Python projects made for the freeCodeCamp Scientific Computing with Python Certification.","archived":false,"fork":false,"pushed_at":"2023-09-11T14:05:22.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T08:15:50.121Z","etag":null,"topics":["freecodecamp-certification","freecodecamp-python","python3","scientific-computing-with-python"],"latest_commit_sha":null,"homepage":"https://www.freecodecamp.org/learn/scientific-computing-with-python#python-for-everybody","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrarvind90.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-11T10:39:38.000Z","updated_at":"2023-09-11T11:30:01.000Z","dependencies_parsed_at":"2025-02-24T08:16:00.026Z","dependency_job_id":"10b4afca-2602-41ea-ba1d-3b6f920aa29d","html_url":"https://github.com/mrarvind90/python-projects","commit_stats":null,"previous_names":["mrarvind90/python-projects"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrarvind90/python-projects","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrarvind90%2Fpython-projects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrarvind90%2Fpython-projects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrarvind90%2Fpython-projects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrarvind90%2Fpython-projects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrarvind90","download_url":"https://codeload.github.com/mrarvind90/python-projects/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrarvind90%2Fpython-projects/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259723665,"owners_count":22901949,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["freecodecamp-certification","freecodecamp-python","python3","scientific-computing-with-python"],"created_at":"2024-11-10T03:15:39.887Z","updated_at":"2025-06-13T21:34:29.343Z","avatar_url":"https://github.com/mrarvind90.png","language":"Python","readme":"# Scientific Computing with Python\n\n## About the Projects\nThis repository contains my solutions to the projects in \"Scientific Computing with Python\" course from freeCodeCamp.\n\n## Project list:\n- [Arithmetic Formatter](#arithmetic-formatter)\n- [Time Calculator](#time-calculator)\n- [Budget App](#budget-app)\n- [Polygon Area Calculator](#polygon-area-calculator)\n- [Probability Calculator](#probability-calculator)\n\n## Arithmetic Formatter\nA Python program that provides a function for formatting a list of arithmetic problems vertically and side-by-side. Optionally, it can display the answers alongside the problems.\n\n### Example\nFunction Call:\n\n```python\narithmetic_arranger([\"32 + 698\", \"3801 - 2\", \"45 + 43\", \"123 + 49\"])\n```\n\nOutput:\n```\n   32      3801      45      123\n+ 698    -    2    + 43    +  49\n-----    ------    ----    -----\n```\n\nFunction Call:\n\n```python\narithmetic_arranger([\"32 + 8\", \"1 - 3801\", \"9999 + 9999\", \"523 - 49\"], True)\n```\n\nOutput:\n```\n  32         1      9999      523\n+  8    - 3801    + 9999    -  49\n----    ------    ------    -----\n  40     -3800     19998      474\n```\n\nSee all the requirements at [FreeCodeCamp](https://www.freecodecamp.org/learn/scientific-computing-with-python/scientific-computing-with-python-projects/arithmetic-formatter)\n\nYou can try my code at [Replit](https://replit.com/@mrarvind90/arithmetic-formatter?v=1)\n\n## Time Calculator\nA Python program to add time to a 12-hour clock format, with optional day of the week support.\n\n### Example\nFunction Call:\n\n```python\nadd_time(\"3:00 PM\", \"3:10\")\n# Returns: 6:10 PM\n\nadd_time(\"11:30 AM\", \"2:32\", \"Monday\")\n# Returns: 2:02 PM, Monday\n\nadd_time(\"11:43 AM\", \"00:20\")\n# Returns: 12:03 PM\n\nadd_time(\"10:10 PM\", \"3:30\")\n# Returns: 1:40 AM (next day)\n\nadd_time(\"11:43 PM\", \"24:20\", \"tueSday\")\n# Returns: 12:03 AM, Thursday (2 days later)\n\nadd_time(\"6:30 PM\", \"205:12\")\n# Returns: 7:42 AM (9 days later)\n```\n\nSee all the requirements at [FreeCodeCamp](https://www.freecodecamp.org/learn/scientific-computing-with-python/scientific-computing-with-python-projects/time-calculator)\n\nYou can try my code at [Replit](https://replit.com/@mrarvind90/time-calculator?v=1)\n\n## Budget App\nA Python program to initialise a budget category object which allows depositing, withdrawing, as well as transferring funds to another budget category object.\n\nAdditionally, it can also return a formatted string representation of the category ledger as well as creating visual charts that depict the percentage of spending in each category.\n\n### Example\nHere is an example of the output when printing out the `Category` object:\n\n```\n*************Food*************\ninitial deposit        1000.00\ngroceries               -10.15\nrestaurant and more foo -15.89\nTransfer to Clothing    -50.00\nTotal: 923.96\n```\nHere is an example of the output when printing out `Percentage spent by category` chart:\n\n```\nPercentage spent by category\n100|          \n 90|          \n 80|          \n 70|          \n 60| o        \n 50| o        \n 40| o        \n 30| o        \n 20| o  o     \n 10| o  o  o  \n  0| o  o  o  \n    ----------\n     F  C  A  \n     o  l  u  \n     o  o  t  \n     d  t  o  \n        h     \n        i     \n        n     \n        g \n```\n\nSee all the requirements at [FreeCodeCamp](https://www.freecodecamp.org/learn/scientific-computing-with-python/scientific-computing-with-python-projects/budget-app)\n\nYou can try my code at [Replit](https://replit.com/@mrarvind90/budget-app?v=1)\n\n\n## Polygon Area Calculator\nA Python project with a Rectangle class and a Square class, showcasing object-oriented programming. The Rectangle class handles width, height, area, perimeter, diagonal, picture representation, and fitting calculations. The Square class, a subclass of Rectangle, adds single-side handling and method access while maintaining string representation integrity.\n\n### Example\nFunction Call:\n\n```python\nrect = shape_calculator.Rectangle(10, 5)\nprint(rect.get_area()) # Returns: 50\n\nrect.set_height(3)\nprint(rect.get_perimeter()) # Returns: 26\nprint(rect) # Returns: Rectangle(width=10, height=3)\n\n\"\"\"\nReturns: \n\n**********\n**********\n**********\n\n\"\"\"\nprint(rect.get_picture())\n\n\nsq = shape_calculator.Square(9)\nprint(sq.get_area()) # Returns: 81\n\nsq.set_side(4)\nprint(sq.get_diagonal()) # Returns: 5.656854249492381\nprint(sq) # Returns: Square(side=4)\n\n\"\"\"\nReturns: \n\n****\n****\n****\n****\n\n\"\"\"\nprint(sq.get_picture()) # Returns:\n\nrect.set_height(8)\nrect.set_width(16)\nprint(rect.get_amount_inside(sq))\n```\n\nSee all the requirements at [FreeCodeCamp](https://www.freecodecamp.org/learn/scientific-computing-with-python/scientific-computing-with-python-projects/polygon-area-calculator)\n\nYou can try my code at [Replit](https://replit.com/@mrarvind90/polygon-area-calculator?v=1)\n\n## Probability Calculator\nA Python program to calculate the probability of drawing M number of matching colors over N iteration\n\n\nSee all the requirements at [FreeCodeCamp](https://www.freecodecamp.org/learn/scientific-computing-with-python/scientific-computing-with-python-projects/probability-calculator)\n\nYou can try my code at [Replit](https://replit.com/@mrarvind90/probability-calculator?v=1)\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrarvind90%2Fpython-projects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrarvind90%2Fpython-projects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrarvind90%2Fpython-projects/lists"}