Projects tagged ‘python’ and ‘serialization’


Jump to tag:

Projects tagged ‘python’ and ‘serialization’

Filtered by Project Tags python serialization

Refine results Project Tags object (2) reflection (2) rpc (2) java (2) concurrency (1) zodb (1) orm (1) sql (1) protobuf (1) simple (1) zlib (1) xml-rpc (1)

[10 total ]

6 Users

Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats.
Created about 1 year ago.

1 Users

The goal of this tool is to provide high-level language features (like introspection and serialization) to C/C++ without extra effort. It also can be used for fast-prototyping as it allows programs ... [More] and libraries to export and reuse all its features into very high-level languages like python. [Less]
Created 12 months ago.

0 Users

php serialize / unserialize implementation in Python (with php-objects support) Designed for copypasting. Get it here: http://code.google.com/p/php-serialize/source/browse/trunk/phpserialize.py and ... [More] save to "phpserialize.py" file in your project. Usage: >>> import phpserialize >>> print phpserialize.unserialize('a:1:{s:5:"Admin";i:0;}') {'Admin': 0} >>> print phpserialize.serialize([1, 2, "aaaa", {'k': 'v'}]) a:4:{i:0;i:1;i:1;i:2;i:2;s:4:"aaaa";i:3;a:1:{s:1:"k";s:1:"v";}} [Less]
Created 5 months ago.

0 Users

Python OODBProvides a Pythonic Object-Oriented BTree Database that stores pickled Python objects using a variety of Object Picklers ranging from the Python native cPickle to a Safe-Serializer that ... [More] stores Python objects in a safe manner thus allowing Objects to be stored under Linux and retrieved under Windows and vice-versa. poodle also supports json for those who just have to have json. The goal of this project is to take the current oodb and embellish it to allow multi-user access as well as a more powerful Cython based Safe-Serializer. The goal of this project is also to build a SQL front-end for what will become a powerful multi-user database every bit as powerful as ZODB from Zope. This project must support Stackless Python 2.5.2 as well as CPython 2.5.2 on both Windows XP/Vista and Ubuntu/CentOS Linux. [Less]
Created 12 months ago.

0 Users

pyb is a minimal, dynamic, pure Python implementation of Protocol Buffers. What does this mean? minimal: Aiming for 1000-1500 total lines of code. Less code is faster code, especially in Python. ... [More] dynamic: no code generation, no build step pure Python: usable without compiling any dependencies; usable in restricted environments like App Engine See __init__.py for some comments. Compare pyb's list_people.py with the official protobuf list_people.py. They are quite similar. TODO: Switch to lazy decoding. Only decode a level of the message tree when an attribute at that level has been accessed. [Less]
Created 3 months ago.

0 Users

Premarshaller prepares Python object trees for RPC (XML-RPC, JSON-RPC, REST) in robust manner: Cyclic references are detected and secure attributes are cleared. This will allow you to dump your ... [More] objects to external systems safely without extra effort. Premarshaller supports pluggable backends. It ships with Django specific premarshallers. [Less]
Created 12 months ago.

0 Users

pyxser stands for python xml serialization and is a python object to XML serializer/deserializer which validates every XML deserialization against the pyxser 1.0 XML Schema.
Created 9 months ago.

0 Users

Rss for pythonCreates a list of python objects with the fields of the feed. So if your feed looks like: ... this is a this is b this is the second a < this is the second b ... [More] you will get a list of Item objects with the fields: item.a , and item.b with the values taken from the field. Check out the example ...reader = RssReader("http://feeds.digg.com/digg/news/popular.rss") reader.set_item_tag("item") reader.add_item_desc(remote_name = "title" , local_name="title",type=unicode) \ .add_item_desc(remote_name = "description", local_name = "desc" , type=unicode) \ .add_item_desc(remote_name = "pubDate" , local_name = "date" , type=unicode) \ .add_item_desc(remote_name = "digg:diggCount" , local_name = "diggs" , type=int) \ .add_item_desc(remote_name = "digg:commentCount" , local_name = "comments" , type=int) \ .add_item_desc(remote_name = "digg:username" , local_name = "by" , type=unicode) \ print("First 10 digg stories - sorted by digg count") items = reader.read() items.sort( key = lambda item : item.diggs , reverse = True) for item in items[:10]: print( "\"%s\", by %s, comments: %d, diggs: %d" % (item.title ,item.by ,item.comments,item.diggs)) [Less]
Created 3 months ago.

0 Users

python java serialization reader
Created 12 months ago.