Beaker - session backend over Tokyo Tyrant
I would want to propose a session backend for Beaker that stores sessions into a Tokyo Cabinet [1] database. You can read advantages over memcached in the page of LightCloud [1]. LightCloud adds a layer to Tokyo Tyrant [2] to gets horizontal scaling. If you just use Tokyo Tyrant then you can only scale by buying bigger servers, but if you use LightCloud you can scale by buying extra servers. There is too a session backend for Django [3]. [1] http://tokyocabinet.sourceforge.net/index.html * Tokyo Cabinet Python bindings: http://pypi.python.org/pypi/pytc/ * Slides: http://michael.susens-schurter.com/blog/2009/03/11/tokyo-cabinet-pytyrant-talk/ [2] http://opensource.plurk.com/LightCloud/ [3] http://pypi.python.org/pypi/django-tokyo-sessions/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Beaker - session backend over Tokyo Tyrant
For the Tokyo Cabinet Python bindings, has been released a new library based on pytc with several improvements: http://github.com/rsms/tc/tree/master http://blog.hunch.se/archive/2009/03/02/tokyo-cabinet-python-bindings On 16 mar, 10:29, Kless jonas@googlemail.com wrote: * Tokyo Cabinet Python bindings:http://pypi.python.org/pypi/pytc/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
repoze.who CAS plugin
Hello Does anyone know if there's a repoze.who plugin for CAS (Central Authentication Service)? Thanks, -- Eric --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Beaker is not keeping the session active.
The easy_install link you provided is a link to the Routes package. I set beaker.session.auto = True and it fixed my problem, thank you. I will test beaker 1.2.4 once I get a link to it. -Kevin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Zgubiłem komórkę / I've lost my mobile
Zgubiłem ostatnio telefon komórkowy. Ponieważ nie mam dostępu do starego, proszę o zapisanie i używanie nowego numeru: +48 794 092 162. Przepraszam osoby niezainteresowane, ale zależy mi, aby ta wiadomość dotarła do całej reszty. Bartłomiej Romański - I've lost my mobile phone. Since I cannot access the old one, please use my new number: +48 794 092 162. If you don't know me, I do apologise for spam! Bartłomiej Romański --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: repoze.who CAS plugin
On Monday March 16, 2009 16:15:17 Eric Lemoine wrote: Does anyone know if there's a repoze.who plugin for CAS (Central Authentication Service)? Not yet. But if you want, you can create it by reading the repoze.who docs and posting your questions (if any) to the Repoze mailing list (or joining #repoze on Freenode). HTH, -- Gustavo Narea xri://=Gustavo. | Tech blog: =Gustavo/(+blog)/tech ~ About me: =Gustavo/about | --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Beaker Development
I've got a patch I'd like to submit for Beaker, but I can't figure out where I should send it... can anyone point me to the appropriate beaker development list / email address / website? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Beaker Development
On Mar 16, 2009, at 10:47 AM, Eli Collins wrote: I've got a patch I'd like to submit for Beaker, but I can't figure out where I should send it... can anyone point me to the appropriate beaker development list / email address / website? You can fork the Beaker repo at bitbucket: https://bitbucket.org/bbangert/beaker/overview/ When you have new changes to your fork that I should pull, just make a pull request. Cheers, Ben smime.p7s Description: S/MIME cryptographic signature
Re: repoze.who CAS plugin
Thanks for response Gustavo. Eric 2009/3/16, Gustavo Narea m...@gustavonarea.net: On Monday March 16, 2009 16:15:17 Eric Lemoine wrote: Does anyone know if there's a repoze.who plugin for CAS (Central Authentication Service)? Not yet. But if you want, you can create it by reading the repoze.who docs and posting your questions (if any) to the Repoze mailing list (or joining #repoze on Freenode). HTH, -- Gustavo Narea xri://=Gustavo. | Tech blog: =Gustavo/(+blog)/tech ~ About me: =Gustavo/about | -- Envoyé avec mon mobile --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Google Summer of Code '09
On Mar 12, 2009, at 10:10 PM, Philip Jenvey wrote: Pylons has submitted an application to GSoC '09, so we hope to be involved. I've created a page on the wiki to list out ideas for projects: http://wiki.pylonshq.com/display/pylonscookbook/Google+Summer+of+Code Also if anyone is interested in mentoring, please add your name to the list. I'm guessing the more potential mentors we have listed, the better our chances of acceptance. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Helpers in 0.9.7
I recently began development with Pylons 0.9.7. The online docs suggest using a function called url_for that should be in myproject.lib.helpers.py. But, the file is essentially empty. Is helpers.py supposed to come with any functions at all, or are we supposed to write url_for (and any others mentioned in the docs)? Thanks. Edgar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Helpers in 0.9.7
Hi Edgar You normally add the imports you want to helpers.py, which then makes them available as h.some_import. For example, I use the following line to get the url_for() function: from routes import url_for Cheers JD 2009/3/17 edgarsmolow edgarsmo...@gmail.com I recently began development with Pylons 0.9.7. The online docs suggest using a function called url_for that should be in myproject.lib.helpers.py. But, the file is essentially empty. Is helpers.py supposed to come with any functions at all, or are we supposed to write url_for (and any others mentioned in the docs)? Thanks. Edgar -- /Angle-parked in a parallel universe.../ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Helpers in 0.9.7
Thanks, John, but that's not my question. My question is not about how to access functions in the module. My question is about why the documentation talks about using the url_for () function, but it is not present in the module. Are we expected to write it ourselves, or was there a problem in the WAY I set up the application? For instance, perhaps I missed a step... Thanks. Edgar On Mar 16, 5:14 pm, John Dickson capts...@gmail.com wrote: Hi Edgar You normally add the imports you want to helpers.py, which then makes them available as h.some_import. For example, I use the following line to get the url_for() function: from routes import url_for Cheers JD 2009/3/17 edgarsmolow edgarsmo...@gmail.com I recently began development with Pylons 0.9.7. The online docs suggest using a function called url_for that should be in myproject.lib.helpers.py. But, the file is essentially empty. Is helpers.py supposed to come with any functions at all, or are we supposed to write url_for (and any others mentioned in the docs)? Thanks. Edgar -- /Angle-parked in a parallel universe.../ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Helpers in 0.9.7
Sounds like an error in the docs. In the particular case of ``url_for``, John's suggestion is probably what you want. Other built in helpers can be found in the WebHelpers package. In earlier versions of Pylons, helpers.py included these imports for you; now, you import the ones you want. On Mar 16, 3:36 pm, edgarsmolow edgarsmo...@gmail.com wrote: Thanks, John, but that's not my question. My question is not about how to access functions in the module. My question is about why the documentation talks about using the url_for () function, but it is not present in the module. Are we expected to write it ourselves, or was there a problem in the WAY I set up the application? For instance, perhaps I missed a step... Thanks. Edgar On Mar 16, 5:14 pm, John Dickson capts...@gmail.com wrote: Hi Edgar You normally add the imports you want to helpers.py, which then makes them available as h.some_import. For example, I use the following line to get the url_for() function: from routes import url_for Cheers JD 2009/3/17 edgarsmolow edgarsmo...@gmail.com I recently began development with Pylons 0.9.7. The online docs suggest using a function called url_for that should be in myproject.lib.helpers.py. But, the file is essentially empty. Is helpers.py supposed to come with any functions at all, or are we supposed to write url_for (and any others mentioned in the docs)? Thanks. Edgar -- /Angle-parked in a parallel universe.../ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Helpers in 0.9.7
Hi Edgar OK, a minor misunderstanding there... As far as I know, the helpers module is there for whatever *you* want to be easily available in the UI code for *your* app. Pylons doesn't (and probably couldn't) provide a standard helpers.py that is right for every application. This also seems to fit the pattern of the other modules generated in /config and /lib for your application So, if you want to use a function like routes.url_for() in your UI, the easy way to achieve this is to import it in helpers.py (as I showed below) - then you can access it as h.url_for() in your controllers, templates etc. It's also common to import things like webhelpers.html.tags.* etc., particularly for form handling. Hope this helps JD 2009/3/17 edgarsmolow edgarsmo...@gmail.com Thanks, John, but that's not my question. My question is not about how to access functions in the module. My question is about why the documentation talks about using the url_for () function, but it is not present in the module. Are we expected to write it ourselves, or was there a problem in the WAY I set up the application? For instance, perhaps I missed a step... Thanks. Edgar On Mar 16, 5:14 pm, John Dickson capts...@gmail.com wrote: Hi Edgar You normally add the imports you want to helpers.py, which then makes them available as h.some_import. For example, I use the following line to get the url_for() function: from routes import url_for Cheers JD 2009/3/17 edgarsmolow edgarsmo...@gmail.com I recently began development with Pylons 0.9.7. The online docs suggest using a function called url_for that should be in myproject.lib.helpers.py. But, the file is essentially empty. Is helpers.py supposed to come with any functions at all, or are we supposed to write url_for (and any others mentioned in the docs)? Thanks. Edgar -- /Angle-parked in a parallel universe.../ -- /Angle-parked in a parallel universe.../ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: unicode question
A lot of times in our apps, we use the ignore option for utf8. We get unicode errors in our mako mostly, from titles of auctions, and other things of that nature. I've even experienced them in URL's. We catch it like this: offendingString = offendingString.decode('utf8', 'ignore') This might not be exactly what you are asking, but I hope it helps. On Mon, Mar 16, 2009 at 10:07 PM, Jose Galvez jj.gal...@gmail.com wrote: I've had issues in the past with unicode being injected into my apps usually from database entries. Most of these problems could mostly likely be avoided if I had added # -*- coding: utf-8 to the top of my controllers. But why isn't this the default behavior? If I make a controller with paster controller controllername shouldn't this be added to the top by default? especially since everything in pylons is supposed to be in unicode it would make things easer wouldn't it? Also will any of this be needed once python switches to unicode as the default? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Helpers in 0.9.7
On Mar 16, 2009, at 2:06 PM, edgarsmolow wrote: I recently began development with Pylons 0.9.7. The online docs suggest using a function called url_for that should be in myproject.lib.helpers.py. But, the file is essentially empty. Is helpers.py supposed to come with any functions at all, or are we supposed to write url_for (and any others mentioned in the docs)? The official docs here: http://pylonshq.com/docs/en/0.9.7/ don't refer to url_for anywhere. The articles on the cookbook and also the online copy of the book may be a little out of sync and still refer to url_for/h.url_for. url_for still works, but the pylons.url global is preferred. -- Philip Jenvey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---