Lynn Rees avatar Lynn Rees committed 5a9d0f9

- consolidate talk components

Comments (0)

Files changed (29)

wire/datalet.py

-# -*- coding: utf-8 -*-
-'''wire datalet'''
-
-from callchain import ResetLocalMixin
-from callchain.chain import ChainletQ
-from twoq.lazy.mixins import AutoQMixin
-
-
-class Package(ResetLocalMixin):
-
-    '''data package'''
-
-    def __init__(self, data, mime, charset=None):
-        super(Package, self).__init__()
-        self.data = data
-        self.mime = mime
-        self.charset = charset
-
-
-class datalet(ChainletQ, AutoQMixin):
-
-    def __init__(self, root):
-        '''
-        init
-
-        @param root: root object
-        '''
-        super(datalet, self).__init__(root)
-        self._params = root._params
-
-
-class talklet(datalet):
-
-    type = 'application/x-www-form-urlencoded'
-    charset = None
-
-    def _encode(self, data):
-        return Package(data, self.mime, self.charset)
-
-    def _process(self, encoder):
-        with self._sync as _sync:
-            _encode = self._encode
-            _sync(_encode(encoder(d)) for d in _sync.iterable)
-        return self

wire/keys/__init__.py

-# -*- coding: utf-8 -*-
-'''wire keys'''

wire/keys/talk.py

-# -*- coding: utf-8 -*-
-#@PydevCodeAnalysisIgnore
-#pylint: disable-msg=e0211,e0213
-
-'''talk keys'''
-
-from wire.keys.talkers import (
-    KDumps, KYaML, KXMLRPC, KXML, KURLEncode, KTNetString, KThrift, KProtobuf,
-    KPlist, KPickle, KNetString, KMultiPart, KMarshal, KMessagePack, KJSON, 
-    KHTML, KExcel, KCSV, KBSON, KBencode, KJSONPickle)
-
-  
-class KBencodeDumps(KDumps, KBencode):
-    
-    '''bencode serialize key'''
-        
-
-class KBSONDumps(KDumps, KBSON):
-    
-    '''bson serialize key'''
-        
-        
-class KCSVDumps(KDumps, KCSV):
-    
-    '''csv serialize key'''
-        
-        
-class KExcelDumps(KDumps, KExcel):
-    
-    '''excel serialize key'''
-        
-
-class KHTMLDumps(KDumps, KHTML):
-    
-    '''html serialize key'''
-        
-        
-class KJSONDumps(KDumps, KJSON):
-    
-    '''json serialize key'''
-    
-
-class KJSONPickleDumps(KDumps, KJSONPickle):
-
-    '''json-pickle deserialize key'''
-        
-        
-class KMarshalDumps(KDumps, KMarshal):
-    
-    '''Python marshal serialize key'''
-        
-        
-class KMessagePackDumps(KDumps, KMessagePack):
-    
-    '''message pack serialize key'''
-        
-
-class KMultiPartDumps(KDumps, KMultiPart):
-    
-    '''form multipart serialize key'''
-        
-        
-class KNetStringDumps(KDumps, KNetString):
-    
-    '''netstring serialize key'''
-        
-        
-class KPickleDumps(KDumps, KPickle):
-    
-    '''python pickle serialize key'''
-        
-        
-class KPlistDumps(KDumps, KPlist):
-    
-    '''property list serialize key'''
-        
-        
-class KProtobufDumps(KDumps, KProtobuf):
-    
-    '''google protocol buffers serialize key'''
-    
-    def protobuf():
-        '''protocol buffers serialization'''
-
-        
-class KThriftDumps(KDumps, KThrift):
-    
-    '''thrift serialize key'''
-    
-    def thrift():
-        '''thrift deserialization'''
-        
-        
-class KTNetStringDumps(KDumps, KTNetString):
-    
-    '''tnetstring serialize key'''
-        
-        
-class KURLEncodeDumps(KDumps, KURLEncode):
-    
-    '''urlencode serialize key'''
-        
-        
-class KXMLDumps(KDumps, KXML):
-    
-    '''extensible markup language serialize key'''
-        
-        
-class KXMLRPCDumps(KDumps, KXMLRPC):
-    
-    '''extensible markup language remote procedure call serialize key'''
-
-
-class KYaMLDumps(KDumps, KYaML):
-    
-    '''YAML ain't markup language serialize key'''

