Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zopefoundation/zope.interface
/ functions
Functions
1,810 in github.com/zopefoundation/zope.interface
⨍
Functions
1,810
◇
Types & classes
654
Method
_test
()
src/zope/interface/tests/test_declarations.py:1302
Method
_test
()
src/zope/interface/tests/test_interface.py:1044
Method
_utility_registrations_cache
(self)
src/zope/interface/registry.py:199
Method
_v_attrs
(self)
src/zope/interface/declarations.py:264
Function
_zic_module_exec
Handler for the 'execute' phase of multi-phase initialization * * See: https://docs.python.org/3/c-api/module.html#multi-phase-initialization * and
src/zope/interface/_zope_interface_coptimizations.c:2681
Function
_zic_state_clear
src/zope/interface/_zope_interface_coptimizations.c:2223
Function
_zic_state_traverse
src/zope/interface/_zope_interface_coptimizations.c:2202
Method
aMethod
()
src/zope/interface/tests/test_document.py:140
Method
aMethod
()
src/zope/interface/tests/test_document.py:385
Method
adapter_hook
Adapt an object using a registered adapter factory. name must be text.
src/zope/interface/interfaces.py:875
Method
addValue
(existing, new)
src/zope/interface/tests/test_adapter.py:336
Method
alsoProvides
Declare additional interfaces directly for an object. For example:: alsoProvides(ob, I1) is equivalent to::
src/zope/interface/interfaces.py:730
Method
assertLeafIdentity
(self, leaf1, leaf2)
src/zope/interface/tests/test_adapter.py:946
Method
astimezone
Return a datetime object with new tzinfo member tz, adjusting the date and time members so the result is the same UTC time as self, but
src/zope/interface/common/idatetime.py:369
Method
attr
(self)
src/zope/interface/tests/test_verify.py:437
Function
bar
(baz)
src/zope/interface/tests/dummy.py:23
Method
bar
The bar method
src/zope/interface/tests/test_verify.py:640
Method
bar
(a, b)
src/zope/interface/tests/test_verify.py:647
Method
bar
DOCSTRING
src/zope/interface/tests/test_interface.py:2804
Method
bar
()
src/zope/interface/tests/test_advice.py:100
Method
bar
Just a note.
src/zope/interface/tests/idummy.py:22
Function
bench_getattr
(loops, name, get=getattr)
benchmarks/micro.py:123
Function
bench_iface_call_no_conform_no_alternate_not_provided
(loops)
benchmarks/micro.py:140
Function
bench_iface_call_no_conform_provided_deep
(loops)
benchmarks/micro.py:198
Function
bench_iface_call_no_conform_provided_wide
(loops)
benchmarks/micro.py:194
Function
bench_iface_call_no_conform_w_alternate_not_provided
(loops)
benchmarks/micro.py:155
Function
bench_iface_call_w_conform_return_non_none_not_provided
(loops)
benchmarks/micro.py:175
Function
bench_iface_call_w_conform_return_none_not_provided
(loops)
benchmarks/micro.py:165
Function
bench_in
(loops, o)
benchmarks/micro.py:84
Function
bench_query_adapter
(loops, components, objs=providers)
benchmarks/micro.py:108
Function
bench_sort
(loops, objs)
benchmarks/micro.py:93
Function
broken_function
This is a global function with a simple argument list. It exists to be able to report the same information when formatting signatures.
src/zope/interface/tests/test_exceptions.py:87
Method
buffer
(it)
src/zope/interface/adapter.py:568
Method
build_adapters
(L, MT)
src/zope/interface/tests/test_adapter.py:265
Method
build_extension
(self, ext)
setup.py:44
Method
build_provided
(P)
src/zope/interface/tests/test_adapter.py:843
Method
build_subscribers
(L, F, MT)
src/zope/interface/tests/test_adapter.py:800
Method
changed
(self, originally_changed)
src/zope/interface/declarations.py:334
Method
changed
(self, ignored=None)
src/zope/interface/adapter.py:768
Method
changed
(self, originally_changed)
src/zope/interface/adapter.py:966
Method
changed
(self, orig)
src/zope/interface/tests/test_adapter.py:134
Method
classImplements
Declare additional interfaces implemented for instances of a class. The arguments after the class are one or more interfaces or
src/zope/interface/interfaces.py:595
Method
classImplementsFirst
See :func:`zope.interface.classImplementsFirst`.
src/zope/interface/interfaces.py:625
Method
classImplementsOnly
Declare the only interfaces implemented by instances of a class. The arguments after the class are one or more interfaces or
src/zope/interface/interfaces.py:641
Method
cleanUp
(self)
src/zope/interface/tests/__init__.py:125
Method
combine
Return a new datetime object. Its date members are equal to the given date object's, and whose time and tzinfo members are equal to t
src/zope/interface/common/idatetime.py:308
Method
count
Return number of occurrences of value
src/zope/interface/common/sequence.py:116
Method
ctime
Return a string representing the date. For example date(2002, 12, 4).ctime() == 'Wed Dec 4 00:00:00 2002'. d.ctime() is equivalent to
src/zope/interface/common/idatetime.py:202
Method
ctime
Return a string representing the date and time. ``datetime(2002, 12, 4, 20, 30, 40).ctime()`` yields ``'Wed Dec 4 20:30:40 2002'``.
src/zope/interface/common/idatetime.py:469
Method
date
Return date object with same year, month and day.
src/zope/interface/common/idatetime.py:343
Method
decorator
(func)
src/zope/interface/tests/test_verify.py:514
Method
dependents
(self)
src/zope/interface/declarations.py:238
Method
dependents
(self)
src/zope/interface/interface.py:385
Method
directlyProvidedBy
Return the interfaces directly provided by the given object. The value returned is an `IDeclaration`. .. seealso:: `zope.in
src/zope/interface/interfaces.py:675
Method
directlyProvides
Declare interfaces declared directly for an object. The arguments after the object are one or more interfaces or interface s
src/zope/interface/interfaces.py:684
Method
doFoo
(o)
src/zope/interface/tests/test_declarations.py:85
Method
dst
Return 0 if DST is not in effect, or the DST offset (in minutes eastward) if DST is in effect.
src/zope/interface/common/idatetime.py:406
Method
dst
Return 0 if DST is not in effect, or the DST offset (in minutes eastward) if DST is in effect. If tzinfo is None, returns None, else
src/zope/interface/common/idatetime.py:563
Method
dst
Return the daylight saving time (DST) adjustment, in minutes east of UTC, or None if DST information isn't known.
src/zope/interface/common/idatetime.py:599
Method
exceptions
(self)
src/zope/interface/exceptions.py:252
Method
extends
Test whether a specification extends another The specification extends other if it has other as a base interface or if one of it's ba
src/zope/interface/interfaces.py:213
Method
factory
(self)
src/zope/interface/registry.py:738
Method
factory
(*args)
src/zope/interface/tests/test_adapter.py:1909
Method
flattened
Return an iterator of all included and extended interfaces
src/zope/interface/declarations.py:95
Method
foo
()
src/zope/interface/tests/test_declarations.py:2130
Method
foo
DOCSTRING
src/zope/interface/tests/test_interface.py:2837
Method
foo
()
src/zope/interface/tests/test_advice.py:93
Method
fromordinal
Return the date corresponding to the proleptic Gregorian ordinal. January 1 of year 1 has ordinal 1. `ValueError` is raised unless
src/zope/interface/common/idatetime.py:98
Method
fromordinal
Return the datetime from the proleptic Gregorian ordinal. January 1 of year 1 has ordinal 1. `ValueError` is raised unless 1 <= ordin
src/zope/interface/common/idatetime.py:299
Method
fromtimestamp
Return the local date from a POSIX timestamp (like time.time()) This may raise `ValueError`, if the timestamp is out of the range of
src/zope/interface/common/idatetime.py:88
Method
fromtimestamp
Return the local date and time corresponding to the POSIX timestamp. Same as is returned by time.time(). If optional argument tz is None or
src/zope/interface/common/idatetime.py:266
Method
fromutc
Return an equivalent datetime in self's local time.
src/zope/interface/common/idatetime.py:609
Method
get
Look up the description for a name If the named attribute is not defined, the default is returned.
src/zope/interface/interfaces.py:257
Method
getAdapter
Look for a named adapter to an interface for an object If a matching adapter cannot be found, a `ComponentLookupError` is raised.
src/zope/interface/interfaces.py:1020
Method
getAdapters
Look for all matching adapters to a provided interface for objects Return an iterable of name-adapter pairs for adapters that provide
src/zope/interface/interfaces.py:1042
Method
getAllUtilitiesRegisteredFor
Return all registered utilities for an interface This includes overridden utilities. An iterable of utility instances is returned.
src/zope/interface/interfaces.py:1075
Method
getMultiAdapter
Look for a multi-adapter to an interface for multiple objects If a matching adapter cannot be found, a `ComponentLookupError` is rais
src/zope/interface/interfaces.py:1035
Method
getSignatureInfo
Returns the signature information. This method returns a dictionary with the following string keys: - positional A seque
src/zope/interface/interfaces.py:164
Method
getSignatureString
Return a signature string suitable for inclusion in documentation. This method returns the function signature string. For example, if you
src/zope/interface/interfaces.py:181
Method
getTaggedValue
Returns the value associated with *tag*. Raise a `KeyError` if the tag isn't set. If the object has a notion of inheritance, this se
src/zope/interface/interfaces.py:90
Method
getTaggedValue
Returns the value associated with 'tag'.
src/zope/interface/interface.py:926
Method
getTaggedValueTags
Returns a collection of all tags in no particular order. If the object has a notion of inheritance, this includes all the in
src/zope/interface/interfaces.py:113
Method
getTaggedValueTags
Returns a list of all tags.
src/zope/interface/interface.py:933
Method
getUtilitiesFor
Look up the registered utilities that provide an interface. Returns an iterable of name-utility pairs.
src/zope/interface/interfaces.py:1069
Method
had_inconsistency
(self)
src/zope/interface/ro.py:317
Method
handle
Call handlers for the given objects Handlers registered for the given objects are called.
src/zope/interface/interfaces.py:1057
Method
implementedBy
Return the interfaces implemented for a class's instances. The value returned is an `IDeclaration`. .. seealso:: `zope.inte
src/zope/interface/interfaces.py:582
Method
implementedBy
Test whether the specification is implemented by a class or factory. Raise TypeError if argument is neither a class nor a callable.
src/zope/interface/interface.py:165
Method
implementer
Create a decorator for declaring interfaces implemented by a factory. A callable is returned that makes an implements declar
src/zope/interface/interfaces.py:630
Method
implementer_only
Create a decorator for declaring the only interfaces implemented. A callable is returned that makes an implements declaration on
src/zope/interface/interfaces.py:665
Method
interface
(self)
src/zope/interface/exceptions.py:64
Function
interfacemethod
Convert a method specification to an actual method of the interface. This is a decorator that functions like `staticmethod` et al. The
src/zope/interface/interface.py:673
Method
interfacemethod
A decorator that transforms a method specification into an implementation method. This is used to override methods of ``Inte
src/zope/interface/interfaces.py:537
Method
interfaces
Return an iterator for the interfaces in the specification.
src/zope/interface/interface.py:836
Method
invariant
Attach an invariant checker function to an interface while defining it. Invariants can later be validated against particular impleme
src/zope/interface/interfaces.py:515
Method
isOrExtends
Is the interface the same as or extend the given interface
src/zope/interface/interface.py:173
Function
is_consistent
Is the resolution order for *C*, consistent according to C3. Order as computed by :func:`ro`.
src/zope/interface/ro.py:717
Method
isocalendar
Return a 3-tuple, (ISO year, ISO week number, ISO weekday). The ISO calendar is a widely used variant of the Gregorian calendar. See
src/zope/interface/common/idatetime.py:173
Method
isocalendar
Return a 3-tuple, (ISO year, ISO week number, ISO weekday). The same as self.date().isocalendar().
src/zope/interface/common/idatetime.py:441
Method
isoformat
Return a string representing the date in ISO 8601 format. This is 'YYYY-MM-DD'. For example, ``date(2002, 12, 4).isoformat() == '2002
src/zope/interface/common/idatetime.py:192
← previous
next →
801–900 of 1,810, ranked by callers