[pylons-discuss] Cloud 19 tel. 2019-04-08

2019-04-08 Thread Jens W. Klein
--- schaufler --- dollfuss multiclienten shop/mandante faehig startup nachaltige mode logistikanbindung logsta https://www.logsta.com/ -- Klein & Partner KG, member of BlueDynamics Alliance -- You received this message because you are subscribed to the Google Groups "pylons-discuss"

[pylons-discuss] Re: Testing Pyramid Traversal App with ZODB

2019-03-07 Thread Jens W. Klein
On 26.02.19 23:28, Gerhard Schmidt wrote: > Am 25.02.2019 um 10:51 schrieb Jens W. Klein: >> On 24.02.19 08:48, Gerhard Schmidt wrote:> Hi, [...]>>> Is there a way to test if a persistent object would be saved when the >>> transaction is committed. >>

[pylons-discuss] Re: Testing Pyramid Traversal App with ZODB

2019-02-25 Thread Jens W. Klein
On 24.02.19 08:48, Gerhard Schmidt wrote:> Hi, > > I'm writing a pyramid app using traversal and ZODB. Right now i writing > unit tests and try to test if the _p_changed attribute is set after a > method that changes a persistent object. > > The problem is that _p_changed is always False when

[pylons-discuss] Re: Pyramid Registry Creates Too many connections To the Same Server with pysimplesoap

2018-11-16 Thread Jens W. Klein
On 14.11.18 17:42, bher...@uniqueinsuranceco.com wrote: > We are using pyramid for our insured portal at Unique Insurance. > We have had great success with pyramid and still use it to this day! > However we have hit a problem, when we use the pyramid.registry and > register an SOAP object to the

[pylons-discuss] Re: WebSockets API Framework Similar To Cornice

2018-05-08 Thread Jens W. Klein
On 2018-05-08 02:27, Guillermo Cruz wrote: > > I have a REST API built with Cornice that serves as a Web3 endpoint with > Web3.py. And now I would like to add WebSockets support. > > I'm a total newbie when it comes to WebSockets, so I was wondering if > anyone knows of a simple framework like

[pylons-discuss] Cornice: define CORS policy in configuration?

2018-01-08 Thread Jens W. Klein
I have a small application where I want to configure `cors_origins` different dependent on the server its running on (dev/ staging/ live) without allowing access cross those domains. At the moment I have a policy defined in Python in a base.py, import it and use it in my classes with the enpoint

[pylons-discuss] Re: Porting a ZOPE (2.13) application into PYRAMID

2017-09-21 Thread Jens W. Klein
On 2017-09-14 18:12, roberto@gmail.com wrote: > Hello to everybody, > I have an alive application running in (on) ZOPE 2.13. ... > Since ZOPE is dead, or so it seems (at least as own product), > I'm looking for a little-painful-solution to run away from ZOPE. I do not think Zope is dead.

[pylons-discuss] Re: SOAP - spyne

2016-04-29 Thread Jens W. Klein
On 2016-04-29 19:36, Andrew Sawyers wrote: > On 4/29/16 8:57 AM, Miguel Branco wrote: >> I need to integrate my aplication with other that only comunicates by >> soap protocol. My application will be de master and the other will be >> consumer. >> >> From what I have been looking it seems that

[pylons-discuss] Re: Traversal over a filesystem

2016-03-01 Thread Jens W. Klein
On 2015-08-23 16:24, Mike Orr wrote: > Has anyone used traversal over a filesystem for non-static content? One extension in our "node-family" - node.ext.directory[1] - can be used for filesystem traversal in Pyramid - and we're doing so in a Pyramid based framework written by us called Cone[2].

[pylons-discuss] Re: dynamic domain cookie with authtkt?

2016-02-20 Thread Jens W. Klein
rt > >> On Feb 19, 2016, at 07:18, Jens W. Klein <j...@bluedynamics.com> wrote: >> >> I fear did get all the details of authtkt in pyramid.authentication. >> >> I have a Pyramid based service authenticating users against LDAP in >> order to grant them a

[pylons-discuss] dynamic domain cookie with authtkt?

2016-02-19 Thread Jens W. Klein
I fear did get all the details of authtkt in pyramid.authentication. I have a Pyramid based service authenticating users against LDAP in order to grant them access to a webservice. Until know the service was only for one domain valid. There is a reverse proxy in front and I may fetch the domain

[pylons-discuss] Re: How to use Single Sign-On (SSO) with pyramid

2016-02-10 Thread Jens W. Klein
On 2016-02-10 13:15, Sami Pietilä wrote: [...] > How can I authenticate user against external SSO in pyramid app? Pyramid > docs search gave nothing when I tried with "single sign-on" or "SSO". As already commented SSO is a generic concept. If youre SSO is OpenID, OAuth1 or OAuth2 there is the

[pylons-discuss] Re: What do you use for storage abstraction

2015-12-21 Thread Jens W. Klein
I'am not sure if this helps, but if it comes to file system abstraction I really like to use 'fs' https://pypi.python.org/pypi/fs http://docs.pyfilesystem.org/en/latest/ But it does not help with the pyramid/upload/web part - its just a powerful file system abstraction layer/ api hth Jens On

[pylons-discuss] Re: What do folks use for build tools? (buildout alternatives?)

2015-07-21 Thread Jens W. Klein
On 2015-07-21 01:05, Iain Duncan wrote: Hi, we're embarking on a project that will stitch together many apps, and I figured I should do my due diligence on hunting for the state-of-the-nation in python build tools. I've personally used buildout in the past and liked it, but I know for other

[pylons-discuss] Re: Pyramid translation do Brazilian Portuguese