wire/keys/talkers.py

-# -*- coding: utf-8 -*-
-#@PydevCodeAnalysisIgnore
-#pylint: disable-msg=e0211,e0213
-'''http client data keys'''
-
-from appspace.keys import AppspaceKey
-
-
-class KTalk(AppspaceKey):
-
-    '''talker key'''
-
-
-class KDumps(AppspaceKey):
-    
-    '''serializer key'''
-
-
-class KLoads(AppspaceKey):
-    
-    '''deserializer key'''
-
-class KBencode(KTalk):
-    
-    '''
-    bencode serialization key
-    
-    http://en.wikipedia.org/wiki/Bencode
-    
-    http://pypi.python.org/pypi/BitTorrent-bencode/
-    '''
-    
-    def bencode():
-        '''bencode serialization'''
-
-
-class KBSON(KTalk):
-    
-    '''
-    binary JSON serialization key
-    
-    http://en.wikipedia.org/wiki/BSON
-    
-    http://pypi.python.org/pypi/bson/0.3.3
-    '''
-    
-    def bson():
-        '''bson serialization'''
-        
-
-
-class KCSV(KTalk):
-    
-    '''comma separated values (CSV) serialization key'''
-        
-    def csv(**kw):
-        '''csv serialization'''
-
-
-class KExcel(KTalk):
-    
-    '''
-    M$ excel serialization key
-    
-    http://pypi.python.org/pypi/xlrd/
-    
-    http://pypi.python.org/pypi/xlwt/
-    '''
-        
-    def excel(**kw):
-        '''excel serialization'''
-
-
-class KHTML(KTalk):
-    
-    '''
-    html serialization key
-
-    http://pypi.python.org/pypi/lxml/
-    '''
-        
-    def html(**kw):
-        '''html serialization'''
-        
-
-class KJSON(KTalk):
-
-    '''JavaScript Object Notation (JSON) serialization key'''
-
-    def json(**kw):
-        '''json serialization'''
-        
-    
-class KJSONPickle(KTalk):
-
-    '''JavaScript Object Notation (JSON) pickle serialization key'''
-
-    def json():
-        '''json-pickle serialization'''
-
-        
-class KMarshal(KTalk):
-    
-    '''Python marshal serialization key'''
-        
-    def marshal():
-        '''marshal serialization'''
-        
-
-class KMessagePack(KTalk):
-    
-    '''
-    message pack serialization key
-    
-    http://msgpack.org/
-    
-    http://pypi.python.org/pypi/msgpack-python/
-    '''
-        
-    def message_pack(**kw):
-        '''message pack serialization key'''
-
-
-class KMultiPart(KTalk):
-
-    '''form multipart serialization'''
-        
-    def multipart():
-        '''form-multipart serialization'''
-
-        
-class KNetString(KTalk):
-    
-    '''
-    netstring serialization key
-    
-    http://cr.yp.to/proto/netstrings.txt
-    
-    http://pypi.python.org/pypi/netstring
-    '''
-        
-    def netstring(**kw):
-        '''netstring serialization'''
-        
-
-class KPickle(KTalk):
-    
-    '''python pickle serialization key'''
-        
-    def pickle():
-        '''pickle serialization'''
-
-
-class KPlist(KTalk):
-    
-    '''property list serialization key'''
-
-    def plist():
-        '''pickle serialization'''
-
-
-class KProtobuf(KTalk):
-    
-    '''
-    google protocol buffers serialization key
-
-    http://code.google.com/p/protobuf/
-
-    http://pypi.python.org/pypi/protobuf/
-    '''
-        
-        
-class KThrift(KTalk):
-    
-    '''
-    thrift serialization key
-    
-    http://thrift.apache.org/
-    
-    http://pypi.python.org/pypi/thrift/
-    '''
-
-
-class KTNetString(KTalk):
-    
-    '''
-    tnetstring serialization key
-    
-    http://pypi.python.org/pypi/tnetstring/
-    '''
-        
-    def tnetstring():
-        '''tnetstring serialization'''
-
-
-class KURLEncode(KTalk):
-    
-    '''urlencode serialization key'''  
-
-    def urlencode(**kw):
-        '''urlencode serialization'''
-        
-
-class KXML(KTalk):
-    
-    '''extensible markup language serialization key'''
-
-    def xml(**kw):
-        '''xml serialization'''
-
-
-class KXMLRPC(KTalk):
-    
-    '''extensible markup language remote procedure call serialization key'''
-        
-    def xmlrpc(**kw):
-        '''xml-rpc serialization'''
-        
-
-class KYaML(KTalk):
-    
-    '''
-    YAML ain't markup language serialization key
-    
-    http://en.wikipedia.org/wiki/YAML
-    
-    http://pypi.python.org/pypi/PyYAML/
-    '''
-        
-    def yaml(**kw):
-        '''yaml serialization'''

