oe-python-template 0.7.0__py3-none-any.whl → 0.7.1__py3-none-any.whl
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.
- {oe_python_template-0.7.0.dist-info → oe_python_template-0.7.1.dist-info}/METADATA +21 -2
- {oe_python_template-0.7.0.dist-info → oe_python_template-0.7.1.dist-info}/RECORD +5 -5
- {oe_python_template-0.7.0.dist-info → oe_python_template-0.7.1.dist-info}/WHEEL +0 -0
- {oe_python_template-0.7.0.dist-info → oe_python_template-0.7.1.dist-info}/entry_points.txt +0 -0
- {oe_python_template-0.7.0.dist-info → oe_python_template-0.7.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oe-python-template
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: 🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling.
|
|
5
5
|
Project-URL: Homepage, https://oe-python-template.readthedocs.io/en/latest/
|
|
6
6
|
Project-URL: Documentation, https://oe-python-template.readthedocs.io/en/latest/
|
|
@@ -416,11 +416,30 @@ docker compose run oe-python-template echo "Lorem"
|
|
|
416
416
|
docker compose run oe-python-template echo "Lorem" --json
|
|
417
417
|
docker compose run oe-python-template openapi
|
|
418
418
|
docker compose run oe-python-template openapi --output-format=json
|
|
419
|
-
|
|
419
|
+
echo "Running OE Python Template's API container as a daemon ..."
|
|
420
|
+
docker compose up -d
|
|
421
|
+
echo "Waiting for the API server to start ..."
|
|
422
|
+
sleep 5
|
|
423
|
+
echo "Checking health of v1 API ..."
|
|
424
|
+
curl http://127.0.0.1:8000/api/v1/healthz
|
|
425
|
+
echo ""
|
|
426
|
+
echo "Saying hello world with v1 API ..."
|
|
420
427
|
curl http://127.0.0.1:8000/api/v1/hello-world
|
|
428
|
+
echo ""
|
|
429
|
+
echo "Swagger docs of v1 API ..."
|
|
421
430
|
curl http://127.0.0.1:8000/api/v1/docs
|
|
431
|
+
echo ""
|
|
432
|
+
echo "Checking health of v2 API ..."
|
|
433
|
+
curl http://127.0.0.1:8000/api/v2/healthz
|
|
434
|
+
echo ""
|
|
435
|
+
echo "Saying hello world with v1 API ..."
|
|
422
436
|
curl http://127.0.0.1:8000/api/v2/hello-world
|
|
437
|
+
echo ""
|
|
438
|
+
echo "Swagger docs of v2 API ..."
|
|
423
439
|
curl http://127.0.0.1:8000/api/v2/docs
|
|
440
|
+
echo ""
|
|
441
|
+
echo "Shutting down the API container ..."
|
|
442
|
+
docker compose down
|
|
424
443
|
```
|
|
425
444
|
|
|
426
445
|
## Extra: Lorem Ipsum
|
|
@@ -4,8 +4,8 @@ oe_python_template/cli.py,sha256=RwVJztulrFbdKRASqdjWLhCM7YNgBoxiP4tvlmekE30,349
|
|
|
4
4
|
oe_python_template/constants.py,sha256=Z1c06l5DeRuFxYVLHihHHTYvr8_Qh0nyzVKOe5X3ZNs,350
|
|
5
5
|
oe_python_template/models.py,sha256=L9uwom3TkuOpN3R30bGKEBQKcrLLEMc-O9e8VVSNTGw,838
|
|
6
6
|
oe_python_template/service.py,sha256=wHwaD_2oSMle41QKXC64T4uKznUnyuV9d4b9Cu7lIoY,1202
|
|
7
|
-
oe_python_template-0.7.
|
|
8
|
-
oe_python_template-0.7.
|
|
9
|
-
oe_python_template-0.7.
|
|
10
|
-
oe_python_template-0.7.
|
|
11
|
-
oe_python_template-0.7.
|
|
7
|
+
oe_python_template-0.7.1.dist-info/METADATA,sha256=GvbquwzgYRLKvygidMqI14fgytbaUFbQbWn5OSgWSyw,29144
|
|
8
|
+
oe_python_template-0.7.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
9
|
+
oe_python_template-0.7.1.dist-info/entry_points.txt,sha256=IroSSWhLGxus9rxcashkYQda39TTvf7LbUMYtOKXUBE,66
|
|
10
|
+
oe_python_template-0.7.1.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
|
|
11
|
+
oe_python_template-0.7.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|