Skip to main content

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

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.

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 file

0.4.0

1 file

0.3.0

1 file

0.2.0

1 file

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page