wire/keys/untalk.py

-# -*- coding: utf-8 -*-
-#@PydevCodeAnalysisIgnore
-#pylint: disable-msg=e0211,e0213
-'''untalk keys'''
-
-from wire.keys.talkers import (
-    KLoads, KYaML, KXMLRPC, KXML, KURLEncode, KTNetString, KThrift, KProtobuf,
-    KPlist, KPickle, KNetString, KMultiPart, KMarshal, KMessagePack, KJSON,
-    KHTML, KExcel, KCSV, KBSON, KBencode, KJSONPickle)
-
-
-class KBencodeLoads(KLoads, KBencode):
-
-    '''bencode deserialize key'''
-
-
-class KBSONLoads(KLoads, KBSON):
-
-    '''bson deserialize key'''
-
-
-class KCSVLoads(KLoads, KCSV):
-
-    '''csv deserialize key'''
-
-
-class KExcelLoads(KLoads, KExcel):
-
-    '''excel deserialize key'''
-
-
-class KHTMLLoads(KLoads, KHTML):
-
-    '''html deserialize key'''
-
-
-class KJSONLoads(KLoads, KJSON):
-
-    '''json deserialize key'''
-
-
-class KJSONPickleLoads(KLoads, KJSONPickle):
-
-    '''json deserialize key'''
-
-
-class KMarshalLoads(KLoads, KMarshal):
-
-    '''Python marshal deserialize key'''
-
-
-class KMessagePackLoads(KLoads, KMessagePack):
-
-    '''message pack deserialize key'''
-
-
-class KMultiPartLoads(KLoads, KMultiPart):
-
-    '''form multipart deserialize key'''
-
-
-class KNetStringLoads(KLoads, KNetString):
-
-    '''netstring deserialize key'''
-
-
-class KPickleLoads(KLoads, KPickle):
-
-    '''python pickle deserialize key'''
-
-
-class KPlistLoads(KLoads, KPlist):
-
-    '''property list deserialize key'''
-
-
-class KProtobufLoads(KLoads, KProtobuf):
-
-    '''google protocol buffers deserialize key'''
-
-    def protobuf(**kw):
-        '''protocol buffers serialization'''
-
-
-class KThriftLoads(KLoads, KThrift):
-
-    '''thrift deserialize key'''
-
-    def thrift(**kw):
-        '''thrift deserialization'''
-
-
-class KTNetStringLoads(KLoads, KTNetString):
-
-    '''tnetstring deserialize key'''
-
-
-class KURLEncodeLoads(KLoads, KURLEncode):
-
-    '''urlencode deserialize key'''
-
-
-class KXMLLoads(KLoads, KXML):
-
-    '''extensible markup language deserialize key'''
-
-
-class KXMLRPCLoads(KLoads, KXMLRPC):
-
-    '''extensible markup language remote procedure call deserialize key'''
-
-
-class KYaMLLoads(KLoads, KYaML):
-
-    '''YAML ain't markup language deserialize key'''

wire/talk/bencodew.py

     raise ImportError('requires "BitTorrent-bencode" library')
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KBencodeDumps
-from wire.keys.untalk import KBencodeLoads
+from wire.talk.keys.talk import KBencodeDumps
+from wire.talk.keys.untalk import KBencodeLoads
 
 
 class Bencode(talklet):

