A Proxy Selection Tool for Windows
Project description
From time to time it is necessary to change the systems proxy settings. This can be due to network changes or to test software with internet access on different proxies or proxy settings. However, always walking through the Windows system dialog and manually changing the settings is a tedious task.
Therefore, this small python project enables the quick change of the proxy settings either programmatically by using the provided module functions, or from the command line, by calling the command line scripts, that are part of this project as well.
The Command Line Tool
[TODO: Description]
To turn on the proxy call
> winproxy on
from the command prompt and to turn off the proxy run
> winproxy off
from the command prompt. You may want to display the current proxy settings by
> winproxy view
If you do have man proxy exceptions (overrides), you can limit the number of proxy exceptions displayed with the -n option:
> winproxy view -n 5 # Display only the first 5 exceptions
> winproxy view -n 0 # Don’t display proxy exceptions at all
The Python API
[TODO: API Description]
Change Log
0.3.0a1
Added a first draft of the set command
The winproxy view command was broken if * no overrides were set at all * less overrides were set, than should be shown at most
The override list may contain not only ‘;’ separated proxies, but also ‘,’ separated ones. This may even be mixed. Also, there may be whitespace in the Text. This all is now corrected for, i.e., setting override through the ProxySettings API will always normalize the string to ‘;’ delimited proxies.
Missing registry values fall back to sensible defaults
0.2.0a1
Added the “winproxy cpl” to the command line to open the Windows Internet Settings dialog
Added a change log to the README
0.1.0a1
Basic ProxySettings class for the Python API
Command line with “winproxy on|off|view” to * turn the proxy on * turn the proxy off * display the current proxy settings
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file winproxy-0.3.0a1.zip
.
File metadata
- Download URL: winproxy-0.3.0a1.zip
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5763cfd5423429341a2ab29d2d7ac2821c846c966093c0fa97d6ae407efeeab |
|
MD5 | d666b4d9fbf6fcc399111886c43e3e6c |
|
BLAKE2b-256 | 53a79e391a82b15c218f093dfd928a30de9438ed9cf0f8a91d431769fa0a8239 |
File details
Details for the file winproxy-0.3.0a1-py2.py3-none-any.whl
.
File metadata
- Download URL: winproxy-0.3.0a1-py2.py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92cd0cbf1e83000d9ff0e3dc91120ed5b8f31e8719ca249c04f02771c7c8b3b7 |
|
MD5 | a64718151ab7accf6ec2d19727b1a671 |
|
BLAKE2b-256 | b2bb732a5767681933aac627c3fc3ef362bfc3bbfa0899ada530fb243c87ae60 |