2014-08-18 Thread Jens W. Klein
On 2014-08-18 20:06, Chris McDonough wrote: On 08/18/2014 02:03 PM, Ivan Neto wrote: Hi (sorry for the crossposting), I am part of the Pyramid Brazilian community, and we are planning to translate Pylons project docs, starting with Pyramid, to Brazilian Portuguese. I would like to know how

[pylons-discuss] Re: Traversal root path

2014-05-20 Thread Jens W. Klein
On 2014-05-20 09:00, uralbash wrote: Hello, I'm trying to go to home page (http://localhost:6543/) through traversal. What should be the key of context to traversal choice it? Root is not a key in the dict: the dict object itself is root (context). So the root is a dict - or dict-like - and

[pylons-discuss] Re: Pyramid with traversal an BTree

2014-03-20 Thread Jens W. Klein
Hi, just how we are using BTrees and traversal. I hope it may help or give inspirations. We developed zodict[1][2] and are using it with great success in pyramid applications together with node.ext.zodb[4][5] (which is based on zodict) as the foundation for traversal based applications.

[pylons-discuss] Re: Starting Background Thread with zodb

2014-03-20 Thread Jens W. Klein
On 2014-03-18 14:39, Gerhard Schmidt wrote: On 18.03.2014 14:08, Chris Rossi wrote: It should start its own connection via the standard ZODB API. You might consider moving the extra work to a different process. Redis pub/sub or list objects are good ways to communicate and set up a primitive,

[pylons-discuss] Re: passwords in .ini files?

2014-02-27 Thread Jens W. Klein
Hi Chris, we're using buildout for our setups here and are generating the config files using collective.recipe.template. Now the usernames, passwords and other dynamic elements are in buildout.cfg - no advantage so far. But: We are using a base.cfg and then inheriting dev.cfg, rc.cfg and

Re: AngularJS and Pyramid: Directory Structure

2013-07-29 Thread Jens W. Klein
On 2013-07-25 22:00, Raoul Snyman wrote: Hi folks, I'm starting a project using AngularJS, and I was wondering what others using AngularJS do for directory structure? Do you follow the app/, etc. directories used by AngularJS? I started with my own directory structure, but things don't seem to

Re: Pyramid authentication and rest api

2013-05-22 Thread Jens W. Klein
On 2013-05-15 17:16, tonthon wrote: Hi, one of our web applications based on pyramid is actually handling authentication through the SessionAuthenticationPolicy. We've built a rest API that's reached by ajax calls. We'd like to use the same one from a kivy based application. Any idea how we

Re: Pyramid routing resolver error

2013-04-29 Thread Jens W. Klein
On 2013-04-29 12:46, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 huh? Why should I have one route for two completely different functionalities and make a decision on the view to call further down the road? Does not make sense In pyramid you configure one route and

Re: response from a string ?

2013-04-29 Thread Jens W. Klein
On 2013-04-29 23:37, John Anderson wrote: On Mon, Apr 29, 2013 at 2:24 PM, Jonathan Vanasco jonat...@findmeon.com mailto:jonat...@findmeon.com wrote: what's the best way to create a response from a string ? it's not a file to serve or a template to render. it's driving me a bit crazy

Re: Pyramid, App Engine, Buildout and Nose Tests

2013-03-09 Thread Jens W. Klein
Hi Raoul, this works for me too now! Thanks for the hint! Jens On 2013-03-08 13:20, Raoul Snyman wrote: Ah, solved! I threw out pbp.recipe.noserunner in favour of zc.recipe.egg, and now things are working. Updated configuration so that others can get nose working with pyramid_appengine

Re: Pyramid, App Engine, Buildout and Nose Tests

2013-03-05 Thread Jens W. Klein
Hi Raoul, I'am using pyramid on appengine and tried a lot to get NoseGAE http://farmdev.com/projects/nosegae/ running, but finally failed. I'am using a buildout, which I described here in its base: https://github.com/jensens/pyramid-gae-tutorial I ended up using my own testrunner, but I'am

pyramid_layout: slots and macros in panels

2012-12-12 Thread Jens W. Klein
pyramid_layout is a handy addon i like very much. Unfortunately chameleon zpts macros and fill-slots of the master template are not available in a panel. Is it technically possible to make it work? Is there any good argument why it shall not work that way? tia Jens -- You received this

Re: Chameleon on Google App Engine

2012-12-11 Thread Jens W. Klein
Am Dienstag, 11. Dezember 2012 01:59:57 UTC+1 schrieb Michael Lenaghan: I'm starting to put together a Pyramid-based app that's meant to run on Google App Engine. I'd like to be able to use Chameleon for templates, but I've seen reports of it being slow in that environment. The problem is

Re: Good form library for pyramid ? Better doing it by hand ?

2012-12-11 Thread Jens W. Klein
for those who do not like to write forms in python. Writings forms in YAML is also not in YAFOWIL core, it is only an addon for yafowil. hth Jens Thank you for your previews answer Regards, Nicolas Le vendredi 7 décembre 2012 16:48:45 UTC+1, Jens W. Klein a écrit : Anyway

Re: Good form library for pyramid ? Better doing it by hand ?

2012-12-07 Thread Jens W. Klein
Anyway, not that popular yet, but I recommend to use YAFOWIL for forms in pyramid. Ok, I'am biased, because I'am one of the authors. Include the yafowil.webob and yafowil.bootstrap packages and get started. Dcumentation and live-example are at http://yafowil.info Example registration form

Re: Pyramid with GAE error

2012-11-05 Thread Jens W. Klein
On 2012-10-05 04:56, Jacob Hite wrote: Thanks Alejandro for the tip. Indeed things work well with pyramid 1.3. Not so well with 1.4. I run in similar problems with 1.4 and tried to fix them. Even if not tested in-depth, here are my working results.