Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opennti/nti.schema
Enhancements for zope.schema
https://github.com/opennti/nti.schema
field property python schema zope
Last synced: 1 day ago
JSON representation
Enhancements for zope.schema
- Host: GitHub
- URL: https://github.com/opennti/nti.schema
- Owner: OpenNTI
- License: other
- Created: 2014-06-17T12:16:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-04-24T18:07:15.000Z (over 1 year ago)
- Last Synced: 2024-11-08T15:06:00.331Z (9 days ago)
- Topics: field, property, python, schema, zope
- Language: Python
- Homepage:
- Size: 378 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
============
nti.schema
============.. image:: https://img.shields.io/pypi/v/nti.schema.svg
:target: https://pypi.python.org/pypi/nti.schema/
:alt: Latest release.. image:: https://img.shields.io/pypi/pyversions/nti.schema.svg
:target: https://pypi.org/project/nti.schema/
:alt: Supported Python versions.. image:: https://github.com/NextThought/nti.zope_catalog/workflows/tests/badge.svg
:target: https://github.com/NextThought/nti.zope_catalog/actions?query=workflow%3Atests.. image:: https://coveralls.io/repos/github/NextThought/nti.schema/badge.svg
:target: https://coveralls.io/github/NextThought/nti.schema.. image:: http://readthedocs.org/projects/ntischema/badge/?version=latest
:target: http://ntischema.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Statusnti.schema includes utilities for working with schema-driven
development using `zope.schema `_.For complete details and the changelog, see the `documentation `_.
Overview
========Some of the most useful features include:
- ``nti.schema.interfaces.find_most_derived_interface`` for finding a
bounded interface.
- ``nti.schema.eqhash.EqHash`` is a class-decorator for creating
efficient, correct implementations of equality and hashing.
- ``nti.schema.field`` contains various schema fields, including a
``Variant`` type and more flexible collection types, all of which
produce better validation errors.
- ``nti.schema.fieldproperty`` contains field properties that can
adapt to interfaces or decode incoming text. The function
``createDirectFieldProperties`` can assign just the necessary
properties automatically.