pypif.util.serializable module

class pypif.util.serializable.Serializable

Bases: object

Base class for objects that can be serialized.

as_dictionary()

Convert this object to a dictionary with formatting appropriate for a PIF.

Returns:Dictionary with the content of this object formatted for a PIF.