$npx skillfedfor your agent

zope.schema

zope.interface extension for defining data schemas

With conditionsPyPI Python ModulesReleased Oct 2025994.6K downloads / moZPL-2.1Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — zope_schema-8.1-py3-none-any.whl
v8.1 · released 2025-10-26 · Python >=3.9 · 2 runtime deps: zope.interface, zope.event

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; zope.interface and zope.event must be installed as runtime dependencies.
  • Low install friction with only two runtime dependencies (zope.interface and zope.event).
  • Maintenance status is aging—last release was 292 days ago—but the package remains actively supported with recent Python version coverage and no known vulnerabilities.

License · maintenance · safety

ZPL-2.1 (unclear) — Licensed under ZPL-2.1 (Zope Public License 2.1), which is OSI-approved but less common than MIT or Apache 2.0. The license treatment is marked unclear, so review the full license terms before use in proprietary or copyleft-sensitive projects.

last release 2025-10-26 (292 days) · last repo commit 2025-10-27 · 7 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 994,582 downloads/mo, #4,552 on PyPI

Verify before relying

from zope.schema import TextLine, Int, Object
from zope.interface import Interface

class IPerson(Interface):
    name = TextLine(title="Name", required=True)
    age = Int(title="Age")
  • Whether the package is actively maintained or in long-term support mode given the 292-day gap since last release.
  • Performance characteristics when validating large or deeply nested object hierarchies.
  • Compatibility with modern async frameworks or whether it is synchronous-only.
Same gist for agents: .md · .json

What it is and 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—you can mark fields as read-only, optional, or required, apply constraints, and define custom validation methods.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

zope-schema on PyPI

Before you install

Low install friction with only two runtime dependencies (zope.interface and zope.event). Maintenance status is aging—last release was 292 days ago—but the package remains actively supported with recent Python version coverage and no known vulnerabilities.

Requires Python 3.9 or later; zope.interface and zope.event must be installed as runtime dependencies.

License in practice

Licensed under ZPL-2.1 (Zope Public License 2.1), which is OSI-approved but less common than MIT or Apache 2.0. The license treatment is marked unclear, so review the full license terms before use in proprietary or copyleft-sensitive projects.

Quickstart

from zope.schema import TextLine, Int, Object
from zope.interface import Interface

class IPerson(Interface):
    name = TextLine(title="Name", required=True)
    age = Int(title="Age")

Verify before relying

  • Whether the package is actively maintained or in long-term support mode given the 292-day gap since last release.
  • Performance characteristics when validating large or deeply nested object hierarchies.
  • Compatibility with modern async frameworks or whether it is synchronous-only.

Package facts

LicenseZPL-2.1 unclear
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
zope.interfacezope.event
MaintenanceAging 292 days since the last release
Last repo commit
First released
Downloads994,582 / month, #4,552 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: Zope :: 3Intended Audience :: DevelopersLicense :: OSI Approved :: Zope Public LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules

Evidence: zope_schema-8.1-py3-none-any.whl

Tags

Capabilities
python schema validationinterface field definitionsdata schema frameworkzope interface schemasstructured object validationfield constraints and metadatapython object schema
Topics
schema-validationzope-ecosysteminterface-driven
PyPI keywords
zope3schemafieldinterfacetyping

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “interface field definitions”

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also zope.interface · mypy-zope · zope.configuration · zope.component · zope.proxy · zope.security · ZConfig · zope.annotation · zope.filerepresentation · Zope