Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
This isn't a technical question, however after hours of scouring google I have not found an viable examples or resources to learn the Wokkel framework. I've extrapolated what I can from the source code itself, and the unit tests but still do not have a great understanding of how to implement subprotocols.
I'm working with a jabber server using almost all custom stanzas. If anyone has any resources or examples they could lend, that would be awesome.
Thanks
I'm not sure what kind of "resources" you're looking for, but there are lots of examples out there:
http://wokkel.ik.nu/wiki/XMPPClients
An XMPP Echo Bot with Twisted and Wokkel and Echo Bot Part 2: Making a Component
Twisted Wokkel Bot
Twisted / Wokkel XMPP Client Example
XMPP-Ping Examples
There are also numerous resources linked in How do you create a simple Google Talk Client using the Twisted Words Python library?
If you need more help or want feedback from specialists, the relevant mailing list is Twisted-Jabber.
In addition, Wokkel is closely related to Twisted Words, so check out materials related to that project, especially http://twistedmatrix.com/documents/current/words/.
I've started adding Sphinx-based prose documentation, along with the existing example scripts and put this up on http://wokkel.ik.nu/documentation. It also includes an API Reference generated using pydoctor.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Fabulous people at SO,
I need to process a (bulky) set of data thru various steps; each step can involve mapReduce (using Disco), general distributed processing (using Celery) or some simple processing on the server. I am searching for a workflow engine/library/framework that can help manage such a workflow.
I have looked into numerous options and spiff workflow seems to be the most flexible but it doesn't seem to support actions on state transition and it's single threaded (so I am not sure how parallel gateways can be handled).
Please advise on the approach/tools to manage such workflow/jobs. If there is a framework that comes with a monitoring tool (preferably web based or can be integrated with Pyramid) then even better.
Thanks in advance
For pipelining batch data processing tasks, we use a solution based on great Spotify's Luigi framework. It's central scheduler scheduling and monitoring tool is a web server based on Tornado.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking hard but I cannot find any XMPP server in python with the following features:
using epoll, just like http://www.gevent.org/
supporting BOSH
modular design
use little RAM/CPU for up to 1000 users
more important than the previous requirement: the CPU/RAM usage must be predictable
Prosody looks quite good feature-wise, but I don't know how many users it can support simultaneously and how it is performance-wise.
Could someone give me an idea?
For a rough idea of how Prosody is performance-wise, see this post on their ML. https://groups.google.com/d/topic/prosody-users/SlXpfwJfgY4/discussion
xmpp.org uses Prosody, any other questions? :P
btw, if you want to toy with it a little, you can always run prosody using luajit (didn't test that myself, but I'm fairly sure it would work). Expect at least 2-4x faster execution.
Look # ejabberd too.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I wonder if there is an open source CMS coded in Python that is as big as Drupal (or Joomla or Wordpress).
You are looking for Django. (Edited to say: OK, it's a web application framework, but there's lots of overlap. Django-CMS is maybe more what you want, but is in no way as big as Drupal or Joomla.)
Plone is an open source python powered CMS.
check out Web2py it comes tons usefully stuff
I'm looking for similar alternatives and have found http://www.lfcproject.com/blog/release-10-final. At least they just had a release. Looks promising.
Btw, development of Django-CMS looks either dead or stale :\
Tendenci was recently released into the open source community and is written in Python on a Django framework.
Tendenci CMS comes with a ton of features that require plugins/modules typically with other CMS' like membership management, selective permissions, event registration and event calendar, jobs board, video and photo galleries, etc.
You can download Tendenci on Github at https://github.com/tendenci/tendenci.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm currently supporting a Python web app with increasingly complicated user/role/permission management requirements. Currently, we are rolling our own user, groups, permissions, etc. code and supporting database.
I'd like to find something like ASP.NET membership that can help manage user authentication and authorization, rather than risk security issues in continuing to create an increasingly complicated custom solution. Are there any similar projects out there worth taking a look at?
If you are looking for off site user authentication you might want to consider openid. People have added openid support to cherrypy.
If you are looking for more user management type code. I guess it depends on exactally what you are doing but others have done user management before, why not leverage off them. Skeletonz is a CMS written on top of cherrypy. If you are not wed to cherrypy you might also want to consider Pinax. It's built on Django with the idea of reusing work others have done so you don't have to do it again.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm playing around with Twisted and documentation found on their homepage doesn't answer all my questions.
The topic I am most interested at the moment is Twisted Application Framework. Also some open source servers using twisted framework would provide nice material for studying how it's all tied up together in a bigger project.
So far I've checked out iCal and read documentation on twisted website (3x) and few good articles I found in google.
I think you need to get your concepts right to start with. I found this blog post to be helpful.
Introduction to Asynchronous Programming and Twisted
The published book is pretty useless, in my opinion.
I recommend starting with the "deferred" docs online, and making absolutely sure you understand what asynchronous means and what deferreds are for. The best online docs that I've found are on the official site, though they could surely use some polishing:
http://twistedmatrix.com/trac/wiki/Documentation
The developers recommend reading the source as well, though if you have specific questions, I've found that the devs hang out and respond on both the IRC channel (#twisted on the freenode network) and the online mailing lists (There's a general and a twisted-web specific list)
As for blogs, there's at least the two below (both blogs are by twisted developers). I bet if you asked this same question on the twisted-python mailing list, you'd get a much better and more comprehensive answer than I could possibly give. :-)
http://oubiwann.blogspot.com/
http://glyph.twistedmatrix.com/
Divmod has some medium sized projects which use Twisted and might make good additions to your reading list. Additionally, the Twisted Community Code in Launchpad will give you a much longer list of Twisted-based projects to look at.
I found the Twisted Network Programming Essentials book to be a useful guide when first learning Twisted. Although it is more of a Twisted "cookbook". Some of its "recipes" are useful.
There's an overview here: The Twisted Network Framework.
Bruce Eckel wrote a nice article that points out some of the weird names Twisted uses: Grokking Twisted. According to that article, there are some good examples in The Python Cookbook, 2nd Ed (O'Reilly).
This unofficial tutorial is, in my opinion, the absolute definitive way to learn Twisted.
It contains step by step examples on how to use everything from super basic to advanced features. Everything is motivated by first doing it the hard way so that you really understand what problem each part of the Twisted solves.
I've used software based on Twisted for five years but it was only after working this tutorial that I now really understand it and use it from scratch for my own programs.
This is not self-promotion. I do not know the author of the tutorial to which I linked.