fastapi_swagger2 0.3.2__tar.gz → 0.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fastapi_swagger2-0.3.2 → fastapi_swagger2-0.3.4}/PKG-INFO +55 -50
- {fastapi_swagger2-0.3.2 → fastapi_swagger2-0.3.4}/README.md +10 -2
- {fastapi_swagger2-0.3.2 → fastapi_swagger2-0.3.4}/pyproject.toml +19 -25
- {fastapi_swagger2-0.3.2 → fastapi_swagger2-0.3.4}/src/fastapi_swagger2/__init__.py +2 -3
- fastapi_swagger2-0.3.4/src/fastapi_swagger2/_version.py +1 -0
- {fastapi_swagger2-0.3.2 → fastapi_swagger2-0.3.4}/src/fastapi_swagger2/utils.py +8 -6
- fastapi_swagger2-0.3.2/.flake8 +0 -2
- fastapi_swagger2-0.3.2/.gitignore +0 -163
- fastapi_swagger2-0.3.2/fastapi_0.100.0/.git +0 -1
- fastapi_swagger2-0.3.2/fastapi_0.100.0/.gitignore +0 -163
- fastapi_swagger2-0.3.2/fastapi_0.100.0/LICENSE +0 -21
- fastapi_swagger2-0.3.2/fastapi_0.100.0/README.md +0 -91
- fastapi_swagger2-0.3.2/fastapi_0.100.0/pyproject.toml +0 -92
- fastapi_swagger2-0.3.2/fastapi_0.100.0/requirements-dev.txt +0 -1
- fastapi_swagger2-0.3.2/fastapi_0.100.0/requirements.txt +0 -1
- fastapi_swagger2-0.3.2/fastapi_0.100.0/scripts/build.sh +0 -3
- fastapi_swagger2-0.3.2/fastapi_0.100.0/scripts/clean.sh +0 -8
- fastapi_swagger2-0.3.2/fastapi_0.100.0/scripts/format.sh +0 -6
- fastapi_swagger2-0.3.2/fastapi_0.100.0/scripts/lint.sh +0 -9
- fastapi_swagger2-0.3.2/fastapi_0.100.0/scripts/publish.sh +0 -5
- fastapi_swagger2-0.3.2/fastapi_0.100.0/scripts/test.sh +0 -9
- fastapi_swagger2-0.3.2/fastapi_0.100.0/setup.cfg +0 -3
- fastapi_swagger2-0.3.2/fastapi_0.100.0/src/fastapi_swagger2/__init__.py +0 -145
- fastapi_swagger2-0.3.2/fastapi_0.100.0/src/fastapi_swagger2/constants.py +0 -2
- fastapi_swagger2-0.3.2/fastapi_0.100.0/src/fastapi_swagger2/models.py +0 -425
- fastapi_swagger2-0.3.2/fastapi_0.100.0/src/fastapi_swagger2/utils.py +0 -673
- fastapi_swagger2-0.3.2/requirements-dev.txt +0 -1
- fastapi_swagger2-0.3.2/requirements.txt +0 -1
- fastapi_swagger2-0.3.2/scripts/build.sh +0 -3
- fastapi_swagger2-0.3.2/scripts/clean.sh +0 -8
- fastapi_swagger2-0.3.2/scripts/format.sh +0 -6
- fastapi_swagger2-0.3.2/scripts/lint.sh +0 -9
- fastapi_swagger2-0.3.2/scripts/publish.sh +0 -5
- fastapi_swagger2-0.3.2/scripts/test.sh +0 -9
- fastapi_swagger2-0.3.2/setup.cfg +0 -3
- fastapi_swagger2-0.3.2/src/fastapi_swagger2_old/__init__.py +0 -145
- fastapi_swagger2-0.3.2/src/fastapi_swagger2_old/constants.py +0 -2
- fastapi_swagger2-0.3.2/src/fastapi_swagger2_old/models.py +0 -425
- fastapi_swagger2-0.3.2/src/fastapi_swagger2_old/utils.py +0 -673
- {fastapi_swagger2-0.3.2 → fastapi_swagger2-0.3.4}/LICENSE +0 -0
- {fastapi_swagger2-0.3.2 → fastapi_swagger2-0.3.4}/src/fastapi_swagger2/models.py +0 -0
|
@@ -1,71 +1,68 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: fastapi_swagger2
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: Swagger2 support for FastAPI framework
|
|
5
|
-
|
|
6
|
-
Project-URL: Documentation, https://github.com/virajkanwade/fastapi_swagger2
|
|
5
|
+
Author: Viraj Kanwade
|
|
7
6
|
Author-email: Viraj Kanwade <virajk.oib@gmail.com>
|
|
8
7
|
License: MIT License
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2023 Viraj Kanwade
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions:
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
|
28
|
+
Classifier: Intended Audience :: Information Technology
|
|
29
|
+
Classifier: Intended Audience :: System Administrators
|
|
30
|
+
Classifier: Operating System :: OS Independent
|
|
31
|
+
Classifier: Programming Language :: Python :: 3
|
|
32
|
+
Classifier: Programming Language :: Python
|
|
33
|
+
Classifier: Topic :: Internet
|
|
34
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
35
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
36
|
+
Classifier: Topic :: Software Development
|
|
37
|
+
Classifier: Typing :: Typed
|
|
30
38
|
Classifier: Environment :: Web Environment
|
|
31
39
|
Classifier: Framework :: AsyncIO
|
|
32
40
|
Classifier: Framework :: FastAPI
|
|
33
41
|
Classifier: Framework :: Pydantic
|
|
34
42
|
Classifier: Framework :: Pydantic :: 1
|
|
35
43
|
Classifier: Intended Audience :: Developers
|
|
36
|
-
Classifier: Intended Audience :: Information Technology
|
|
37
|
-
Classifier: Intended Audience :: System Administrators
|
|
38
44
|
Classifier: License :: OSI Approved :: MIT License
|
|
39
|
-
Classifier: Operating System :: OS Independent
|
|
40
|
-
Classifier: Programming Language :: Python
|
|
41
|
-
Classifier: Programming Language :: Python :: 3
|
|
42
45
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
43
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
44
46
|
Classifier: Programming Language :: Python :: 3.10
|
|
45
47
|
Classifier: Programming Language :: Python :: 3.11
|
|
46
48
|
Classifier: Programming Language :: Python :: 3.12
|
|
47
49
|
Classifier: Programming Language :: Python :: 3.13
|
|
48
|
-
Classifier: Topic :: Internet
|
|
49
|
-
Classifier: Topic :: Internet :: WWW/HTTP
|
|
50
50
|
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
|
|
51
|
-
Classifier: Topic ::
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
Requires-
|
|
56
|
-
Requires-Dist:
|
|
51
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
52
|
+
Requires-Dist: fastapi>=0.129.0
|
|
53
|
+
Requires-Dist: httpx>=0.28.1 ; extra == 'all'
|
|
54
|
+
Requires-Dist: ruff==0.14.10 ; extra == 'dev'
|
|
55
|
+
Requires-Dist: pytest>=7.0.0,<9.0.0 ; extra == 'test'
|
|
56
|
+
Requires-Dist: coverage[toml]>=6.0,<8.0 ; extra == 'test'
|
|
57
|
+
Requires-Dist: ty ; extra == 'test'
|
|
58
|
+
Requires-Dist: ruff==0.14.10 ; extra == 'test'
|
|
59
|
+
Requires-Dist: httpx>=0.28.1 ; extra == 'test'
|
|
60
|
+
Requires-Python: >=3.10
|
|
61
|
+
Project-URL: Homepage, https://github.com/virajkanwade/fastapi_swagger2
|
|
62
|
+
Project-URL: Documentation, https://github.com/virajkanwade/fastapi_swagger2
|
|
57
63
|
Provides-Extra: all
|
|
58
|
-
Requires-Dist: httpx>=0.28.1; extra == 'all'
|
|
59
64
|
Provides-Extra: dev
|
|
60
|
-
Requires-Dist: ruff==0.14.10; extra == 'dev'
|
|
61
65
|
Provides-Extra: test
|
|
62
|
-
Requires-Dist: black==25.12.0; extra == 'test'
|
|
63
|
-
Requires-Dist: coverage[toml]<8.0,>=7.13.1; extra == 'test'
|
|
64
|
-
Requires-Dist: httpx>=0.28.1; extra == 'test'
|
|
65
|
-
Requires-Dist: isort>=7.0.0; extra == 'test'
|
|
66
|
-
Requires-Dist: mypy==1.19.1; extra == 'test'
|
|
67
|
-
Requires-Dist: pytest<10.0.0,>=9.0.2; extra == 'test'
|
|
68
|
-
Requires-Dist: ruff==0.14.10; extra == 'test'
|
|
69
66
|
Description-Content-Type: text/markdown
|
|
70
67
|
|
|
71
68
|
# fastapi_swagger2
|
|
@@ -99,7 +96,9 @@ Python 3.9+
|
|
|
99
96
|
* 0.2.7 - FastAPI >= 0.100.0, < 0.119.0 + Pydantic v1/v2
|
|
100
97
|
* 0.3.0 - FastAPI >= 0.119.0, <= 0.123.8 + Pydantic v1/v2
|
|
101
98
|
* 0.3.1 - FastAPI >= 0.123.9, <= 0.127.1 + Pydantic v1/v2 (Since FastAPI 0.126.1, Pydantic v1 is deprecated)
|
|
102
|
-
* 0.3.2 - FastAPI >= 0.128.0
|
|
99
|
+
* 0.3.2 - FastAPI >= 0.128.0, <= 0.128.3
|
|
100
|
+
* 0.3.3 - FastAPI >= 0.128.4, <= 0.128.8 (FastAPI has dropped Python 3.9 support since 0.129.1)
|
|
101
|
+
* 0.3.4 - FastAPI >= 0.129.0 (last tested against 0.133.1)
|
|
103
102
|
|
|
104
103
|
## Installation
|
|
105
104
|
|
|
@@ -111,6 +110,12 @@ $ pip install fastapi_swagger2
|
|
|
111
110
|
|
|
112
111
|
</div>
|
|
113
112
|
|
|
113
|
+
## Development
|
|
114
|
+
|
|
115
|
+
```console
|
|
116
|
+
$ uv sync --extra dev --extra test --extra all
|
|
117
|
+
```
|
|
118
|
+
|
|
114
119
|
## Example
|
|
115
120
|
|
|
116
121
|
```Python
|
|
@@ -160,5 +165,5 @@ print(yaml.dump(spec))
|
|
|
160
165
|
## Development
|
|
161
166
|
|
|
162
167
|
```console
|
|
163
|
-
$
|
|
168
|
+
$ uv sync --extra dev --extra test --extra all
|
|
164
169
|
```
|
|
@@ -29,7 +29,9 @@ Python 3.9+
|
|
|
29
29
|
* 0.2.7 - FastAPI >= 0.100.0, < 0.119.0 + Pydantic v1/v2
|
|
30
30
|
* 0.3.0 - FastAPI >= 0.119.0, <= 0.123.8 + Pydantic v1/v2
|
|
31
31
|
* 0.3.1 - FastAPI >= 0.123.9, <= 0.127.1 + Pydantic v1/v2 (Since FastAPI 0.126.1, Pydantic v1 is deprecated)
|
|
32
|
-
* 0.3.2 - FastAPI >= 0.128.0
|
|
32
|
+
* 0.3.2 - FastAPI >= 0.128.0, <= 0.128.3
|
|
33
|
+
* 0.3.3 - FastAPI >= 0.128.4, <= 0.128.8 (FastAPI has dropped Python 3.9 support since 0.129.1)
|
|
34
|
+
* 0.3.4 - FastAPI >= 0.129.0 (last tested against 0.133.1)
|
|
33
35
|
|
|
34
36
|
## Installation
|
|
35
37
|
|
|
@@ -41,6 +43,12 @@ $ pip install fastapi_swagger2
|
|
|
41
43
|
|
|
42
44
|
</div>
|
|
43
45
|
|
|
46
|
+
## Development
|
|
47
|
+
|
|
48
|
+
```console
|
|
49
|
+
$ uv sync --extra dev --extra test --extra all
|
|
50
|
+
```
|
|
51
|
+
|
|
44
52
|
## Example
|
|
45
53
|
|
|
46
54
|
```Python
|
|
@@ -90,5 +98,5 @@ print(yaml.dump(spec))
|
|
|
90
98
|
## Development
|
|
91
99
|
|
|
92
100
|
```console
|
|
93
|
-
$
|
|
101
|
+
$ uv sync --extra dev --extra test --extra all
|
|
94
102
|
```
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["
|
|
3
|
-
build-backend = "
|
|
2
|
+
requires = ["uv_build>=0.9.23,<0.10.0"]
|
|
3
|
+
build-backend = "uv_build"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "fastapi_swagger2"
|
|
7
|
+
version = "0.3.4"
|
|
7
8
|
description = "Swagger2 support for FastAPI framework"
|
|
8
9
|
readme = "README.md"
|
|
9
|
-
requires-python = ">=3.
|
|
10
|
+
requires-python = ">=3.10"
|
|
10
11
|
license = { file="LICENSE" }
|
|
11
12
|
authors = [
|
|
12
13
|
{ name = "Viraj Kanwade", email = "virajk.oib@gmail.com" },
|
|
@@ -30,7 +31,6 @@ classifiers = [
|
|
|
30
31
|
"Intended Audience :: Developers",
|
|
31
32
|
"License :: OSI Approved :: MIT License",
|
|
32
33
|
"Programming Language :: Python :: 3 :: Only",
|
|
33
|
-
"Programming Language :: Python :: 3.9",
|
|
34
34
|
"Programming Language :: Python :: 3.10",
|
|
35
35
|
"Programming Language :: Python :: 3.11",
|
|
36
36
|
"Programming Language :: Python :: 3.12",
|
|
@@ -39,9 +39,8 @@ classifiers = [
|
|
|
39
39
|
"Topic :: Internet :: WWW/HTTP",
|
|
40
40
|
]
|
|
41
41
|
dependencies = [
|
|
42
|
-
"fastapi >=0.
|
|
42
|
+
"fastapi >=0.129.0",
|
|
43
43
|
]
|
|
44
|
-
dynamic = ["version"]
|
|
45
44
|
|
|
46
45
|
[project.urls]
|
|
47
46
|
Homepage = "https://github.com/virajkanwade/fastapi_swagger2"
|
|
@@ -49,12 +48,10 @@ Documentation = "https://github.com/virajkanwade/fastapi_swagger2"
|
|
|
49
48
|
|
|
50
49
|
[project.optional-dependencies]
|
|
51
50
|
test = [
|
|
52
|
-
"pytest >=
|
|
53
|
-
"coverage[toml] >=
|
|
54
|
-
"
|
|
51
|
+
"pytest >=7.0.0,<9.0.0",
|
|
52
|
+
"coverage[toml] >= 6.0, < 8.0",
|
|
53
|
+
"ty",
|
|
55
54
|
"ruff ==0.14.10",
|
|
56
|
-
"black == 25.12.0",
|
|
57
|
-
"isort >=7.0.0",
|
|
58
55
|
"httpx >=0.28.1",
|
|
59
56
|
]
|
|
60
57
|
dev = [
|
|
@@ -64,17 +61,7 @@ all = [
|
|
|
64
61
|
"httpx >=0.28.1",
|
|
65
62
|
]
|
|
66
63
|
|
|
67
|
-
[tool.
|
|
68
|
-
path = "src/fastapi_swagger2/__init__.py"
|
|
69
|
-
|
|
70
|
-
[tool.isort]
|
|
71
|
-
profile = "black"
|
|
72
|
-
known_third_party = ["fastapi", "pydantic", "starlette"]
|
|
73
|
-
|
|
74
|
-
[tool.mypy]
|
|
75
|
-
strict = true
|
|
76
|
-
|
|
77
|
-
[tool.black]
|
|
64
|
+
[tool.ruff]
|
|
78
65
|
line-length = 119
|
|
79
66
|
|
|
80
67
|
[tool.ruff.lint]
|
|
@@ -82,14 +69,21 @@ select = [
|
|
|
82
69
|
"E", # pycodestyle errors
|
|
83
70
|
"W", # pycodestyle warnings
|
|
84
71
|
"F", # pyflakes
|
|
85
|
-
|
|
72
|
+
"I", # isort
|
|
86
73
|
"C", # flake8-comprehensions
|
|
87
74
|
"B", # flake8-bugbear
|
|
88
75
|
]
|
|
89
76
|
ignore = [
|
|
90
|
-
"E501", # line too long, handled by
|
|
77
|
+
"E501", # line too long, handled by ruff format
|
|
91
78
|
"B008", # do not perform function calls in argument defaults
|
|
92
79
|
"C901", # too complex
|
|
93
80
|
]
|
|
94
81
|
per-file-ignores = { "__init__.py" = ["F401"] }
|
|
95
|
-
|
|
82
|
+
|
|
83
|
+
[tool.ruff.lint.isort]
|
|
84
|
+
known-third-party = ["fastapi", "pydantic", "starlette"]
|
|
85
|
+
|
|
86
|
+
[dependency-groups]
|
|
87
|
+
dev = [
|
|
88
|
+
"nox>=2025.11.12",
|
|
89
|
+
]
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
__version__ = "0.3.2"
|
|
2
|
-
|
|
3
1
|
from typing import Any, Dict, List, Optional, TypeVar
|
|
4
2
|
|
|
5
3
|
from fastapi import FastAPI
|
|
@@ -12,10 +10,11 @@ from starlette.requests import Request
|
|
|
12
10
|
from starlette.responses import HTMLResponse, JSONResponse, Response
|
|
13
11
|
from typing_extensions import Annotated, Doc, deprecated
|
|
14
12
|
|
|
13
|
+
from ._version import __version__
|
|
15
14
|
from .utils import get_swagger2
|
|
16
15
|
|
|
17
16
|
|
|
18
|
-
# Keep
|
|
17
|
+
# Keep type checker happy with the monkey patching
|
|
19
18
|
class FastAPIEx(FastAPI):
|
|
20
19
|
swagger2_url: Optional[str]
|
|
21
20
|
swagger2_tags: Optional[List[Dict[str, Any]]]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.3.4"
|
|
@@ -5,8 +5,9 @@ from typing import Any, Dict, List, Optional, Sequence, Set, Tuple, Type, Union
|
|
|
5
5
|
from fastapi import routing
|
|
6
6
|
from fastapi._compat import (
|
|
7
7
|
ModelField,
|
|
8
|
-
get_compat_model_name_map,
|
|
9
8
|
get_definitions,
|
|
9
|
+
get_flat_models_from_fields,
|
|
10
|
+
get_model_name_map,
|
|
10
11
|
get_schema_from_model_field,
|
|
11
12
|
lenient_issubclass,
|
|
12
13
|
)
|
|
@@ -372,9 +373,9 @@ def get_swagger2_path(
|
|
|
372
373
|
if isinstance(status_code_param.default, int):
|
|
373
374
|
status_code = str(status_code_param.default)
|
|
374
375
|
|
|
375
|
-
operation.setdefault("responses", {}).setdefault(status_code, {})[
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
operation.setdefault("responses", {}).setdefault(status_code, {})["description"] = (
|
|
377
|
+
route.response_description
|
|
378
|
+
)
|
|
378
379
|
|
|
379
380
|
if route_response_media_type and is_body_allowed_for_status_code(route.status_code):
|
|
380
381
|
response_schema = {"type": "string"}
|
|
@@ -498,7 +499,8 @@ def get_swagger2(
|
|
|
498
499
|
operation_ids: Set[str] = set()
|
|
499
500
|
|
|
500
501
|
all_fields = get_fields_from_routes(list(routes or []) + list(webhooks or []))
|
|
501
|
-
|
|
502
|
+
flat_models = get_flat_models_from_fields(all_fields, known_models=set())
|
|
503
|
+
model_name_map = get_model_name_map(flat_models)
|
|
502
504
|
field_mapping, definitions = get_definitions(
|
|
503
505
|
fields=all_fields,
|
|
504
506
|
model_name_map=model_name_map,
|
|
@@ -540,4 +542,4 @@ def get_swagger2(
|
|
|
540
542
|
|
|
541
543
|
output = _resolve_parameter_refs(output, definitions)
|
|
542
544
|
|
|
543
|
-
return jsonable_encoder(Swagger2(**output), by_alias=True, exclude_none=True)
|
|
545
|
+
return jsonable_encoder(Swagger2(**output), by_alias=True, exclude_none=True)
|
fastapi_swagger2-0.3.2/.flake8
DELETED
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
# Byte-compiled / optimized / DLL files
|
|
2
|
-
__pycache__/
|
|
3
|
-
*.py[cod]
|
|
4
|
-
*$py.class
|
|
5
|
-
|
|
6
|
-
# C extensions
|
|
7
|
-
*.so
|
|
8
|
-
|
|
9
|
-
# Distribution / packaging
|
|
10
|
-
.Python
|
|
11
|
-
build/
|
|
12
|
-
develop-eggs/
|
|
13
|
-
dist/
|
|
14
|
-
downloads/
|
|
15
|
-
eggs/
|
|
16
|
-
.eggs/
|
|
17
|
-
lib/
|
|
18
|
-
lib64/
|
|
19
|
-
parts/
|
|
20
|
-
sdist/
|
|
21
|
-
var/
|
|
22
|
-
wheels/
|
|
23
|
-
share/python-wheels/
|
|
24
|
-
*.egg-info/
|
|
25
|
-
.installed.cfg
|
|
26
|
-
*.egg
|
|
27
|
-
MANIFEST
|
|
28
|
-
|
|
29
|
-
# PyInstaller
|
|
30
|
-
# Usually these files are written by a python script from a template
|
|
31
|
-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
-
*.manifest
|
|
33
|
-
*.spec
|
|
34
|
-
|
|
35
|
-
# Installer logs
|
|
36
|
-
pip-log.txt
|
|
37
|
-
pip-delete-this-directory.txt
|
|
38
|
-
|
|
39
|
-
# Unit test / coverage reports
|
|
40
|
-
htmlcov/
|
|
41
|
-
.tox/
|
|
42
|
-
.nox/
|
|
43
|
-
.coverage
|
|
44
|
-
.coverage.*
|
|
45
|
-
.cache
|
|
46
|
-
nosetests.xml
|
|
47
|
-
coverage.xml
|
|
48
|
-
*.cover
|
|
49
|
-
*.py,cover
|
|
50
|
-
.hypothesis/
|
|
51
|
-
.pytest_cache/
|
|
52
|
-
cover/
|
|
53
|
-
|
|
54
|
-
# Translations
|
|
55
|
-
*.mo
|
|
56
|
-
*.pot
|
|
57
|
-
|
|
58
|
-
# Django stuff:
|
|
59
|
-
*.log
|
|
60
|
-
local_settings.py
|
|
61
|
-
db.sqlite3
|
|
62
|
-
db.sqlite3-journal
|
|
63
|
-
|
|
64
|
-
# Flask stuff:
|
|
65
|
-
instance/
|
|
66
|
-
.webassets-cache
|
|
67
|
-
|
|
68
|
-
# Scrapy stuff:
|
|
69
|
-
.scrapy
|
|
70
|
-
|
|
71
|
-
# Sphinx documentation
|
|
72
|
-
docs/_build/
|
|
73
|
-
|
|
74
|
-
# PyBuilder
|
|
75
|
-
.pybuilder/
|
|
76
|
-
target/
|
|
77
|
-
|
|
78
|
-
# Jupyter Notebook
|
|
79
|
-
.ipynb_checkpoints
|
|
80
|
-
|
|
81
|
-
# IPython
|
|
82
|
-
profile_default/
|
|
83
|
-
ipython_config.py
|
|
84
|
-
|
|
85
|
-
# pyenv
|
|
86
|
-
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
-
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
-
# .python-version
|
|
89
|
-
|
|
90
|
-
# pipenv
|
|
91
|
-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
-
# install all needed dependencies.
|
|
95
|
-
#Pipfile.lock
|
|
96
|
-
|
|
97
|
-
# poetry
|
|
98
|
-
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
99
|
-
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
-
# commonly ignored for libraries.
|
|
101
|
-
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
102
|
-
#poetry.lock
|
|
103
|
-
|
|
104
|
-
# pdm
|
|
105
|
-
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
106
|
-
#pdm.lock
|
|
107
|
-
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
108
|
-
# in version control.
|
|
109
|
-
# https://pdm.fming.dev/#use-with-ide
|
|
110
|
-
.pdm.toml
|
|
111
|
-
|
|
112
|
-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
113
|
-
__pypackages__/
|
|
114
|
-
|
|
115
|
-
# Celery stuff
|
|
116
|
-
celerybeat-schedule
|
|
117
|
-
celerybeat.pid
|
|
118
|
-
|
|
119
|
-
# SageMath parsed files
|
|
120
|
-
*.sage.py
|
|
121
|
-
|
|
122
|
-
# Environments
|
|
123
|
-
.env
|
|
124
|
-
.venv
|
|
125
|
-
env/
|
|
126
|
-
venv/
|
|
127
|
-
ENV/
|
|
128
|
-
env.bak/
|
|
129
|
-
venv.bak/
|
|
130
|
-
|
|
131
|
-
# Spyder project settings
|
|
132
|
-
.spyderproject
|
|
133
|
-
.spyproject
|
|
134
|
-
|
|
135
|
-
# Rope project settings
|
|
136
|
-
.ropeproject
|
|
137
|
-
|
|
138
|
-
# mkdocs documentation
|
|
139
|
-
/site
|
|
140
|
-
|
|
141
|
-
# mypy
|
|
142
|
-
.mypy_cache/
|
|
143
|
-
.dmypy.json
|
|
144
|
-
dmypy.json
|
|
145
|
-
|
|
146
|
-
# Pyre type checker
|
|
147
|
-
.pyre/
|
|
148
|
-
|
|
149
|
-
# pytype static type analyzer
|
|
150
|
-
.pytype/
|
|
151
|
-
|
|
152
|
-
# Cython debug symbols
|
|
153
|
-
cython_debug/
|
|
154
|
-
|
|
155
|
-
# PyCharm
|
|
156
|
-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
157
|
-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
158
|
-
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
159
|
-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
160
|
-
#.idea/
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
.DS_Store
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
gitdir: /Users/vkanwade/Work/open_source/fastapi_swagger2/.git/worktrees/fastapi_0.100.0
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
# Byte-compiled / optimized / DLL files
|
|
2
|
-
__pycache__/
|
|
3
|
-
*.py[cod]
|
|
4
|
-
*$py.class
|
|
5
|
-
|
|
6
|
-
# C extensions
|
|
7
|
-
*.so
|
|
8
|
-
|
|
9
|
-
# Distribution / packaging
|
|
10
|
-
.Python
|
|
11
|
-
build/
|
|
12
|
-
develop-eggs/
|
|
13
|
-
dist/
|
|
14
|
-
downloads/
|
|
15
|
-
eggs/
|
|
16
|
-
.eggs/
|
|
17
|
-
lib/
|
|
18
|
-
lib64/
|
|
19
|
-
parts/
|
|
20
|
-
sdist/
|
|
21
|
-
var/
|
|
22
|
-
wheels/
|
|
23
|
-
share/python-wheels/
|
|
24
|
-
*.egg-info/
|
|
25
|
-
.installed.cfg
|
|
26
|
-
*.egg
|
|
27
|
-
MANIFEST
|
|
28
|
-
|
|
29
|
-
# PyInstaller
|
|
30
|
-
# Usually these files are written by a python script from a template
|
|
31
|
-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
-
*.manifest
|
|
33
|
-
*.spec
|
|
34
|
-
|
|
35
|
-
# Installer logs
|
|
36
|
-
pip-log.txt
|
|
37
|
-
pip-delete-this-directory.txt
|
|
38
|
-
|
|
39
|
-
# Unit test / coverage reports
|
|
40
|
-
htmlcov/
|
|
41
|
-
.tox/
|
|
42
|
-
.nox/
|
|
43
|
-
.coverage
|
|
44
|
-
.coverage.*
|
|
45
|
-
.cache
|
|
46
|
-
nosetests.xml
|
|
47
|
-
coverage.xml
|
|
48
|
-
*.cover
|
|
49
|
-
*.py,cover
|
|
50
|
-
.hypothesis/
|
|
51
|
-
.pytest_cache/
|
|
52
|
-
cover/
|
|
53
|
-
|
|
54
|
-
# Translations
|
|
55
|
-
*.mo
|
|
56
|
-
*.pot
|
|
57
|
-
|
|
58
|
-
# Django stuff:
|
|
59
|
-
*.log
|
|
60
|
-
local_settings.py
|
|
61
|
-
db.sqlite3
|
|
62
|
-
db.sqlite3-journal
|
|
63
|
-
|
|
64
|
-
# Flask stuff:
|
|
65
|
-
instance/
|
|
66
|
-
.webassets-cache
|
|
67
|
-
|
|
68
|
-
# Scrapy stuff:
|
|
69
|
-
.scrapy
|
|
70
|
-
|
|
71
|
-
# Sphinx documentation
|
|
72
|
-
docs/_build/
|
|
73
|
-
|
|
74
|
-
# PyBuilder
|
|
75
|
-
.pybuilder/
|
|
76
|
-
target/
|
|
77
|
-
|
|
78
|
-
# Jupyter Notebook
|
|
79
|
-
.ipynb_checkpoints
|
|
80
|
-
|
|
81
|
-
# IPython
|
|
82
|
-
profile_default/
|
|
83
|
-
ipython_config.py
|
|
84
|
-
|
|
85
|
-
# pyenv
|
|
86
|
-
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
-
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
-
# .python-version
|
|
89
|
-
|
|
90
|
-
# pipenv
|
|
91
|
-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
-
# install all needed dependencies.
|
|
95
|
-
#Pipfile.lock
|
|
96
|
-
|
|
97
|
-
# poetry
|
|
98
|
-
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
99
|
-
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
-
# commonly ignored for libraries.
|
|
101
|
-
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
102
|
-
#poetry.lock
|
|
103
|
-
|
|
104
|
-
# pdm
|
|
105
|
-
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
106
|
-
#pdm.lock
|
|
107
|
-
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
108
|
-
# in version control.
|
|
109
|
-
# https://pdm.fming.dev/#use-with-ide
|
|
110
|
-
.pdm.toml
|
|
111
|
-
|
|
112
|
-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
113
|
-
__pypackages__/
|
|
114
|
-
|
|
115
|
-
# Celery stuff
|
|
116
|
-
celerybeat-schedule
|
|
117
|
-
celerybeat.pid
|
|
118
|
-
|
|
119
|
-
# SageMath parsed files
|
|
120
|
-
*.sage.py
|
|
121
|
-
|
|
122
|
-
# Environments
|
|
123
|
-
.env
|
|
124
|
-
.venv
|
|
125
|
-
env/
|
|
126
|
-
venv/
|
|
127
|
-
ENV/
|
|
128
|
-
env.bak/
|
|
129
|
-
venv.bak/
|
|
130
|
-
|
|
131
|
-
# Spyder project settings
|
|
132
|
-
.spyderproject
|
|
133
|
-
.spyproject
|
|
134
|
-
|
|
135
|
-
# Rope project settings
|
|
136
|
-
.ropeproject
|
|
137
|
-
|
|
138
|
-
# mkdocs documentation
|
|
139
|
-
/site
|
|
140
|
-
|
|
141
|
-
# mypy
|
|
142
|
-
.mypy_cache/
|
|
143
|
-
.dmypy.json
|
|
144
|
-
dmypy.json
|
|
145
|
-
|
|
146
|
-
# Pyre type checker
|
|
147
|
-
.pyre/
|
|
148
|
-
|
|
149
|
-
# pytype static type analyzer
|
|
150
|
-
.pytype/
|
|
151
|
-
|
|
152
|
-
# Cython debug symbols
|
|
153
|
-
cython_debug/
|
|
154
|
-
|
|
155
|
-
# PyCharm
|
|
156
|
-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
157
|
-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
158
|
-
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
159
|
-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
160
|
-
#.idea/
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
.DS_Store
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 Viraj Kanwade
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|