有没有关于 python-purple 的例子?

发布于 2024-07-29 07:46:51 字数 92 浏览 3 评论 0原文

我想学习它,但我知道从哪里开始。 那里的所有内容都建议阅读 libpurple 源代码,但我认为我对 c 的理解还不足以真正掌握它。

I want to learn it but I have no idea where to start. Everything out there suggests reading the libpurple source but I don't think I understand enough c to really get a grasp of it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

‖放下 2024-08-05 07:46:52

目前还没有太多内容... 简介howto来源(在这里在线浏览它们,但当然你可以 git 克隆它们)是关于它的。 特别是,您可以从 这里确实有一些使用 Purple 设施的小例子(绝对不够,但也许它可以帮助您在一些“dir”、“help”和类似...?)

There isn't much about it yet... the intro, the howto, and the sources (here browsing them online but of course you can git clone them) are about it. In particular, the tiny example client you can get from here does have some miniscule example of use of purple's facilities (definitely not enough, but maybe it can get you started with the help of some 'dir', 'help' and the like...?)

绝對不後悔。 2024-08-05 07:46:52

不确定这会有多大帮助,但根据 此处 的信息,看来您只是安装 python-purple 并像普通 Python 函数一样导入和调用函数。

Not sure how much help this will be but based on information from here, it seems like you just install python-purple and import and call the functions as normal Python functions.

樱花细雨 2024-08-05 07:46:52

无法帮助您提供具体的示例,因为我决定使用其他东西。 然而,克隆存储库后我想做的第一件事就是删除 ecore 依赖项。 以下是提交到邮件列表的补丁,用于实现此目的: https://garage.maemo.org/pipermail/python-purple-devel/2009-March/000000.html

顺便说一句,如果您正在寻找 AIM,请查看twisted.words。 对于雅虎,尝试获取 curphoo 或锌的来源(两者都是控制台 YMSG 客户端)。 对于 GTalk/Jabber,我在 xmpppy 方面获得了很好的体验。

Can't help you with a concrete example as I decided to use something else. However, one of the first things I wanted to do after I cloned the repo was remove the ecore dependency. Here's a patch submitted to the mailing list to do just that: https://garage.maemo.org/pipermail/python-purple-devel/2009-March/000000.html

Incidentally, if you're looking for AIM take a look at twisted.words. For Yahoo, trying getting the source for curphoo or zinc (both are console YMSG clients). For GTalk/Jabber, I've had good experiences with xmpppy.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文