{"id":21945292,"url":"https://github.com/wintersolid/py_keysearch","last_synced_at":"2025-03-22T16:23:14.316Z","repository":{"id":229706682,"uuid":"777436256","full_name":"WinterSolid/Py_KeySearch","owner":"WinterSolid","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-25T22:48:06.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-29T04:18:09.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/WinterSolid.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}},"created_at":"2024-03-25T21:06:27.000Z","updated_at":"2024-03-25T21:13:46.000Z","dependencies_parsed_at":"2024-03-25T22:27:00.044Z","dependency_job_id":"f099c2d7-2a22-452a-b309-1e1b4eeb72cb","html_url":"https://github.com/WinterSolid/Py_KeySearch","commit_stats":null,"previous_names":["wintersolid/py_keysearch"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinterSolid%2FPy_KeySearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinterSolid%2FPy_KeySearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinterSolid%2FPy_KeySearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinterSolid%2FPy_KeySearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WinterSolid","download_url":"https://codeload.github.com/WinterSolid/Py_KeySearch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235895072,"owners_count":19062345,"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-11-29T04:18:10.782Z","updated_at":"2025-01-27T17:41:01.291Z","avatar_url":"https://github.com/WinterSolid.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Py_KeySearch\n\n## About\nThis code defines a function search_keywords_in_files that searches for a set of keywords in all files within a specified directory. \nIt returns a list of tuples containing the filename, line number, and line content where each keyword is found.\n\n## To use this code\n- replace '/path/to/your/files' with the directory containing the files you want to search in, and {'keyword1', 'keyword2', 'keyword3'} with the set of keywords you want to search for.\n\nWhen you run this script, it will print out each occurrence of the keywords along with the filename and line number where they were found.\n\n\n\n## To run the search_keywords_in_files script, you need to follow these steps:\n\n- Save the Script: First, save the Python script containing the search_keywords_in_files function to a file\nNavigate to the Directory Containing Your Script: Open a Terminal or Command Prompt and navigate to the directory containing keyword_search.py using the cd command.\nRun the Script: Once you're in the correct directory, you can run the Python script by typing:\n\n\u003e\u003e python keyword_search.py\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwintersolid%2Fpy_keysearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwintersolid%2Fpy_keysearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwintersolid%2Fpy_keysearch/lists"}