obspy.clients.base.BaseClient

class BaseClient(debug=False)[source]

Bases: object

Base class for common methods.

Special Methods

BaseClient.__delattr__(name, /)

Implement delattr(self, name).

BaseClient.__dir__()

Default dir() implementation.

BaseClient.__eq__(value, /)

Return self==value.

BaseClient.__format__(format_spec, /)

Default object formatter.

BaseClient.__ge__(value, /)

Return self>=value.

BaseClient.__getattribute__(name, /)

Return getattr(self, name).

BaseClient.__gt__(value, /)

Return self>value.

BaseClient.__hash__()

Return hash(self).

BaseClient.__init__(debug=False)[source]
BaseClient.__init_subclass__()

This method is called when a class is subclassed.

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

BaseClient.__le__(value, /)

Return self<=value.

BaseClient.__lt__(value, /)

Return self<value.

BaseClient.__ne__(value, /)

Return self!=value.

BaseClient.__new__(**kwargs)
BaseClient.__reduce__()

Helper for pickle.

BaseClient.__reduce_ex__(protocol, /)

Helper for pickle.

BaseClient.__repr__()

Return repr(self).

BaseClient.__setattr__(name, value, /)

Implement setattr(self, name, value).

BaseClient.__sizeof__()

Size of object in memory, in bytes.

BaseClient.__str__()

Return str(self).

BaseClient.__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).