=======================
drf-spectacular-sidecar
=======================
|pypi-version| |pypi-dl|
Serve self-contained distribution builds of `Swagger UI`_ and `Redoc`_ with `Django`_ either via `runserver`_ or `collectstatic`_.
This Django app is an optional addition to `drf-spectacular`_, but does not depend on it. It may also be used independently.
* `Swagger UI`_ version ``5.17.14`` (`npm <https://www.npmjs.com/package/swagger-ui-dist>`__)
* `Redoc`_ version ``2.2.0`` (`npm <https://www.npmjs.com/package/redoc>`__)
This is a self-updating and self-publishing repository that looks for updates on the 1st of every month.
The distribution files are sourced from npm via `jsdelivr`_, validated, packaged and uploaded to `PyPI`_.
Installation
------------
.. code:: bash
$ pip install drf-spectacular-sidecar
The package needs to be registered to allow Django to discover the static files.
.. code:: python
INSTALLED_APPS = [
# ALL YOUR APPS
'drf_spectacular_sidecar',
]
Requirements
------------
Django >= 2.2
Licenses
--------
Provided by `T. Franzel <https://github.com/tfranzel>`_. `Licensed under 3-Clause BSD <https://github.com/tfranzel/drf-spectacular-sidecar/blob/master/LICENSE>`_.
This package includes distribution builds of
* `Swagger UI`_: The `original license (Apache 2.0) <https://github.com/swagger-api/swagger-ui/blob/master/LICENSE>`_ and copyright apply to those files.
* `Redoc`_: The `original license (MIT) <https://github.com/Redocly/redoc/blob/master/LICENSE>`_ and copyright apply to those files.
.. |pypi-version| image:: https://img.shields.io/pypi/v/drf-spectacular-sidecar.svg
:target: https://pypi.org/project/drf-spectacular-sidecar/
.. |pypi-dl| image:: https://img.shields.io/pypi/dm/drf-spectacular-sidecar
:target: https://pypi.org/project/drf-spectacular-sidecar/
.. _PyPI: https://pypi.org/project/drf-spectacular-sidecar/
.. _jsdelivr: https://www.jsdelivr.com/
.. _Django: https://www.djangoproject.com/
.. _drf-spectacular: https://github.com/tfranzel/drf-spectacular
.. _Redoc: https://github.com/Redocly/redoc
.. _Swagger UI: https://github.com/swagger-api/swagger-ui
.. _collectstatic: https://docs.djangoproject.com/en/3.2/ref/contrib/staticfiles/#collectstatic
.. _runserver: https://docs.djangoproject.com/en/3.2/ref/contrib/staticfiles/#runserver
Raw data
{
"_id": null,
"home_page": "https://github.com/tfranzel/drf-spectacular-sidecar",
"name": "drf-spectacular-sidecar",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "T. Franzel",
"author_email": "tfranzel@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/64/8b/d7ae067ab4f27bd703da746d7fff31761b6e83931bfd7fd7b4749d78a705/drf_spectacular_sidecar-2024.11.1.tar.gz",
"platform": null,
"description": "=======================\ndrf-spectacular-sidecar\n=======================\n\n|pypi-version| |pypi-dl|\n\nServe self-contained distribution builds of `Swagger UI`_ and `Redoc`_ with `Django`_ either via `runserver`_ or `collectstatic`_.\n\nThis Django app is an optional addition to `drf-spectacular`_, but does not depend on it. It may also be used independently.\n\n* `Swagger UI`_ version ``5.17.14`` (`npm <https://www.npmjs.com/package/swagger-ui-dist>`__)\n* `Redoc`_ version ``2.2.0`` (`npm <https://www.npmjs.com/package/redoc>`__)\n\nThis is a self-updating and self-publishing repository that looks for updates on the 1st of every month.\nThe distribution files are sourced from npm via `jsdelivr`_, validated, packaged and uploaded to `PyPI`_.\n\nInstallation\n------------\n\n.. code:: bash\n\n $ pip install drf-spectacular-sidecar\n\nThe package needs to be registered to allow Django to discover the static files.\n\n.. code:: python\n\n INSTALLED_APPS = [\n # ALL YOUR APPS\n 'drf_spectacular_sidecar',\n ]\n\nRequirements\n------------\n\nDjango >= 2.2\n\nLicenses\n--------\n\nProvided by `T. Franzel <https://github.com/tfranzel>`_. `Licensed under 3-Clause BSD <https://github.com/tfranzel/drf-spectacular-sidecar/blob/master/LICENSE>`_.\n\nThis package includes distribution builds of\n\n* `Swagger UI`_: The `original license (Apache 2.0) <https://github.com/swagger-api/swagger-ui/blob/master/LICENSE>`_ and copyright apply to those files.\n* `Redoc`_: The `original license (MIT) <https://github.com/Redocly/redoc/blob/master/LICENSE>`_ and copyright apply to those files.\n\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/drf-spectacular-sidecar.svg\n :target: https://pypi.org/project/drf-spectacular-sidecar/\n.. |pypi-dl| image:: https://img.shields.io/pypi/dm/drf-spectacular-sidecar\n :target: https://pypi.org/project/drf-spectacular-sidecar/\n\n.. _PyPI: https://pypi.org/project/drf-spectacular-sidecar/\n.. _jsdelivr: https://www.jsdelivr.com/\n.. _Django: https://www.djangoproject.com/\n.. _drf-spectacular: https://github.com/tfranzel/drf-spectacular\n.. _Redoc: https://github.com/Redocly/redoc\n.. _Swagger UI: https://github.com/swagger-api/swagger-ui\n.. _collectstatic: https://docs.djangoproject.com/en/3.2/ref/contrib/staticfiles/#collectstatic\n.. _runserver: https://docs.djangoproject.com/en/3.2/ref/contrib/staticfiles/#runserver\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "Serve self-contained distribution builds of Swagger UI and Redoc with Django",
"version": "2024.11.1",
"project_urls": {
"Documentation": "https://drf-spectacular.readthedocs.io",
"Homepage": "https://github.com/tfranzel/drf-spectacular-sidecar",
"Source": "https://github.com/tfranzel/drf-spectacular-sidecar"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "54d738f2446330b78e4da4bc270fd2b46858b15203d68ab02b23982a50e6f0a6",
"md5": "7adea81b475c88babe5ec227ddf7de42",
"sha256": "e2efd49c5bd1a607fd5d120d9da58d78e587852db8220b8880282a849296ff83"
},
"downloads": -1,
"filename": "drf_spectacular_sidecar-2024.11.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7adea81b475c88babe5ec227ddf7de42",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 2415356,
"upload_time": "2024-11-01T11:22:57",
"upload_time_iso_8601": "2024-11-01T11:22:57.997611Z",
"url": "https://files.pythonhosted.org/packages/54/d7/38f2446330b78e4da4bc270fd2b46858b15203d68ab02b23982a50e6f0a6/drf_spectacular_sidecar-2024.11.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "648bd7ae067ab4f27bd703da746d7fff31761b6e83931bfd7fd7b4749d78a705",
"md5": "4fa3e05c7d9bda7d9319a6e288f78d7e",
"sha256": "fcfccc72cbdbe41e93f8416fa0c712d14126b8d1629e65c09c07c8edea24aad0"
},
"downloads": -1,
"filename": "drf_spectacular_sidecar-2024.11.1.tar.gz",
"has_sig": false,
"md5_digest": "4fa3e05c7d9bda7d9319a6e288f78d7e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 2396052,
"upload_time": "2024-11-01T11:23:00",
"upload_time_iso_8601": "2024-11-01T11:23:00.160490Z",
"url": "https://files.pythonhosted.org/packages/64/8b/d7ae067ab4f27bd703da746d7fff31761b6e83931bfd7fd7b4749d78a705/drf_spectacular_sidecar-2024.11.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-01 11:23:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tfranzel",
"github_project": "drf-spectacular-sidecar",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "drf-spectacular-sidecar"
}