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 details)

Uploaded Source

File details

Details for the file pygopac-0.5.0.tar.gz.

File metadata

  • Download URL: pygopac-0.5.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.4.9 CPython/3.11.2

File hashes

Hashes for pygopac-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a7af77b0cabfa18d17609e604048b4b24dd65510e8370b050ac66f23bd6a12d6
MD5 d790fb1ed8a3eceb3dc64b2edb15395c
BLAKE2b-256 e1f03c69689c35f4facfc775dbd1942b2b55319ef272d6ed897ca1319bceea3e

See more details on using hashes here.

Supported by

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