用于二进制plist的Python模块 [英] Python module for binary plist

查看:289
本文介绍了用于二进制plist的Python模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何Python项目/模块在二进制plist writer上工作?我需要一个用于我正在做的REST实现。我希望服务器发送一个包含二进制plist而不是json的HTTP REsponse。服务器是安装了mod_python和django的Apache。考虑将bplist格式与json一起添加为输出格式,只是为了简化iPhone上的解析,加上减少数据传输。

Is there any Python project/module working on a binary plist writer? I need one for a REST implementation I'm doing. I would like the server to send a HTTP REsponse containing a binary plist instead of json, for example. The server is Apache with mod_python and django installed. Considering adding bplist format alongside json as output formats, just inorder to simplify parsing on the iPhone, plus cutting the data transfers down.

我正在考虑编写自己的,但是对现有项目的贡献是可取的。

I'm thinking of writing my own, but contributing to an existing project would be prefereable.

提前致谢。

推荐答案

我害怕我可能有学习SWIG,自己实现,或者为这个涉及解析二进制plist的爱好项目切换到另一种语言 - 但是在快速 pip搜索plist 之后,我找到了双向列表

I was afraid I might have to learn SWIG, implement this myself, or switch to another language for this hobby project that involves parsing binary plists -- but after a quick pip search plist, I found biplist.

这篇关于用于二进制plist的Python模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