I am from a Java background and now working on a django application. Need your input if I am in the wrong direction. I am trying to implement zope.in ...
I am from a Java background and now working on a django application. Need your input if I am in the wrong direction. I am trying to implement zope.in ...
I'm trying to use an old code which has been developed by a Github developer. The code uses implements in zope.interface library to declare interfaces ...
I'd like to check at runtime, for example, that a given object has methods foo() and bar(). My research system, built in python 3.6, is highly parame ...
Why I cant run this code? I already have zope.interface I have try update the path but still doesn't work, I don't know why. See the image above: ...
I have next class: And when I add it to zope registry: I got: TypeError: The adapter factory doesn't have a __component_adapts__ attribute and n ...
On Mac: Cannot figure out why it is there, but not importing the module. ...
I am using Plone 4.3 and I have a form.SchemaForm plone.directives have an interface that has a start field from IEventBasic and a validator: In my ...
I am trying to understand Annotations from this document: http://docs.zope.org/zope.annotation/index.html However the example fails when run. I get ...
I try to create interface with @staticmethod and @classmethod. Declaring class method is simple. But I can't find the correct way to declare static me ...
I finally got pip install buildbot-slave to work on Win7 (thanks to another answer on this site), and now when I attempt to create a build slave via: ...
I have a bunch of dictionaries, which I would like to annotate with type information, to be able to later get adapters for them. In the following exam ...
I'm using zope.interface module to declare an interface with some methods and attributes. Also, cannot I somehow declare not only the attribute names, ...
The entire return when running "sudo python ./mining_proxy.py" is: This leads me to believe that zope.interface is not installed. So I try to insta ...
I am trying to create standalone exe of twisted application using PyInstaller. Everything is ok, even executable file is getting build, but its not wo ...
I use python ,and want to install module zope.interface in window 7, I used the cmd : but the console show : Please let me know if you have any ...
I'm reading the awesome tutorial about the zope component architecture from: http://www.muthukadan.net/docs/zca.html#adapters I can't seem to under ...
I need to add an attribute for every attribute in an interface. So I am trying to dynamically modify it to add them, but not with much success for now ...
I am installing a project in virtual environment. I am getting error Version of this module as 4.0.5 I tried the same on my machine (not virtu ...
I have an Interface like: I have implementations of this interface for both Git, and Mercurial. Now I want to write repository-factory that takes a ...
I would expect when I make an interface IB inherit from IA, then use interface.providedBy() to query an instance of B (which implements IB), I would s ...