kernel.newserialized

Module: kernel.newserialized

Inheritance diagram for IPython.kernel.newserialized:

Refactored serialization classes and interfaces.

Classes

ISerialized

class IPython.kernel.newserialized.ISerialized(name, bases=(), attrs=None, __doc__=None, __module__=None)

Bases: zope.interface.Interface

static __init__(name, bases=(), attrs=None, __doc__=None, __module__=None)

IUnSerialized

class IPython.kernel.newserialized.IUnSerialized(name, bases=(), attrs=None, __doc__=None, __module__=None)

Bases: zope.interface.Interface

static __init__(name, bases=(), attrs=None, __doc__=None, __module__=None)

SerializeIt

class IPython.kernel.newserialized.SerializeIt(unSerialized)

Bases: object

__init__(unSerialized)
getData()
getDataSize(units=1000000.0)
getMetadata()
getTypeDescriptor()

Serialized

class IPython.kernel.newserialized.Serialized(data, typeDescriptor, metadata={})

Bases: object

__init__(data, typeDescriptor, metadata={})
getData()
getDataSize(units=1000000.0)
getMetadata()
getTypeDescriptor()

UnSerializeIt

class IPython.kernel.newserialized.UnSerializeIt(serialized)

Bases: IPython.kernel.newserialized.UnSerialized

__init__(serialized)
getObject()

UnSerialized

class IPython.kernel.newserialized.UnSerialized(obj)

Bases: object

__init__(obj)
getObject()

Functions

IPython.kernel.newserialized.serialize(obj)
IPython.kernel.newserialized.unserialize(serialized)