Limone is a Python library for generating content types from a Colander schema. A content type is, in this context, a class that implements the structure and constraints specified by the schema. This allows a developer to easily generate model objects which enforce the constraints of the schema, performing validation during initialization and attribute assignment. Objects are serializable and deserializable via Colander's serialization. Because types are generated at runtime, Limone also suggests the development of applications where the structure of the objects used to store your application's data can be derived from configuration or user input.
What's New in This Release: [ read full changelog ]
· Make sure that a property of a _MappingNode is set that __setattr__ is used to set the underlying attribute. This is done for the benefit of extensions that rely on __setattr__ being called, such as limone_zodb.
· Use an overridable property factory for generating property descriptors for attributes of content types.