{"id":16576390,"url":"https://github.com/kiwi0fruit/shutilwhich-cwdpatch","last_synced_at":"2025-09-07T07:37:19.762Z","repository":{"id":57466983,"uuid":"173046134","full_name":"kiwi0fruit/shutilwhich-cwdpatch","owner":"kiwi0fruit","description":"Patch for shutil.which and shutilwhich that disables search in CWD on Windows","archived":false,"fork":false,"pushed_at":"2019-03-01T10:27:15.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-16T16:42:27.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kiwi0fruit.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}},"created_at":"2019-02-28T05:22:07.000Z","updated_at":"2019-03-01T10:27:17.000Z","dependencies_parsed_at":"2022-09-10T02:01:15.885Z","dependency_job_id":null,"html_url":"https://github.com/kiwi0fruit/shutilwhich-cwdpatch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwi0fruit%2Fshutilwhich-cwdpatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwi0fruit%2Fshutilwhich-cwdpatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwi0fruit%2Fshutilwhich-cwdpatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwi0fruit%2Fshutilwhich-cwdpatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiwi0fruit","download_url":"https://codeload.github.com/kiwi0fruit/shutilwhich-cwdpatch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242097388,"owners_count":20071251,"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-10-11T22:08:04.783Z","updated_at":"2025-03-05T19:46:59.399Z","avatar_url":"https://github.com/kiwi0fruit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shutilwhich-cwdpatch\n\nPatch for `shutil.which` and `shutilwhich` that doesn't prepend CWD in search on Windows.\n\n\n# Install\n\n```bash\nconda install -c defaults -c conda-forge shutilwhich-cwdpatch\n```\n\nor\n\n```bash\npip install shutilwhich-cwdpatch\n```\n\n\n# Usage:\n\nSimply import `patch` submodule before importing `shutil.which` or `shutilwhich` to patch them:\n\n```py\nimport shutilwhich_cwdpatch.patch\nfrom shutil import which\n```\n\nOr use `which` without patching:\n\n```py\nfrom shutilwhich_cwdpatch import which\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiwi0fruit%2Fshutilwhich-cwdpatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiwi0fruit%2Fshutilwhich-cwdpatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiwi0fruit%2Fshutilwhich-cwdpatch/lists"}