{"id":21946365,"url":"https://github.com/shaleh/pac-info","last_synced_at":"2026-01-31T09:33:10.300Z","repository":{"id":147633471,"uuid":"54502457","full_name":"shaleh/pac-info","owner":"shaleh","description":"Simple tool to read PAC files and determine which proxy to use for a given URL","archived":false,"fork":false,"pushed_at":"2016-08-05T17:35:37.000Z","size":4,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T01:41:24.335Z","etag":null,"topics":["automation","proxy-settings","python"],"latest_commit_sha":null,"homepage":null,"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/shaleh.png","metadata":{"files":{"readme":"README.adoc","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":"2016-03-22T19:19:30.000Z","updated_at":"2021-09-19T17:38:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"cfeb9168-cc83-4505-aeeb-0c43f66b343c","html_url":"https://github.com/shaleh/pac-info","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shaleh/pac-info","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaleh%2Fpac-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaleh%2Fpac-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaleh%2Fpac-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaleh%2Fpac-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaleh","download_url":"https://codeload.github.com/shaleh/pac-info/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaleh%2Fpac-info/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28936192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T08:53:31.997Z","status":"ssl_error","status_checked_at":"2026-01-31T08:51:38.521Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["automation","proxy-settings","python"],"created_at":"2024-11-29T04:30:58.339Z","updated_at":"2026-01-31T09:33:10.279Z","avatar_url":"https://github.com/shaleh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"= PAC Info Tool\n\nSimple tools that use a PAC footnote:[https://en.wikipedia.org/wiki/Proxy_auto-config] file to determine what the proper proxy is for a given URL.\n\nTo install:\n\n 1. git clone https://github.com/pacparser/pacparser\n 1. cd pacparser\n 1. make -C src; sudo make -C src install\n 1. make -C src pymod; sudo make -C src install-pymod\n 1. cd pac-info\n 1. pip install -r requirements.txt\n\nThis will ensure the needed libraries are installed. Then you can copy the scripts to some place\nin your `PATH` or just run them from the checkout. Don't forget to ensure they are `chmod +x`.\n\npac-info will retrieve the PAC file and tell you the PROXY used for a given domain. This is useful for setting up NO_PROXY for example.\nYou can use a tool like wget to retrieve the PAC file from the autocache site and use `--pac-file` instead of downloading the file each time.\n\n```\n$ pac-info --pac-url http://PROXY_AUTOCACHE google.com\n$ pac-info --pac-url http://PROXY_AUTOCACHE some.internalsite.example.com  # should be DIRECT and belongs in NO_PROXY\n```\n\ngen-proxy-env will output the needed proxy settings in a format ready for /etc/environment. It too can use `--pac-file`.\n\nExample how to use it:\n\n```\n$ gen-proxy-env --pac-url http://PROXY_AUTOCACHE google.com\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaleh%2Fpac-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaleh%2Fpac-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaleh%2Fpac-info/lists"}