Metadata-Version: 2.1
Name: djangorestframework-rapidjson
Version: 0.2.0
Summary: Provides rapidjson support with parser and renderer
Home-page: https://github.com/allisson/django-rest-framework-rapidjson
Author: Allisson Azevedo
Author-email: allisson@gmail.com
Keywords: djangorestframework rest json
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
License-File: LICENSE
Requires-Dist: python-rapidjson >=1.12
Requires-Dist: djangorestframework >=3.12.4

djangorestframework-rapidjson
=============================

Provides `rapidjson <https://github.com/python-rapidjson/python-rapidjson>`_
support with parser and renderer.

.. image:: https://github.com/allisson/django-rest-framework-rapidjson/workflows/tests/badge.svg
    :target: https://github.com/allisson/django-rest-framework-rapidjson/actions

.. image:: https://img.shields.io/pypi/v/djangorestframework-rapidjson.svg
        :target: https://pypi.python.org/pypi/djangorestframework-rapidjson
        :alt: Latest Version

.. image:: https://img.shields.io/pypi/pyversions/djangorestframework-rapidjson.svg
        :target: https://pypi.python.org/pypi/djangorestframework-rapidjson
        :alt: Supported Python versions

How to install
--------------

.. code:: shell

    pip install djangorestframework-rapidjson


How to use
----------

Update django rest framework config

.. code:: python

    REST_FRAMEWORK = {
        'DEFAULT_RENDERER_CLASSES': (
            'rest_framework_rapidjson.renderers.RapidJSONRenderer',
        ),
        'DEFAULT_PARSER_CLASSES': (
            'rest_framework_rapidjson.parsers.RapidJSONParser',
        )
    }
