-
zope-zc.mappingobject-1.0.0-1.lbn25.noarch
zc.mappingobject provides a wrapper for a mapping objects that provides both attribute and item access.
>>> import zc.mappingobject
>>> mapping = dict(a=1)
>>> ob = zc.mappingobject.mappingobject(mapping)
>>> ob.a
1
>>> ob.a = 2
>>> ob.a
2
>>> mapping
{'a': 2}
>>> list(ob)
['a']
>>> len(ob)
1
>>> ob['a'] = 3
>>> ob.a
3
>>> mapping
{'a': 3}
>>> del ob.a
>>> mapping
{}
>>> ob.a
Traceback (most recent call last):
...
AttributeError: a
>>> ob.b = 1
>>> mapping
{'b': 1}
>>> del ob['b']
>>> mapping
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
zope-zc.monitor-0.3.1-1.lbn25.noarch
The monitor server is a server that provides a command-line interface to request various
bits of information. The server is zc.ngi based, so we can use the zc.ngi testing
infrastructure to demonstrate it.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
zope-zc.ngi-2.0.1-1.lbn25.noarch
The Network Gateway Interface provides:
* the ability to test application networking code without use of sockets, threads
or subprocesses
* clean separation of application code and low-level networking code
* a fairly simple inheritence free set of networking APIs
* an event-based framework that makes it easy to handle many simultaneous connections
while still supporting an imperative programming style.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
zope-zc.parse_addr-1.0.0-1.lbn25.noarch
Parse network addresses of the form: HOST:PORT
>>> import zc.parse_addr
>>> zc.parse_addr.parse_addr('1.2.3.4:56')
('1.2.3.4', 56)
It would be great if this little utility function was part of the socket module.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
zope-zc.queue-2.0.0-3.lbn25.noarch
Persistent queues are simply queues that are optimized for persistency
via the ZODB. They assume that the ZODB is using MVCC to avoid read
conflicts. They attempt to resolve write conflicts so that transactions
that add and remove objects simultaneously are merged, unless the
transactions are trying to remove the same value from the queue.
An important characteristic of these queues is that they do not expect to
hold more than one reference to any given equivalent item at a time. For
instance, some of the conflict resolution features will not perform
desirably if it is reasonable for your application to hold two copies of
the string "hello" within the same queue at once [1].
The module provides two flavors: a simple persistent queue that keeps all
contained objects in one persistent object (Queue), and a persistent queue
that divides up its contents into multiple composite elements
(CompositeQueue). They should be equivalent in terms of API and so are
mostly examined in the abstract in this document: we'll generate
instances with a representative Queue factory, that could be either class.
They only differ in an aspect of their write conflict resolution behavior.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
zope-zc.recipe.egg-2.0.7-1.lbn25.noarch
Buildout Egg-Installation Recipe
The egg-installation recipe installs eggs into a buildout eggs
directory. It also generates scripts in a buildout bin directory with
egg paths baked into them.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
zope-zc.recipe.testrunner-1.4.0-2.lbn25.noarch
ZC Buildout recipe for creating test runners
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
zope-zc.relation-1.0-2.lbn25.noarch
Index intransitive and transitive n-ary relationships.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
zope-zc.resourcelibrary-1.3.4-2.lbn25.noarch
Post-rendering Resource Inclusion
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25
-
zope-zc.resumelb-0.7.1-1.lbn25.noarch
This package provides a load balancer for WSGI applications that sorts requests into request classes and assigns requests of a given class to the same workers.
The load balancer can benefit you if you have an application that:
has too much load (or is too slow) to be handled by a single process,
has a working set that is too large to fit in the caches used by your process, and
there is a way to classify requests so that there is little overlap in the working sets of the various classes.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 25