obspy.io.reftek.packet.Packet

class Packet(data)[source]

Bases: object

Attributes

nanoseconds

time

type

Public Methods

from_data

Special Methods

Packet.__delattr__(name, /)

Implement delattr(self, name).

Packet.__dir__()

Default dir() implementation.

Packet.__eq__(value, /)

Return self==value.

Packet.__format__(format_spec, /)

Default object formatter.

Packet.__ge__(value, /)

Return self>=value.

Packet.__getattr__(name)[source]
Packet.__getattribute__(name, /)

Return getattr(self, name).

Packet.__gt__(value, /)

Return self>value.

Packet.__hash__()

Return hash(self).

Packet.__init__(data)[source]
Packet.__init_subclass__()

This method is called when a class is subclassed.

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

Packet.__le__(value, /)

Return self<=value.

Packet.__lt__(value, /)

Return self<value.

Packet.__ne__(value, /)

Return self!=value.

Packet.__new__(**kwargs)
Packet.__reduce__()

Helper for pickle.

Packet.__reduce_ex__(protocol, /)

Helper for pickle.

Packet.__repr__()

Return repr(self).

Packet.__setattr__(name, value, /)

Implement setattr(self, name, value).

Packet.__sizeof__()

Size of object in memory, in bytes.

Packet.__str__()

Return str(self).

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