drf-jsonschema-serializer


Namedrf-jsonschema-serializer JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/maykinmedia/drf-jsonschema-serializer
SummaryJSON Schema support for Django REST Framework
upload_time2023-07-12 09:35:53
maintainer
docs_urlNone
authorISProjects, Maykin Media
requires_python
licenseBSD
keywords django rest polymorphic
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =========================================
Django REST Framework JSON Schema support
=========================================

:Version: 2.0.0
:Source: https://github.com/maykinmedia/drf-jsonschema-serializer
:Keywords: django, rest, jsonschema

|build-status| |coverage| |linting| |black| |docs|

|python-versions| |django-versions| |pypi-version|

JSON Schema support for Django REST Framework

Overview
========

drf-jsonschema-serializer is a library built around Django REST Framework. It does the
following:

* Convert a DRF serializer into a JSON Schema.

* Provides ``JSONSchemaField`` that can validate JSON data according to
  a JSON schema.

* Provides a ``SerializerJSONField`` that can validate JSON data according to
  a serializer for a field.

This lets you use client-side form libraries such as react-jsonschema-form to
generate a web form from a serializer. This way you can use the same schema for
client-side form generation and validation as you use for REST service input
validation.

See the documentation_ for getting started and usage examples.

Credits and roadmap
===================

Many thanks to https://github.com/isprojects for the initial work on this library.
As of September 2021, Maykin Media has taken up maintenance of this package after
transferring it from isprojects. See the issues on Github for the roadmap.

See also CREDITS.txt for a full history of authorship.

.. |build-status| image:: https://github.com/maykinmedia/drf-jsonschema-serializer/actions/workflows/ci.yml/badge.svg
    :target: https://github.com/maykinmedia/drf-jsonschema-serializer/actions/workflows/ci.yml
    :alt: Tests and PyPI publishing

.. |linting| image:: https://github.com/maykinmedia/drf-jsonschema-serializer/actions/workflows/code-quality.yml/badge.svg
    :target: https://github.com/maykinmedia/drf-jsonschema-serializer/actions/workflows/code-quality.yml
    :alt: Linting and code quality

.. |coverage| image:: https://codecov.io/gh/maykinmedia/drf-jsonschema-serializer/branch/main/graph/badge.svg
    :target: https://app.codecov.io/gh/maykinmedia/drf-jsonschema-serializer
    :alt: Coverage status

.. |python-versions| image:: https://img.shields.io/pypi/pyversions/drf-jsonschema-serializer.svg

.. |django-versions| image:: https://img.shields.io/pypi/frameworkversions/django/drf-jsonschema-serializer.svg

.. |pypi-version| image:: https://img.shields.io/pypi/v/drf-jsonschema-serializer.svg
    :target: https://pypi.org/project/drf-jsonschema-serializer/

.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black

