obspy.db.client.Client
- class Client(url=None, session=None, debug=False)[source]
Bases:
object
DEPRECATED – obspy.db database client is deprecated
Client for a database created by obspy.db.
Public Methods
Fetches all possible channel id's. |
|
Generates a list of last end times for each channel. |
|
Fetches all possible location id's. |
|
Fetches all possible network id's. |
|
Returns the preview trace. |
|
Fetches all possible station id's. |
|
Generates a list of available waveform files. |
Special Methods
- Client.__delattr__(name, /)
Implement delattr(self, name).
- Client.__dir__()
Default dir() implementation.
- Client.__eq__(value, /)
Return self==value.
- Client.__format__(format_spec, /)
Default object formatter.
- Client.__ge__(value, /)
Return self>=value.
- Client.__getattribute__(name, /)
Return getattr(self, name).
- Client.__gt__(value, /)
Return self>value.
- Client.__hash__()
Return hash(self).
- Client.__init__(url=None, session=None, debug=False)[source]
DEPRECATED – obspy.db database client is deprecated
Initializes the client.
- Parameters:
url (str, optional) – A string that indicates database dialect and connection arguments. See http://docs.sqlalchemy.org/en/latest/core/engines.html for more information about database dialects and urls.
session (
sqlalchemy.orm.session.Session
, optional) – An existing database session object.debug (bool, optional) – Enables verbose output.
- Client.__init_subclass__()
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- Client.__le__(value, /)
Return self<=value.
- Client.__lt__(value, /)
Return self<value.
- Client.__ne__(value, /)
Return self!=value.
- Client.__new__(**kwargs)
- Client.__reduce__()
Helper for pickle.
- Client.__reduce_ex__(protocol, /)
Helper for pickle.
- Client.__repr__()
Return repr(self).
- Client.__setattr__(name, value, /)
Implement setattr(self, name, value).
- Client.__sizeof__()
Size of object in memory, in bytes.
- Client.__str__()
Return str(self).
- Client.__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).