summaryrefslogtreecommitdiff
path: root/devel/py-zope.schema/pkg-descr
blob: 6e220f6ad14d17e90cc930b3b67204faa6b19dca (plain) (blame)
1
2
3
4
5
6
7
8
Schemas extend the notion of interfaces to detailed descriptions of Attributes
(but not methods). Every schema is an interface and specifies the public fields
of an object. A field roughly corresponds to an attribute of a Python object.
But a Field provides space for at least a title and a description. It can also
constrain its value and provide a validation method. Besides you can optionally
specify characteristics such as its value being read-only or not required.

WWW: https://pypi.org/project/zope.schema/