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

Metadata

Release files for pygopac 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygopac 0.5.0
File Size Uploaded Provenance Actions
pygopac-0.5.0.tar.gz 7.3 kB Without provenance Details for pygopac-0.5.0.tar.gz

Release files / pygopac-0.5.0.tar.gz

Download URL pygopac-0.5.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a7af77b0cabfa18d17609e604048b4b24dd65510e8370b050ac66f23bd6a12d6
BLAKE2b-256 checksum
How to use checksums
e1f03c69689c35f4facfc775dbd1942b2b55319ef272d6ed897ca1319bceea3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.4.9 CPython/3.11.2

Security for pygopac 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file No provenance

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