{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"}],"enrichment":{"capability":"Defines structured data schemas for Python objects using interface-based field definitions with validation, constraints, and metadata.","skillfed_tags":["schema-validation","zope-ecosystem","interface-driven"],"use_cases":["Define validated data models for web frameworks or APIs that need structured input validation and self-documenting schemas.","Build form generation systems that automatically create HTML forms from schema definitions with validation.","Enforce object invariants and cross-field constraints in domain models where simple type hints are insufficient.","Create reusable field libraries for applications that need consistent validation rules across multiple object types.","Generate documentation or introspection metadata from schema definitions for API clients or configuration systems."],"what_it_does":"zope.schema extends zope.interface to provide a declarative way to define structured data schemas for Python objects. Instead of just describing methods, schemas define the public fields (attributes) of an object, each with a title, description, constraints, and validation logic. A field roughly maps to an object attribute but adds metadata and validation capabilities\u2014you can mark fields as read-only, optional, or required, apply constraints, and define custom validation methods.\n\nThe package is used to build self-documenting, validated object models in frameworks that rely on the Zope ecosystem. It provides field types for common data (text, numbers, dates, objects, collections) and allows you to attach invariant validators to schemas to enforce cross-field constraints. The validation framework raises specific exceptions that applications can catch and handle.","worth_installing":"Yes, if you are already using the Zope ecosystem or need declarative, interface-based schema validation. The package is stable (Production/Stable status), has no known vulnerabilities, and supports Python 3.9, 3.10, 3.11, 3.12, 3.13. However, the aging maintenance status and unclear license treatment warrant review before adoption in new projects outside the Zope community."},"id":"zope-schema","links":{"html":"https://skillfed.io/packages/zope-schema","md":"https://skillfed.io/packages/zope-schema.md","pypi":"https://pypi.org/project/zope-schema/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-10-26","license_spdx":null,"license_treatment":"unclear","name":"zope.schema","python_support":"supports_current","summary":"zope.interface extension for defining data schemas"},"popularity":{"monthly_downloads":994582,"position":4552,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"8.1"}
