pyngrok - a Python wrapper for ngrok — pyngrok 7.0.1 documentation
pyngrok is a Python wrapper for ngrok that manages its own binary, making ngrok available via a convenient Python API. ngrok is a reverse proxy tool that opens secure tunnels from public URLs to localhost, perfect for exposing local web servers, building webhook integrations, enabling SSH access, testing chatbots, demoing from your own machine, and more, and its made even more powerful with native Python integration through pyngrok. pyngrok is available on PyPI and can be installed using pip: or conda: That’s it! pyngrok is now available as a package to our Python projects, and ngrok is now available from the command line. To open a tunnel, use the connect method, which returns a NgrokTunnel, and this returned object has a reference to the public URL generated by ngrok in its public_url attribute. The connect method takes kwargs as well, which allows us to pass additional properties that are supported by ngrok, as shown below. Note ngrok v2’s default behavior for http when no additiona
Explore this link on the map →