Which environments does gcovr support? Python: 2.7 and 3.5+. The automated tests run on CPython 2.7, 3.5, and 3.7, and PyPy 2.7 and 3.5. Starting in 2020, gcovr will only run on Python versions with upstream support. Last gcovr release for old Python versions. Platform support for Python 2 will wane. Tauthon is a fork of Python 2.7.18 “with new syntax, built-ins, and libraries backported from Python 3.x,” according to the project’s README.
For most Unix systems, you must download and compile the source code. The same source code archive can also be used to build the Windows and Mac versions, and is the starting point for ports to all other platforms.
Released:
Proxy auto-config and auto-discovery for Python.
Project description
PyPAC is a Python library for finding proxy auto-config (PAC) files and making HTTP requeststhat respect them. PAC files are often used in organizations that need fine-grained and centralized controlof proxy settings.
PyPAC provides a subclass of a RequestsSession,so you can start using it immediately, with any PAC file transparently discovered and honoured:
If a PAC file isn’t found, then PACSession acts exactly like a regular Session.
PyPAC can find PAC files according to the DNS portion of the Web Proxy Auto-Discovery (WPAD) protocol.On Windows, PyPAC can also obtain the PAC file URL from the Internet Options dialog, via the registry.On macOS, PyPAC can obtain the PAC file URL from System Preferences.
If you’re looking to add basic PAC functionality to a library that you’re using,try the pac_context_for_url() context manager:
This sets up proxy environment variables at the start of the scope, based on any auto-discovered PAC and the given URL.pac_context_for_url() should work for any librarythat honours proxy environment variables.
Features
- The same Requests API that you already know and love
- Honour PAC setting from Windows Internet Options and macOS System Preferences
- Follow DNS Web Proxy Auto-Discovery protocol
- Proxy authentication pass-through
- Proxy failover and load balancing
- Generic components for adding PAC support to other code
PyPAC supports Python 2.7 and 3.4+.
Documentation
PyPAC’s documentation is available at http://pypac.readthedocs.io/.
0.13.0 (2019-09-16)
- Make it possible to configure the request for the PAC file. (#44) Thanks @SeyfSV.
- urlencode proxy username and password. (#46) Thanks @aslafy-z.
0.12.0 (2018-09-11)
- Fix possible error when dnsResolve() fails. (#34) Thanks @maximinus.
0.11.0 (2018-09-08)
- Require dukpy 0.2.2, to fix memory leak. (#32) Thanks @maximinus.
- Change Mac environment marker. (#30)
- Support Python 3.7.
0.10.0 (2018-08-26)
- Switch JavaScript interpreter to dukpy. (#24)
- Fix pac_context_for_url() erroring with DIRECT PAC setting. (#27)
- Fix warning about invalid escape sequence (#26). Thanks @BoboTiG.
0.9.0 (2018-06-02)
- Add macOS support for PAC in System Preferences (#23). Thanks @LKleinNux.
- The from_registry argument on pypac.get_pac() and pypac.collect_pac_urls()is now deprecated and will be removed in 1.0.0. Use from_os_settings instead.
0.8.1 (2018-03-01)
- Defer Js2Py import until it’s needed. It uses a lot of memory.See #20 for details.
0.8.0 (2018-02-28)
- Add support for file:// PAC URLs on Windows.
0.7.0 (2018-02-21)
- Drop support for Python 3.3.
- Add doc explaining how to use pac_context_for_url().
- Internal changes to dev and test processes.
0.6.0 (2018-01-28)
- Add pac_context_for_url(), a context manager that adds basic PAC functionalitythrough proxy environment variables.
0.5.0 (2018-01-18)
- Accept PAC files served with no Content-Type header.
0.4.0 (2017-11-07)
- Add recursion_limit keyword argument to PACSession and PACFile.The default is an arbitrarily high value (10000), which should cover most applications.
- Exclude port numbers from host passed to FindProxyForURL(url, host).
0.3.0 (2017-04-12)
- Windows: Get system auto-proxy config setting using winreg module.
- Windows: Accept local filesystem paths from system proxy auto-config setting.
- Raise PacComplexityError when recursion limit is hit while parsing PAC file.
- Support setting PACSession.proxy_auth and ProxyResolver.proxy_auth after constructing an instance.
- Narrative docs.
0.2.1 (2017-01-19)
- Require Js2Py >= 0.43 for Python 3.6 support, and to avoid needing to monkeypatch out pyimport.
Project details
Release historyRelease notifications | RSS feed
0.13.0
0.12.0
0.11.0

0.10.1
Macos Install Python
0.10.0
0.9.0
0.8.1
0.8.0
Macos Python Brew
0.7.0
0.6.0
0.5.0
0.4.0
0.3.1
0.3.0
0.2.1
0.1.0
Macos Support For Python 2.7 Pro
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
| Filename, size | File type | Python version | Upload date | Hashes |
|---|---|---|---|---|
| Filename, size pypac-0.13.0-py2.py3-none-any.whl (22.5 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes |
Hashes for pypac-0.13.0-py2.py3-none-any.whl
Macos Support For Python 2.7 0
| Algorithm | Hash digest |
|---|---|
| SHA256 | a1eac0e3224939fcc691c8ad815f9cd24d737c8e0cf9c9905a01821bbe8f1414 |
| MD5 | 27a4241186ce6b621ad36a35d4ecd0ad |
| BLAKE2-256 | adfcb72b4e4a42b49904ce8ac61063ef106407d81b6df01d6361f01b11b90c93 |