.. |docs| image:: https://readthedocs.org/projects/drf-jsonschema-serializer/badge/?version=latest
    :target: https://drf-jsonschema-serializer.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. _documentation: https://drf-jsonschema.readthedocs.io/

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/maykinmedia/drf-jsonschema-serializer",
    "name": "drf-jsonschema-serializer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "django,rest,polymorphic",
    "author": "ISProjects, Maykin Media",
    "author_email": "support@maykinmedia.nl",
    "download_url": "https://files.pythonhosted.org/packages/11/77/6b058c860c965fa991ad88c7009c27b2d8dcb27d2d72330a865541535734/drf-jsonschema-serializer-2.0.0.tar.gz",
    "platform": null,
    "description": "=========================================\nDjango REST Framework JSON Schema support\n=========================================\n\n:Version: 2.0.0\n:Source: https://github.com/maykinmedia/drf-jsonschema-serializer\n:Keywords: django, rest, jsonschema\n\n|build-status| |coverage| |linting| |black| |docs|\n\n|python-versions| |django-versions| |pypi-version|\n\nJSON Schema support for Django REST Framework\n\nOverview\n========\n\ndrf-jsonschema-serializer is a library built around Django REST Framework. It does the\nfollowing:\n\n* Convert a DRF serializer into a JSON Schema.\n\n* Provides ``JSONSchemaField`` that can validate JSON data according to\n  a JSON schema.\n\n* Provides a ``SerializerJSONField`` that can validate JSON data according to\n  a serializer for a field.\n\nThis lets you use client-side form libraries such as react-jsonschema-form to\ngenerate a web form from a serializer. This way you can use the same schema for\nclient-side form generation and validation as you use for REST service input\nvalidation.\n\nSee the documentation_ for getting started and usage examples.\n\nCredits and roadmap\n===================\n\nMany thanks to https://github.com/isprojects for the initial work on this library.\nAs of September 2021, Maykin Media has taken up maintenance of this package after\ntransferring it from isprojects. See the issues on Github for the roadmap.\n\nSee also CREDITS.txt for a full history of authorship.\n\n.. |build-status| image:: https://github.com/maykinmedia/drf-jsonschema-serializer/actions/workflows/ci.yml/badge.svg\n    :target: https://github.com/maykinmedia/drf-jsonschema-serializer/actions/workflows/ci.yml\n    :alt: Tests and PyPI publishing\n\n.. |linting| image:: https://github.com/maykinmedia/drf-jsonschema-serializer/actions/workflows/code-quality.yml/badge.svg\n    :target: https://github.com/maykinmedia/drf-jsonschema-serializer/actions/workflows/code-quality.yml\n    :alt: Linting and code quality\n\n.. |coverage| image:: https://codecov.io/gh/maykinmedia/drf-jsonschema-serializer/branch/main/graph/badge.svg\n    :target: https://app.codecov.io/gh/maykinmedia/drf-jsonschema-serializer\n    :alt: Coverage status\n\n.. |python-versions| image:: https://img.shields.io/pypi/pyversions/drf-jsonschema-serializer.svg\n\n.. |django-versions| image:: https://img.shields.io/pypi/frameworkversions/django/drf-jsonschema-serializer.svg\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/drf-jsonschema-serializer.svg\n    :target: https://pypi.org/project/drf-jsonschema-serializer/\n\n.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n\n.. |docs| image:: https://readthedocs.org/projects/drf-jsonschema-serializer/badge/?version=latest\n    :target: https://drf-jsonschema-serializer.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\n.. _documentation: https://drf-jsonschema.readthedocs.io/\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "JSON Schema support for Django REST Framework",
    "version": "2.0.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/maykinmedia/drf-jsonschema-serializer/issues",
        "Changelog": "https://github.com/maykinmedia/drf-jsonschema-serializer/blob/main/docs/changelog.rst",
        "Documentation": "http://drf-jsonschema-serializer.readthedocs.io/en/latest/",
        "Homepage": "https://github.com/maykinmedia/drf-jsonschema-serializer",
        "Source Code": "https://github.com/maykinmedia/drf-jsonschema-serializer"
    },
    "split_keywords": [
        "django",
        "rest",
        "polymorphic"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dec9284efcbd9af4dfc6f222ddffcb93fa0dfa5e94186fde9b226ef22ffc2491",
                "md5": "27b70539abecfe107be7b9e2ee78defd",
                "sha256": "02b4e4f19d680b0565a4231f1cba29371c01af0e1682944f1e2d1093bbd07d86"
            },
            "downloads": -1,
            "filename": "drf_jsonschema_serializer-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "27b70539abecfe107be7b9e2ee78defd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8144,
            "upload_time": "2023-07-12T09:35:52",
            "upload_time_iso_8601": "2023-07-12T09:35:52.552722Z",
            "url": "https://files.pythonhosted.org/packages/de/c9/284efcbd9af4dfc6f222ddffcb93fa0dfa5e94186fde9b226ef22ffc2491/drf_jsonschema_serializer-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "11776b058c860c965fa991ad88c7009c27b2d8dcb27d2d72330a865541535734",
                "md5": "8ff0c3596fa4e357f0c65ef2ef0330fc",
                "sha256": "bfeea9f2e49f6f14d12ae5a55680657abb70066615739682351589cda67c3f4f"
            },
            "downloads": -1,
            "filename": "drf-jsonschema-serializer-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8ff0c3596fa4e357f0c65ef2ef0330fc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12312,
            "upload_time": "2023-07-12T09:35:53",
            "upload_time_iso_8601": "2023-07-12T09:35:53.993940Z",
            "url": "https://files.pythonhosted.org/packages/11/77/6b058c860c965fa991ad88c7009c27b2d8dcb27d2d72330a865541535734/drf-jsonschema-serializer-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-12 09:35:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "maykinmedia",
    "github_project": "drf-jsonschema-serializer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "drf-jsonschema-serializer"
}
        
Elapsed time: 0.20907s