IPython Documentation

Table Of Contents

Previous topic

utils.nested_context

Next topic

utils.notification

This Page

utils.newserialized

Module: utils.newserialized

Inheritance diagram for IPython.utils.newserialized:

Refactored serialization classes and interfaces.

Classes

ISerialized

class IPython.utils.newserialized.ISerialized
getData()
getDataSize(units=1000000.0)
getMetadata()
getTypeDescriptor()

IUnSerialized

class IPython.utils.newserialized.IUnSerialized
getObject()

SerializationError

class IPython.utils.newserialized.SerializationError

Bases: exceptions.Exception

__init__()

x.__init__(...) initializes x; see help(type(x)) for signature

args
message

SerializeIt

class IPython.utils.newserialized.SerializeIt(unSerialized)

Bases: object

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

Serialized

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

Bases: object

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

UnSerializeIt

class IPython.utils.newserialized.UnSerializeIt(serialized)

Bases: IPython.utils.newserialized.UnSerialized

__init__(serialized)
getObject()

UnSerialized

class IPython.utils.newserialized.UnSerialized(obj)

Bases: object

__init__(obj)
getObject()

Functions

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