{"id":22549294,"url":"https://github.com/aarindave/ready_code","last_synced_at":"2025-03-28T09:25:15.111Z","repository":{"id":181073439,"uuid":"448149639","full_name":"aarindave/ready_code","owner":"aarindave","description":"ready_code is a Python module to help Python developers develop their applications easily. This module promotes simplicity, readability, and reusable code.","archived":false,"fork":false,"pushed_at":"2022-07-26T20:23:08.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-07T16:08:25.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aarindave.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}},"created_at":"2022-01-15T01:05:38.000Z","updated_at":"2022-07-16T02:45:13.000Z","dependencies_parsed_at":"2023-07-13T23:36:31.126Z","dependency_job_id":null,"html_url":"https://github.com/aarindave/ready_code","commit_stats":null,"previous_names":["gamerlots/ready_code","aarindave/ready_code"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarindave%2Fready_code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarindave%2Fready_code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarindave%2Fready_code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarindave%2Fready_code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aarindave","download_url":"https://codeload.github.com/aarindave/ready_code/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236777977,"owners_count":19203123,"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":[],"created_at":"2024-12-07T16:08:28.618Z","updated_at":"2025-02-02T10:14:54.558Z","avatar_url":"https://github.com/aarindave.png","language":"Python","readme":"# ready_code\nready_code is a Python module to help Python developers develop their applications easily. This module promotes simplicity, readability, and reusable code.\n\n## Overview of Functions\n\n### `close_files(*files)`\n\nThis function closes multiples files at the same time.\n\n#### Example\n\n```python\nfile_1 = open(\"file_1.txt\")\nfile_2 = open(\"file_2.txt\", \"a\")\nfile_3 = open(\"file_3.txt\")\n\nclose_files(file_1, file_2)\n\nfile_4 = open(\"file_4.txt\", \"w\")\nfile_5 = open(\"file_5.txt\", \"r+\")\n\nclose_files(file_3, file_4, file_5)\n```\n\n\n### `get_keys(dictionary, value)`\n\nThis function gets the keys, of a dictionary, with a particular value.\n\n#### Example\n\n```python\navailable_items = {\"Apple\": 4.99, \"Banana\": 4.99, \"Cabbage\": 12.99, \"Dates\": 9.99, \"Eggplants\": 10.99}\n\nfive_dollar_items = get_keys(available_items, 4.99)\n```\n\n### `file_exists(file, iterable=[])`\n\nThis function finds if a give files exists within a folder.\n\n#### Example\n\n```python\ncode_exists = file_exists(\"ready_code.py\")\n\nprint(code_exists)\n```\n\n## Contact Us\n\nDo you have any suggestions, questions, comments, or concerns? Reach out to the developer with aarindave@gmail.com!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faarindave%2Fready_code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faarindave%2Fready_code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faarindave%2Fready_code/lists"}