{"id":21171417,"url":"https://github.com/faizan35/python-imp-codes","last_synced_at":"2025-03-14T17:25:57.259Z","repository":{"id":209995402,"uuid":"725448419","full_name":"faizan35/Python-imp-codes","owner":"faizan35","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-14T12:04:43.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T10:51:15.252Z","etag":null,"topics":["python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faizan35.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-30T06:53:35.000Z","updated_at":"2024-02-29T08:34:12.000Z","dependencies_parsed_at":"2025-01-21T10:44:18.566Z","dependency_job_id":"6c665dd5-90f0-482a-8452-2c9f41205cd9","html_url":"https://github.com/faizan35/Python-imp-codes","commit_stats":null,"previous_names":["faizan35/python-imp-codes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faizan35%2FPython-imp-codes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faizan35%2FPython-imp-codes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faizan35%2FPython-imp-codes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faizan35%2FPython-imp-codes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faizan35","download_url":"https://codeload.github.com/faizan35/Python-imp-codes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243617274,"owners_count":20320042,"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":["python"],"created_at":"2024-11-20T16:05:19.665Z","updated_at":"2025-03-14T17:25:57.234Z","avatar_url":"https://github.com/faizan35.png","language":"Python","readme":"# Python Codes\n\n## Clone Repo\n```bash\ngit clone https://github.com/faizan35/Python-imp-codes.git\n```\n\n## Contents\n\n- [Python Codes](#python-codes)\n  - [Contents](#contents)\n  - [Clone Files Script - `clone-files-in-txt.py`](#clone-files-script---clone-files-in-txtpy)\n    - [Usage](#usage)\n  - [Print Directory Structure Script - `print-dir-structure.py`](#print-directory-structure-script---print-dir-structurepy)\n    - [Usage](#usage-1)\n\n## Clone Files Script - `clone-files-in-txt.py`\n\nThis script recursively clones files in a directory to a specified output directory. It reads the content of each file and writes it to a separate text file in the output directory.\n\n#### Usage\n\n1. Replace `'paste-your-path-here'` and `'paste-your-output-path-here'` with the actual paths.\n2. Uncomment the line to skip `.css` files if needed.\n3. Run the script:\n\n   ```bash\n   python clone-files-in-txt.py\n   ```\n\n## Print Directory Structure Script - `print-dir-structure.py`\n\nThis script prints the directory structure in a tree-like format. It uses box-drawing characters for better visualization and handles `PermissionError` while listing directory entries.\n\n#### Usage\n\n1. Replace `'paste-your-path-here'` with the actual root directory path.\n2. Run the script:\n\n   ```bash\n   python print-dir-structure.py\n   ```\n\nMake sure to have the necessary permissions for the specified directories.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaizan35%2Fpython-imp-codes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaizan35%2Fpython-imp-codes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaizan35%2Fpython-imp-codes/lists"}