obspy.clients.base.RemoteBaseClient

class RemoteBaseClient(debug=False, timeout=120)[source]

Bases: BaseClient

Public Methods

get_service_version

Return a semantic version number of the remote service as a string.

Special Methods

RemoteBaseClient.__delattr__(name, /)

Implement delattr(self, name).

RemoteBaseClient.__dir__()

Default dir() implementation.

RemoteBaseClient.__eq__(value, /)

Return self==value.

RemoteBaseClient.__format__(format_spec, /)

Default object formatter.

RemoteBaseClient.__ge__(value, /)

Return self>=value.

RemoteBaseClient.__getattribute__(name, /)

Return getattr(self, name).

RemoteBaseClient.__gt__(value, /)

Return self>value.

RemoteBaseClient.__hash__()

Return hash(self).

RemoteBaseClient.__init__(debug=False, timeout=120)[source]

Base class for all remote mixin classes.

Parameters:
  • debug (bool) – Passed on to the BaseClient constructor.

  • timeout (float) – The network timeout in seconds.

RemoteBaseClient.__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

RemoteBaseClient.__le__(value, /)

Return self<=value.

RemoteBaseClient.__lt__(value, /)

Return self<value.

RemoteBaseClient.__ne__(value, /)

Return self!=value.

RemoteBaseClient.__new__(**kwargs)
RemoteBaseClient.__reduce__()

Helper for pickle.

RemoteBaseClient.__reduce_ex__(protocol, /)

Helper for pickle.

RemoteBaseClient.__repr__()

Return repr(self).

RemoteBaseClient.__setattr__(name, value, /)

Implement setattr(self, name, value).

RemoteBaseClient.__sizeof__()

Size of object in memory, in bytes.

RemoteBaseClient.__str__()

Return str(self).

RemoteBaseClient.__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).