Libimobiledevice的Python绑定?

1 投票
1 回答
3283 浏览
提问于 2025-04-16 22:19

有人能帮我解释一下,或者告诉我哪里可以找到关于如何在我的应用程序中使用libimobiledevice的Python绑定的信息吗?

我已经搜索过文档之类的东西,但什么都没找到。

1 个回答

1

2015年11月更新:NoBugs在评论中添加了一个使用绑定的示例链接:https://github.com/upbit/python-imobiledevice_demo

看起来没有专门针对Python绑定的文档。他们使用了SWIG,如果你会看C语言,这里有源代码:http://cgit.sukimashita.com/libimobiledevice.git/tree/swig/imobiledevice.i

似乎还有另一个项目提供libimobile设备的封装:https://github.com/bryanforbes/imobilesync/。这个可能更容易使用,而且因为是Python写的,你可能能看懂代码。

API的文档在这里:http://www.libimobiledevice.org/docs/html/files.html

如果这些都没帮助,可以试着在irc.freenode.net的#libimobiledevice频道询问文档相关的问题。

撰写回答