Python px-proxy usage

  python, python-3.x

I am new to the above module and trying to figure out how to use it. I am working through a corporate NTLM proxy server in order to connect to an external API. Previously I would just use the proxy option within python-requests for such tasks.

So far I have followed the instructions at https://github.com/genotrance/px to install the module px-proxy. I have then used the commands:

px --proxy=proxy.server.com --save
px --install

…to register the corporate proxy within the px.ini file. I am unsure however from the instructions how I actually us this module to then connect to the external API. I guess I am expecting something like:

px --option --myurl --proxy=proxy

…however I am unsure from the README.md above. Can anyone please clarify?

Thanks

Source: Python-3x Questions

LEAVE A COMMENT