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 dolmen.app.site

How to install dolmen.app.site

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install dolmen.app.site
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2 Available View build log
0.1 Available View build log
Windows (64-bit)
0.2 Available View build log
0.1 Available View build log
Mac OS X (10.5+)
0.2 Available View build log
0.1 Available View build log
Linux (32-bit)
0.2 Available View build log
0.1 Available View build log
Linux (64-bit)
0.2 Available View build log
0.1 Available View build log
 
License
ZPL
Imports
Lastest release
version 0.2 on Mar 6th, 2011

Dolmen is a simple application. The package dolmen.app.site provides an easy way to bootstrap your own applications. It exposes two elements, the Dolmen object and the IDolmen interface.

This creation of Dolmen Application is straightforward:

>>> import grokcore.component as grok
>>> from zope.event import notify
>>> from zope.lifecycleevent import ObjectCreatedEvent
>>> from dolmen.app.site import Dolmen, IDolmen

>>> rocks = Dolmen()
>>> notify(ObjectCreatedEvent(rocks))

>>> IDolmen.providedBy(rocks)
True

It's a valid zope.component ISite:

>>> import zope.component
>>> from zope.component.interfaces import ISite, IPossibleSite
>>> from zope.site.site import LocalSiteManager
>>> IPossibleSite.providedBy(rocks)
True
>>> ISite.providedBy(rocks)
False
>>> site = LocalSiteManager(rocks)
>>> rocks.setSiteManager(site)
>>> rocks.getSiteManager()
<LocalSiteManager ++etc++site>

Dolmen is a dolmen.content Container (read dolmen.content documentation for more information):

>>> from dolmen.content import IContent, IContainer
>>> IContent.providedBy(rocks)
True
>>> IContainer.providedBy(rocks)
True

Changelog

0.2 (2011-03-06)
  • Added proper license file and tagging (ZPL).
  • Don't use z3c.testsetup for tests anymore.
  • Dependencies on Grok has been dumped. We now depend on grokcore.site.
  • Cleaned code and dependencies.
  • Stripped down the ftesting.zcml of all the useless statements.
0.1 (2009-10-27)
  • Internal release

Subscribe to package updates

Last updated Mar 6th, 2011

Download Stats

Last month:1

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.