Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Handles the lifecycle of objects for the Horae resource planning system

Project Description


horae.lifecycle handles the lifecycle of objects for the Horae resource planning system. It stores the creator, creation_date, modifier and modification_date of objects implementing horae.lifecycle.interfaces.ILifecycleAware. Additionally it provides a viewlet displaying the collected information in context and a storage for latest objects of a user which tracks what objects were changed by a given user.


The easiest way to activate the functionality provided by horae.lifecycle is to subclass from the provided mix in class horae.lifecycle.lifecycle.LifecycleAwareMixin:

import grok

from horae.lifecycle import lifecycle

class SampleContent(grok.Model, lifecycle.LifecycleAwareMixin):
    """ Sample content aware of his lifecycle


The latest storage is provided as an adapter implementing horae.lifecycle.interfaces.ILatest and adapting a principal. There is a convenience adapter adapting the request available which returns the storage for the current user:

from horae.lifecycle import interfaces

class SampleView(grok.View):

    def latest(self):
        latest = interfaces.ILatest(self.request)
        return latest.objects()


1.0a1 (2012-01-16)

  • Initial release
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
horae.lifecycle-1.0a1.tar.gz (5.7 kB) Copy SHA256 Checksum SHA256 Source Jan 16, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting