Re: websockets in pyramid

2011-12-05 Thread Etienne
Thanks for the links. I've tried to install socket_io but it fails with gevent. I will go on using html5 ServerSendEvent as I do with Pylons. The drawback is there is a lot of useless stream overloading the server. Could you please tell me how to write for pyramid the equivalent of the Pylons

config.add_wsgi_app?

2011-12-05 Thread Michael Kerrin
Hi, I am starting to use Pyramid for a project and I want to integrate some third party code of mine that has already been developed and provides a WSGI application already. Ideally I want some code in my entry point to my Pyramid app that does the following:: def main(global_config,

Re: config.add_wsgi_app?

2011-12-05 Thread Michael Merickel
Does this help? Basically you can add a view that is actually a wsgi application. http://docs.pylonsproject.org/projects/pyramid/en/1.2-branch/api/wsgi.html On Mon, Dec 5, 2011 at 6:57 AM, Michael Kerrin michael.ker...@gmail.comwrote: Hi, I am starting to use Pyramid for a project and I want

Re: config.add_wsgi_app?

2011-12-05 Thread Michael Merickel
As a quick fix you can just wrap your object in a function. def my_wsgi_app(environ, start_response): return MyWsgiObj(environ, start_response) config.add_view(wsgiapp2(my_wsgi_app), name='jinja2js') On Mon, Dec 5, 2011 at 11:06 AM, Michael Kerrin michael.ker...@gmail.comwrote: Yipe,

Pyramid on GAE / Python 2.7

2011-12-05 Thread Andreas Reuleaux
According to the docs [1] / release notes [2] google app engine runs on python2.7 now, i. e. no need to use python2.5 any more. I wonder if anyone has bothered to try out pyramid on this gae/python2.7 combination and would update the docs? In particular the tutorial Running Pyramid on Google’s

Re: Pyramid on GAE / Python 2.7

2011-12-05 Thread Mike Orr
On Mon, Dec 5, 2011 at 10:49 AM, Andreas Reuleaux reule...@web.de wrote: According to the docs [1] / release notes [2] google app engine runs on python2.7 now, i. e. no need to use python2.5 any more. I wonder if anyone has bothered to try out pyramid on this gae/python2.7 combination and

Re: Pyramid on GAE / Python 2.7

2011-12-05 Thread Andreas Reuleaux
OK, thanks so far. I will have a go and see if it works. -Andreas Mike Orr sluggos...@gmail.com writes: On Mon, Dec 5, 2011 at 10:49 AM, Andreas Reuleaux reule...@web.de wrote: According to the docs [1] / release notes [2] google app engine runs on python2.7 now, i. e. no need to use

Re: Are there some admin lib like web2pyInstantAdmin or ActiveAdmin for Pyramid ?

2011-12-05 Thread runyaga
Stephane, I wounder if there are a project likehttp://sramana.in/web2py-appadmin2/orhttp://activeadmin.info/for Pyramid ? I knowhttp://docs.formalchemy.org/pyramid_formalchemy/but there are other things ? Try Ptah. It may provide you a Management UI and CRUD models which serve your

Re: Zope 2 on a Pyramid

2011-12-05 Thread runyaga
First, I would like to say that we have not announced Ptah formally because of two reasons: 1. The documentation is underwhelming. I apologize for that. It can be found here at readthedocs: http://ptahproject.readthedocs.org/en/latest/index.html 2. We wanted to push features down into

Re: Pyramid on GAE / Python 2.7

2011-12-05 Thread Mike Orr
On Mon, Dec 5, 2011 at 12:07 PM, Andreas Reuleaux reule...@web.de wrote: According to the docs [1] / release notes [2] google app engine runs on python2.7 now, i. e. no need to use python2.5 any more. I wonder if anyone has bothered to try out pyramid on this gae/python2.7 combination and

Pyramid Job in Los Angeles

2011-12-05 Thread Michael
Folks, with the blessing of Chris McDonough I'd like to post this We, [developers at Cars.com] are Looking for a Python Developer [2 positions]. We work with Pylons Pyramid Framework, Celery, RabbitMQ and other fun technologies which will replace the current legacy PHP and Java code. We love

Re: Pyramid on GAE / Python 2.7

2011-12-05 Thread Thomas G. Willis
Actually, as the first link indicates, python2.7 is still experimental on GAE. I've been trying to port an app to the 2.7 runtime for a few weeks now and it's not going smoothly to say the least. Most of the trouble is I believe is related to the SDK/dev server does not quite support 2.7

Re: pyramid on Heroku?

2011-12-05 Thread 机械唯物主义 : linjunhalida
No, I'm not using pyramid, I'm using rails... I don't know how it use pyramid, it is too hard for me.. 2011/12/5 znetor zne...@gmail.com: 机哥在搞pyramid 啊 -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: websockets in pyramid

2011-12-05 Thread Raikage
I use hookbox in conjunction with pyramid You might want to try hookbox http://labs.gameclosure.com/hookbox/ . Hookbox mailing list is http://groups.google.com/group/hookbox. hookbox will do long polling if websocket is not implemented in the browser I also have a fork at

Re: websockets in pyramid

2011-12-05 Thread Brian O'Connor
I'm not using pyramid, so take this for what it's worth. We use Pylons 1.0 in our setup. However, it shouldn't really matter. We started our project using hookbox, and it was an excellent resource to get started really fast using websockets / long polling. However - hookbox has some serious