wire/talk/bsonw.py

     raise ImportError('requires "bson" library')
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KBSONDumps
-from wire.keys.untalk import KBSONLoads
+from wire.talk.keys.talk import KBSONDumps
+from wire.talk.keys.untalk import KBSONLoads
 
 
 class BSON(talklet):

wire/talk/csvw.py

 from appspace.keys import appifies
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KCSVDumps
-from wire.keys.untalk import KCSVLoads
+from wire.talk.keys.talk import KCSVDumps
+from wire.talk.keys.untalk import KCSVLoads
 
 
 class CSV(talklet):

wire/talk/excelw.py

 # pylint: enable-msg=f0401
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KExcelDumps
-from wire.keys.untalk import KExcelLoads
+from wire.talk.keys.talk import KExcelDumps
+from wire.talk.keys.untalk import KExcelLoads
 
 
 class Excel(talklet):

wire/talk/htmlw.py

     raise ImportError('requires "lxml" library')
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KHTMLDumps
-from wire.keys.untalk import KHTMLLoads
+from wire.talk.keys.talk import KHTMLDumps
+from wire.talk.keys.untalk import KHTMLLoads
 
 
 class HTML(talklet):

wire/talk/jsonpicklew.py

 from jsonpickle import decode, encode
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KJSONDumps
-from wire.keys.untalk import KJSONLoads
+from wire.talk.keys.talk import KJSONDumps
+from wire.talk.keys.untalk import KJSONLoads
 
 
 class JSONPickle(talklet):

wire/talk/jsonw.py

 from appspace.keys import appifies
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KJSONDumps
-from wire.keys.untalk import KJSONLoads
+from wire.talk.keys.talk import KJSONDumps
+from wire.talk.keys.untalk import KJSONLoads
 
 
 class JSON(talklet):

wire/talk/keys/__init__.py

+# -*- coding: utf-8 -*-
+'''wire keys'''

wire/talk/keys/talk.py

+# -*- coding: utf-8 -*-
+#@PydevCodeAnalysisIgnore
+#pylint: disable-msg=e0211,e0213
+
+'''talk keys'''
+
+from wire.talk.keys.talkers import (
+    KDumps, KYaML, KXMLRPC, KXML, KURLEncode, KTNetString, KThrift, KProtobuf,
+    KPlist, KPickle, KNetString, KMultiPart, KMarshal, KMessagePack, KJSON, 
+    KHTML, KExcel, KCSV, KBSON, KBencode, KJSONPickle)
+
+  
+class KBencodeDumps(KDumps, KBencode):
+    
+    '''bencode serialize key'''
+        
+
+class KBSONDumps(KDumps, KBSON):
+    
+    '''bson serialize key'''
+        
+        
+class KCSVDumps(KDumps, KCSV):
+    
+    '''csv serialize key'''
+        
+        
+class KExcelDumps(KDumps, KExcel):
+    
+    '''excel serialize key'''
+        
+
+class KHTMLDumps(KDumps, KHTML):
+    
+    '''html serialize key'''
+        
+        
+class KJSONDumps(KDumps, KJSON):
+    
+    '''json serialize key'''
+    
+
+class KJSONPickleDumps(KDumps, KJSONPickle):
+
+    '''json-pickle deserialize key'''
+        
+        
+class KMarshalDumps(KDumps, KMarshal):
+    
+    '''Python marshal serialize key'''
+        
+        
+class KMessagePackDumps(KDumps, KMessagePack):
+    
+    '''message pack serialize key'''
+        
+
+class KMultiPartDumps(KDumps, KMultiPart):
+    
+    '''form multipart serialize key'''
+        
+        
+class KNetStringDumps(KDumps, KNetString):
+    
+    '''netstring serialize key'''
+        
+        
+class KPickleDumps(KDumps, KPickle):
+    
+    '''python pickle serialize key'''
+        
+        
+class KPlistDumps(KDumps, KPlist):
+    
+    '''property list serialize key'''
+        
+        
+class KProtobufDumps(KDumps, KProtobuf):
+    
+    '''google protocol buffers serialize key'''
+    
+    def protobuf():
+        '''protocol buffers serialization'''
+
+        
+class KThriftDumps(KDumps, KThrift):
+    
+    '''thrift serialize key'''
+    
+    def thrift():
+        '''thrift deserialization'''
+        
+        
+class KTNetStringDumps(KDumps, KTNetString):
+    
+    '''tnetstring serialize key'''
+        
+        
+class KURLEncodeDumps(KDumps, KURLEncode):
+    
+    '''urlencode serialize key'''
+        
+        
+class KXMLDumps(KDumps, KXML):
+    
+    '''extensible markup language serialize key'''
+        
+        
+class KXMLRPCDumps(KDumps, KXMLRPC):
+    
+    '''extensible markup language remote procedure call serialize key'''
+
+
+class KYaMLDumps(KDumps, KYaML):
+    
+    '''YAML ain't markup language serialize key'''

