Dolmen Site
- Test-Layer:
functional
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
Metadata
Release files for dolmen.app.site 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dolmen.app.site-0.2.tar.gz | 4.5 kB | Without provenance | Details for dolmen.app.site-0.2.tar.gz |
Release files / dolmen.app.site-0.2.tar.gz
| Download URL | dolmen.app.site-0.2.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e488707853f7eb473cab7ae5258a7a3df4a4462d566b057e1c6f07cc60f8c45
|
|
BLAKE2b-256 checksum How to use checksums |
4c37ae458229fd29fbc67453148773d4aa269ac90c8374bfa8567dad9ca1f87b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dolmen.app.site 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.