Projects / Grouch

Grouch

Grouch is a system for describing and enforcing a Python object schema. An object schema describes every class in a collection of objects -- in particular, it specifies the type of every instance attribute of every class. Grouch includes a type language for specifying attribute types, a tool to parse specially-formatted class docstrings and output a complete object schema, and another tool for walking a persistent object graph and ensuring that every scrap of data in it conforms to the object schema extracted from your class docstrings. The API for defining, querying, and enforcing types is fairly complete and well-documented, so you can use Grouch's type system in other ways as well.

Tags
Operating Systems
Implementation

Recent releases

  •  19 Feb 2002 18:24

    Release Notes: Fixes to work with Python 2.2, and other miscellaneous bugfixes.

    •  05 Oct 2001 04:43

      No changes have been submitted for this release.

      Screenshot

      Project Spotlight

      OpenStack4j

      A Fluent OpenStack client API for Java.

      Screenshot

      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.