wire/talk/keys/talkers.py

+# -*- coding: utf-8 -*-
+#@PydevCodeAnalysisIgnore
+#pylint: disable-msg=e0211,e0213
+'''http client data keys'''
+
+from appspace.keys import AppspaceKey
+
+
+class KTalk(AppspaceKey):
+
+    '''talker key'''
+
+
+class KDumps(AppspaceKey):
+    
+    '''serializer key'''
+
+
+class KLoads(AppspaceKey):
+    
+    '''deserializer key'''
+
+class KBencode(KTalk):
+    
+    '''
+    bencode serialization key
+    
+    http://en.wikipedia.org/wiki/Bencode
+    
+    http://pypi.python.org/pypi/BitTorrent-bencode/
+    '''
+    
+    def bencode():
+        '''bencode serialization'''
+
+
+class KBSON(KTalk):
+    
+    '''
+    binary JSON serialization key
+    
+    http://en.wikipedia.org/wiki/BSON
+    
+    http://pypi.python.org/pypi/bson/0.3.3
+    '''
+    
+    def bson():
+        '''bson serialization'''
+        
+
+
+class KCSV(KTalk):
+    
+    '''comma separated values (CSV) serialization key'''
+        
+    def csv(**kw):
+        '''csv serialization'''
+
+
+class KExcel(KTalk):
+    
+    '''
+    M$ excel serialization key
+    
+    http://pypi.python.org/pypi/xlrd/
+    
+    http://pypi.python.org/pypi/xlwt/
+    '''
+        
+    def excel(**kw):
+        '''excel serialization'''
+
+
+class KHTML(KTalk):
+    
+    '''
+    html serialization key
+
+    http://pypi.python.org/pypi/lxml/
+    '''
+        
+    def html(**kw):
+        '''html serialization'''
+        
+
+class KJSON(KTalk):
+
+    '''JavaScript Object Notation (JSON) serialization key'''
+
+    def json(**kw):
+        '''json serialization'''
+        
+    
+class KJSONPickle(KTalk):
+
+    '''JavaScript Object Notation (JSON) pickle serialization key'''
+
+    def json():
+        '''json-pickle serialization'''
+
+        
+class KMarshal(KTalk):
+    
+    '''Python marshal serialization key'''
+        
+    def marshal():
+        '''marshal serialization'''
+        
+
+class KMessagePack(KTalk):
+    
+    '''
+    message pack serialization key
+    
+    http://msgpack.org/
+    
+    http://pypi.python.org/pypi/msgpack-python/
+    '''
+        
+    def message_pack(**kw):
+        '''message pack serialization key'''
+
+
+class KMultiPart(KTalk):
+
+    '''form multipart serialization'''
+        
+    def multipart():
+        '''form-multipart serialization'''
+
+        
+class KNetString(KTalk):
+    
+    '''
+    netstring serialization key
+    
+    http://cr.yp.to/proto/netstrings.txt
+    
+    http://pypi.python.org/pypi/netstring
+    '''
+        
+    def netstring(**kw):
+        '''netstring serialization'''
+        
+
+class KPickle(KTalk):
+    
+    '''python pickle serialization key'''
+        
+    def pickle():
+        '''pickle serialization'''
+
+
+class KPlist(KTalk):
+    
+    '''property list serialization key'''
+
+    def plist():
+        '''pickle serialization'''
+
+
+class KProtobuf(KTalk):
+    
+    '''
+    google protocol buffers serialization key
+
+    http://code.google.com/p/protobuf/
+
+    http://pypi.python.org/pypi/protobuf/
+    '''
+        
+        
+class KThrift(KTalk):
+    
+    '''
+    thrift serialization key
+    
+    http://thrift.apache.org/
+    
+    http://pypi.python.org/pypi/thrift/
+    '''
+
+
+class KTNetString(KTalk):
+    
+    '''
+    tnetstring serialization key
+    
+    http://pypi.python.org/pypi/tnetstring/
+    '''
+        
+    def tnetstring():
+        '''tnetstring serialization'''
+
+
+class KURLEncode(KTalk):
+    
+    '''urlencode serialization key'''  
+
+    def urlencode(**kw):
+        '''urlencode serialization'''
+        
+
+class KXML(KTalk):
+    
+    '''extensible markup language serialization key'''
+
+    def xml(**kw):
+        '''xml serialization'''
+
+
+class KXMLRPC(KTalk):
+    
+    '''extensible markup language remote procedure call serialization key'''
+        
+    def xmlrpc(**kw):
+        '''xml-rpc serialization'''
+        
+
+class KYaML(KTalk):
+    
+    '''
+    YAML ain't markup language serialization key
+    
+    http://en.wikipedia.org/wiki/YAML
+    
+    http://pypi.python.org/pypi/PyYAML/
+    '''
+        
+    def yaml(**kw):
+        '''yaml serialization'''

