.. role:: gold
r e q u e :gold:`z t` s
====================================
HTTP client over encrypted P2P sockets using `ZeroTier `_.
**requezts** is built on Kenneth Reitz's `requests `_ library, and mirrors its simple and powerful interface::
import requezts
with requezts.Session(net_id=0x0123456789abcdef) as session:
response = session.get("http://10.144.174.53:8000/index.html")
Using **requezts'** ``Session`` object as a context manager, you can easily establish connectivity to a ZeroTier network, while also receiving all the benefits of the underlying ``requests.session.Session`` (cookie persistence, connection pooling, and configuration).
Contents
------------------------------------
.. toctree::
session
Installation
------------------------------------
::
pip install requezts
Usage
------------------------------------
See documentation for :py:class:`requezts.Session`
Contributions
------------------------------------
This project is open-source and contributions are welcome. The **requezts** library is hosted on `GitLab `_.