Skip to main content

A simple library for working with pac files.

Project description

pygopac

A simple library for working with pac files.

Examples

import gopac

path = gopac.download_pac_file('https://host.com/proxy.pac')
proxy = gopac.find_proxy(path, 'https://www.some-site.com')

You can find other usage examples in the "examples" folder.

Build wheel

Requirements:

  • python
  • golang >= 1.20 (The path to the executable file go should be in the PATH environment variable. If the go version command is executed without errors, then everything is correctly configured.)
  • access to the internet

Build dist using standard tools:

make build-dist

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygopac-0.5.0.tar.gz (7.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page