Robert Klep f35844b073 | 11 years ago | |
---|---|---|
resources | 11 years ago | |
.hgignore | 13 years ago | |
README.md | 13 years ago | |
ToggleProxy.py | 11 years ago | |
setup.py | 11 years ago |
ToggleProxy is a PyObjC-based application for Mac OS X to quickly enable and disable the HTTP proxy for the currently active networking interface.
It’s a background application which installs a menu item in the Mac OS X menu bar. The item shows either an up-arrow with a dashed line through it (think traffic is going through a proxy) when the proxy is active, and only an up-arrow when the proxy is not active.
Toggle the on/off state by clicking the icon, quit the application by
Ctrl
-clicking the icon.
NB: this is not a proxy manager, you have to configure proxies from Mac OS X Network preferences first before this app makes any sense.
Build the application from Terminal like so:
python setup.py py2app
This builds the application as dist/ToggleProxy.app
. You can run it from
there, or move it to somewhere more appropriate first.
If you run into problems, first try to find out what the reason is. Run
this from the same directory as setup.py
:
./dist/ToggleProxy.app/Contents/MacOS/ToggleProxy
This should output any errors to stdout, so you might get a clue as to why it’s not working. If it warrants an issue report, you’re welcome!
Copyright (C) 2011 by Robert Klep (robert AT klep DOT name).
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.