wire/talk/keys/untalk.py

+# -*- coding: utf-8 -*-
+#@PydevCodeAnalysisIgnore
+#pylint: disable-msg=e0211,e0213
+'''untalk keys'''
+
+from wire.talk.keys.talkers import (
+    KLoads, KYaML, KXMLRPC, KXML, KURLEncode, KTNetString, KThrift, KProtobuf,
+    KPlist, KPickle, KNetString, KMultiPart, KMarshal, KMessagePack, KJSON,
+    KHTML, KExcel, KCSV, KBSON, KBencode, KJSONPickle)
+
+
+class KBencodeLoads(KLoads, KBencode):
+
+    '''bencode deserialize key'''
+
+
+class KBSONLoads(KLoads, KBSON):
+
+    '''bson deserialize key'''
+
+
+class KCSVLoads(KLoads, KCSV):
+
+    '''csv deserialize key'''
+
+
+class KExcelLoads(KLoads, KExcel):
+
+    '''excel deserialize key'''
+
+
+class KHTMLLoads(KLoads, KHTML):
+
+    '''html deserialize key'''
+
+
+class KJSONLoads(KLoads, KJSON):
+
+    '''json deserialize key'''
+
+
+class KJSONPickleLoads(KLoads, KJSONPickle):
+
+    '''json deserialize key'''
+
+
+class KMarshalLoads(KLoads, KMarshal):
+
+    '''Python marshal deserialize key'''
+
+
+class KMessagePackLoads(KLoads, KMessagePack):
+
+    '''message pack deserialize key'''
+
+
+class KMultiPartLoads(KLoads, KMultiPart):
+
+    '''form multipart deserialize key'''
+
+
+class KNetStringLoads(KLoads, KNetString):
+
+    '''netstring deserialize key'''
+
+
+class KPickleLoads(KLoads, KPickle):
+
+    '''python pickle deserialize key'''
+
+
+class KPlistLoads(KLoads, KPlist):
+
+    '''property list deserialize key'''
+
+
+class KProtobufLoads(KLoads, KProtobuf):
+
+    '''google protocol buffers deserialize key'''
+
+    def protobuf(**kw):
+        '''protocol buffers serialization'''
+
+
+class KThriftLoads(KLoads, KThrift):
+
+    '''thrift deserialize key'''
+
+    def thrift(**kw):
+        '''thrift deserialization'''
+
+
+class KTNetStringLoads(KLoads, KTNetString):
+
+    '''tnetstring deserialize key'''
+
+
+class KURLEncodeLoads(KLoads, KURLEncode):
+
+    '''urlencode deserialize key'''
+
+
+class KXMLLoads(KLoads, KXML):
+
+    '''extensible markup language deserialize key'''
+
+
+class KXMLRPCLoads(KLoads, KXMLRPC):
+
+    '''extensible markup language remote procedure call deserialize key'''
+
+
+class KYaMLLoads(KLoads, KYaML):
+
+    '''YAML ain't markup language deserialize key'''

