new models, frontend functions, public pages

This commit is contained in:
2025-05-07 15:41:03 +09:00
parent 91f0d54563
commit 18497d4343
784 changed files with 124024 additions and 289 deletions

View File

@@ -0,0 +1,99 @@
Metadata-Version: 2.4
Name: drf-spectacular-sidecar
Version: 2025.5.1
Summary: Serve self-contained distribution builds of Swagger UI and Redoc with Django
Home-page: https://github.com/tfranzel/drf-spectacular-sidecar
Author: T. Franzel
Author-email: tfranzel@gmail.com
License: BSD
Project-URL: Source, https://github.com/tfranzel/drf-spectacular-sidecar
Project-URL: Documentation, https://drf-spectacular.readthedocs.io
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Documentation
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: Django>=2.2
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary
=======================
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.21.0`` (`npm <https://www.npmjs.com/package/swagger-ui-dist>`__)
* `Redoc`_ version ``2.5.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

View File

@@ -0,0 +1,24 @@
drf_spectacular_sidecar-2025.5.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
drf_spectacular_sidecar-2025.5.1.dist-info/METADATA,sha256=OVeffx95YNG-lQauT3a3aqJuZh4VTgLpL7CrDdrE3LA,3644
drf_spectacular_sidecar-2025.5.1.dist-info/RECORD,,
drf_spectacular_sidecar-2025.5.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
drf_spectacular_sidecar-2025.5.1.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
drf_spectacular_sidecar-2025.5.1.dist-info/licenses/LICENSE,sha256=XSslWG6oMYAsr9jDsXatmyafrvE5ImpixovTZxtGjj4,1517
drf_spectacular_sidecar-2025.5.1.dist-info/top_level.txt,sha256=lA-NFKAUCQ2YBWBr2REMk10S89VO98JbkozlqJrnvpo,24
drf_spectacular_sidecar/__init__.py,sha256=lgGlBKtoy65FE-6FPPoASYXQnvfUfkos2Y3W5yQ9PUQ,150
drf_spectacular_sidecar/__pycache__/__init__.cpython-310.pyc,,
drf_spectacular_sidecar/__pycache__/apps.cpython-310.pyc,,
drf_spectacular_sidecar/apps.py,sha256=RLj2Go2u4YSwaiL6aq0gUE6hOMDYh3a6IHvp0iXFBao,161
drf_spectacular_sidecar/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
drf_spectacular_sidecar/static/drf_spectacular_sidecar/redoc/bundles/redoc.standalone.js,sha256=DsBb4oWsiFozAomwL0cOG9vStrMiOp-iE_JL-AWoUdE,910994
drf_spectacular_sidecar/static/drf_spectacular_sidecar/redoc/bundles/redoc.standalone.js.LICENSE.txt,sha256=Gxi5hiJfioX6f8rxkfARi7KXuoxvAntmnkt5goycF-0,2729
drf_spectacular_sidecar/static/drf_spectacular_sidecar/redoc/bundles/redoc.standalone.js.map,sha256=GQyjeZQvqYSEEGha_oyLEcvrccZXBhBlqXFYcNGYuOI,3225162
drf_spectacular_sidecar/static/drf_spectacular_sidecar/swagger-ui-dist/favicon-32x32.png,sha256=PtYS9B4FDKXnAAytbxy-fn2jn2X8qZwC6Z5lkQVuWDc,628
drf_spectacular_sidecar/static/drf_spectacular_sidecar/swagger-ui-dist/oauth2-redirect.html,sha256=OX_TCiSZzSxfNBGt4Mp_vXhtUBFjnKeKBoJNWAuDwSI,2715
drf_spectacular_sidecar/static/drf_spectacular_sidecar/swagger-ui-dist/swagger-ui-bundle.js,sha256=9VfbU42JadwPNda0QbPHzAvoRdncD8-_ZupnBTrokzs,1468326
drf_spectacular_sidecar/static/drf_spectacular_sidecar/swagger-ui-dist/swagger-ui-bundle.js.LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
drf_spectacular_sidecar/static/drf_spectacular_sidecar/swagger-ui-dist/swagger-ui-bundle.js.map,sha256=XA0HBcAHnjwbJK6IBi38JZaPT5dU3o-hTLtUiviZaVQ,1920878
drf_spectacular_sidecar/static/drf_spectacular_sidecar/swagger-ui-dist/swagger-ui-standalone-preset.js,sha256=hxC22Q7OcRPdRnUA-hTtM7WEi2i4aVrQdfjVxsmvOwE,229223
drf_spectacular_sidecar/static/drf_spectacular_sidecar/swagger-ui-dist/swagger-ui-standalone-preset.js.map,sha256=Y2JB5Bwr5afywvXmw_lyIRGbefR6zvxhsglWioWFv9Q,330036
drf_spectacular_sidecar/static/drf_spectacular_sidecar/swagger-ui-dist/swagger-ui.css,sha256=KeeoUP6jsaHmQb_y_5szAvjABj1DWXEka1kuGJuAiYk,154986
drf_spectacular_sidecar/static/drf_spectacular_sidecar/swagger-ui-dist/swagger-ui.css.map,sha256=ewlQ9XaMaMGNe4eQ8imNjoCcayiKoU0OZgBRqlDaCds,258848

View File

@@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: setuptools (80.1.0)
Root-Is-Purelib: true
Tag: py3-none-any

View File

@@ -0,0 +1,28 @@
Copyright © 2021-present, T. Franzel <tfranzel@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1 @@
drf_spectacular_sidecar