arelle.SocketUtils

See COPYRIGHT.md for copyright information.

Module Contents

Classes

WarnSocket

This is a simple wrapper around the socket to print a warning if Arelle attempts to download something while running in offline mode.

Functions

Data

API

arelle.SocketUtils.INTERNET_CONNECTIVITY

‘internetConnectivity’

arelle.SocketUtils.OFFLINE

‘offline’

class arelle.SocketUtils.WarnSocket(family: int = -1, type: int = -1, proto: int = -1, fileno: int | None = None)

Bases: socket.socket

This is a simple wrapper around the socket to print a warning if Arelle attempts to download something while running in offline mode.

Initialization

Initialize self. See help(type(self)) for accurate signature.

bind()
close()
connect()
connect_ex()
detach()
class family
fileno()
getblocking()
getpeername()
getsockname()
getsockopt()
gettimeout()
listen()
class proto
recv()
recv_into()
recvfrom()
recvfrom_into()
recvmsg()
recvmsg_into()
send()
sendall()
sendmsg()
sendmsg_afalg()
sendto()
setblocking()
setsockopt()
settimeout()
shutdown()
class timeout
class type
dup()
accept()
makefile(mode='r', buffering=None, *, encoding=None, errors=None, newline=None)
sendfile(file, offset=0, count=None)
arelle.SocketUtils.warnSocket() None