Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install zope.browser

How to install zope.browser

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install zope.browser
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.3
2.0.2Never BuiltWhy not?
1.3 Available View build log
Windows (64-bit)
1.3
2.0.2Never BuiltWhy not?
1.3 Available View build log
Mac OS X (10.5+)
1.3
2.0.2Never BuiltWhy not?
1.3 Available View build log
Linux (32-bit)
1.3
2.0.2Never BuiltWhy not?
1.3 Available View build log
Linux (64-bit)
2.0.2 Available View build log
1.3 Available View build log
2.0.2 Available View build log
 
License
ZPL 2.1
Dependencies
Imports
Lastest release
version 2.0.2 on Sep 20th, 2013

zope.browser

This package provides shared browser components for the Zope Toolkit.

IView

Views adapt both a context and a request.

There is not much we can test except that IView is importable and an interface:

>>> from zope.interface import Interface
>>> from zope.browser.interfaces import IView
>>> Interface.providedBy(IView)
True
IBrowserView

Browser views are views specialized for requests from a browser (e.g., as distinct from WebDAV, FTP, XML-RPC, etc.).

There is not much we can test except that IBrowserView is importable and an interface derived from IView:

>>> from zope.interface import Interface
>>> from zope.browser.interfaces import IBrowserView
>>> Interface.providedBy(IBrowserView)
True
>>> IBrowserView.extends(IView)
True
IAdding

Adding views manage how newly-created items get added to containers.

There is not much we can test except that IAdding is importable and an interface derived from IBrowserView:

>>> from zope.interface import Interface
>>> from zope.browser.interfaces import IAdding
>>> Interface.providedBy(IBrowserView)
True
>>> IAdding.extends(IBrowserView)
True
ITerms

The ITerms interface is used as a base for ISource widget implementations. This interfaces get used by zope.app.form and was initially defined in zope.app.form.browser.interfaces, which made it impossible to use for other packages like z3c.form wihtout depending on zope.app.form.

Moving such base components / interfaces to zope.browser makes it possible to share them without undesirable dependencies.

There is not much we can test except that ITerms is importable and an interface:

>>> from zope.interface import Interface
>>> from zope.browser.interfaces import ITerms
>>> Interface.providedBy(ITerms)
True
ISystemErrorView

Views providing this interface can classify their contexts as system errors. These errors can be handled in a special way (e. g. more detailed logging).

There is not much we can test except that ISystemErrorView is importable and an interface:

>>> from zope.interface import Interface
>>> from zope.browser.interfaces import ISystemErrorView
>>> Interface.providedBy(ISystemErrorView)
True

Changelog

2.0.2 (2013-03-08)
  • Add Trove classifiers indicating CPython, 3.2 and PyPy support.
2.0.1 (2013-02-11)
  • Added tox.ini.
2.0.0 (2013-02-11)
  • Test coverage of 100% verified.
  • Added support for Python 3.3 and PyPy.
  • Dropped support for Python 2.4 and 2.5.
1.3 (2010-04-30)
  • Removed test extra and zope.testing dependency.
1.2 (2009-05-18)
  • Moved ISystemErrorView interface here from zope.app.exception to break undesirable dependencies.
  • Fixed home page and author's e-mail address.
  • Added doctests to long_description.
1.1 (2009-05-13)
  • Moved IAdding interface here from zope.app.container.interfaces to break undesirable dependencies.
1.0 (2009-05-13)
  • Moved IView and IBrowserView interfaces here from zope.publisher.interfaces to break undesirable dependencies.
0.5.0 (2008-12-11)
  • Moved ITerms interface here from zope.app.form.browser.interfaces to break undesirable dependencies.

Subscribe to package updates

Last updated Sep 20th, 2013

Download Stats

Last month:6

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.