oe-python-template 0.7.0__tar.gz → 0.7.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oe-python-template
3
- Version: 0.7.0
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
- docker compose up
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
@@ -355,11 +355,30 @@ docker compose run oe-python-template echo "Lorem"
355
355
  docker compose run oe-python-template echo "Lorem" --json
356
356
  docker compose run oe-python-template openapi
357
357
  docker compose run oe-python-template openapi --output-format=json
358
- docker compose up
358
+ echo "Running OE Python Template's API container as a daemon ..."
359
+ docker compose up -d
360
+ echo "Waiting for the API server to start ..."
361
+ sleep 5
362
+ echo "Checking health of v1 API ..."
363
+ curl http://127.0.0.1:8000/api/v1/healthz
364
+ echo ""
365
+ echo "Saying hello world with v1 API ..."
359
366
  curl http://127.0.0.1:8000/api/v1/hello-world
367
+ echo ""
368
+ echo "Swagger docs of v1 API ..."
360
369
  curl http://127.0.0.1:8000/api/v1/docs
370
+ echo ""
371
+ echo "Checking health of v2 API ..."
372
+ curl http://127.0.0.1:8000/api/v2/healthz
373
+ echo ""
374
+ echo "Saying hello world with v1 API ..."
361
375
  curl http://127.0.0.1:8000/api/v2/hello-world
376
+ echo ""
377
+ echo "Swagger docs of v2 API ..."
362
378
  curl http://127.0.0.1:8000/api/v2/docs
379
+ echo ""
380
+ echo "Shutting down the API container ..."
381
+ docker compose down
363
382
  ```
364
383
 
365
384
  ## Extra: Lorem Ipsum
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "oe-python-template"
3
- version = "0.7.0"
3
+ version = "0.7.1"
4
4
  description = "🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling."
5
5
  readme = "README.md"
6
6
  authors = [
@@ -253,7 +253,7 @@ source = ["src/"]
253
253
 
254
254
 
255
255
  [tool.bumpversion]
256
- current_version = "0.7.0"
256
+ current_version = "0.7.1"
257
257
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
258
258
  serialize = ["{major}.{minor}.{patch}"]
259
259
  search = "{current_version}"