wire/talk/marshalw.py

 from appspace.keys import appifies
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KMarshalDumps
-from wire.keys.untalk import KMarshalLoads
+from wire.talk.keys.talk import KMarshalDumps
+from wire.talk.keys.untalk import KMarshalLoads
 
 
 class Marshal(talklet):

wire/talk/msgpackw.py

 from appspace.keys import appifies
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KMessagePackDumps
-from wire.keys.untalk import KMessagePackLoads
+from wire.talk.keys.talk import KMessagePackDumps
+from wire.talk.keys.untalk import KMessagePackLoads
 
 
 class MessagePack(talklet):

wire/talk/multipartw.py

 from urllib3.filepost import encode_multipart_formdata
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KMultiPartDumps
-from wire.keys.untalk import KMultiPartLoads
+from wire.talk.keys.talk import KMultiPartDumps
+from wire.talk.keys.untalk import KMultiPartLoads
 
 
 class MultiPart(talklet):

wire/talk/netstringw.py

 from netstring import encode, decode
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KNetStringDumps
-from wire.keys.untalk import KNetStringLoads
+from wire.talk.keys.talk import KNetStringDumps
+from wire.talk.keys.untalk import KNetStringLoads
 
 
 class Netstring(talklet):

wire/talk/picklew.py

 # pylint: enable-msg=f0401
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KPickleDumps
-from wire.keys.untalk import KPickleLoads
+from wire.talk.keys.talk import KPickleDumps
+from wire.talk.keys.untalk import KPickleLoads
 
 
 class Pickle(talklet):

wire/talk/plistw.py

 # pylint: enable-msg=f0401
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KPlistDumps
-from wire.keys.untalk import KPlistLoads
+from wire.talk.keys.talk import KPlistDumps
+from wire.talk.keys.untalk import KPlistLoads
 
 
 class PList(talklet):

wire/talk/protobufw.py

 from appspace.keys import appifies
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KProtobufDumps
-from wire.keys.untalk import KProtobufLoads
+from wire.talk.keys.talk import KProtobufDumps
+from wire.talk.keys.untalk import KProtobufLoads
 
 
 class Protobuf(talklet):

wire/talk/thriftw.py

     raise ImportError('requires "thrift" library')
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KThriftDumps
-from wire.keys.untalk import KThriftLoads
+from wire.talk.keys.talk import KThriftDumps
+from wire.talk.keys.untalk import KThriftLoads
 
 
 class Thrift(talklet):

wire/talk/tnetstringw.py

 from tnetstring import dumps, loads
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KTNetStringDumps
-from wire.keys.untalk import KTNetStringLoads
+from wire.talk.keys.talk import KTNetStringDumps
+from wire.talk.keys.untalk import KTNetStringLoads
 
 
 class Tnetstring(talklet):

wire/talk/urlw.py

 # pylint: enable-msg=f0401
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KURLEncodeDumps
-from wire.keys.untalk import KURLEncodeLoads
+from wire.talk.keys.talk import KURLEncodeDumps
+from wire.talk.keys.untalk import KURLEncodeLoads
 
 
 class URL(talklet):

wire/talk/xmlrpcw.py

 # pylint: enable-msg=f0401,e0611
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KXMLRPCDumps
-from wire.keys.untalk import KXMLRPCLoads
+from wire.talk.keys.talk import KXMLRPCDumps
+from wire.talk.keys.untalk import KXMLRPCLoads
 
 
 class XmlRpc(talklet):

wire/talk/xmlw.py

     from xml.etree.ElementTree import tostring, fromstring
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KXMLDumps
-from wire.keys.untalk import KXMLLoads
+from wire.talk.keys.talk import KXMLDumps
+from wire.talk.keys.untalk import KXMLLoads
 
 
 class XML(talklet):

wire/talk/yamlw.py

     raise ImportError('requires PyYaml module')
 
 from wire.talk.talklet import talklet
-from wire.keys.talk import KYaMLDumps
-from wire.keys.untalk import KYaMLLoads
+from wire.talk.keys.talk import KYaMLDumps
+from wire.talk.keys.untalk import KYaMLLoads
 
 
 class Yaml(talklet):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.