-
darc.proxy.i2p.
I2P_REQUESTS_PROXY
: Dict[str, Any]¶ Proxy for I2P sessions.
See also
darc.requests.i2p_session()
-
darc.proxy.i2p.
I2P_SELENIUM_PROXY
: selenium.webdriver.common.proxy.Proxy¶ Proxy
for I2P web drivers.See also
darc.selenium.i2p_driver()
The following constants are configuration through environment variables:
-
darc.proxy.i2p.
BS_WAIT
: float¶ Time after which the attempt to start I2P is aborted.
- Default
90
- Environ
I2P_WAIT
Note
If not provided, there will be NO timeouts.
-
darc.proxy.i2p.
I2P_ARGS
: List[str]¶ I2P bootstrap arguments for
i2prouter start
.If provided, it should be parsed as command line arguments (c.f.
shlex.split()
).- Default
''
- Environ
Note
The command will be run as
DARC_USER
, if current user (c.f.getpass.getuser()
) is root.
The following constants are defined for internal usage:
-
darc.proxy.i2p.
_I2P_PROC
: subprocess.Popen¶ I2P proxy process running in the background.