instant-python 0.9.2__py3-none-any.whl → 0.10.0__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.
@@ -2,7 +2,7 @@
2
2
  {% set template_infra_import = "shared.infra"|compute_base_path(template.name) %}
3
3
  from fastapi import FastAPI
4
4
  {% if "logger" in template.built_in_features %}
5
- from fastapi.exceptions import RequestValidationError
5
+ from fastapi.errors import RequestValidationError
6
6
  {% endif %}
7
7
 
8
8
  {% if template.name == template_types.STANDARD %}
@@ -20,8 +20,10 @@ jobs:
20
20
  permissions:
21
21
  contents: write
22
22
  outputs:
23
- released: ${{ steps.released.outputs.released }}
24
- tag: ${{ steps.released.outputs.tag }}
23
+ released: {% raw %}${{ steps.released.outputs.released }}{% endraw %}
24
+
25
+ tag: {% raw %}${{ steps.released.outputs.tag }}{% endraw %}
26
+
25
27
 
26
28
  steps:
27
29
  - name: 🛡️ Harden runner
@@ -46,17 +48,23 @@ jobs:
46
48
  tag: true
47
49
  vcs_release: true
48
50
  config_file: pyproject.toml
49
- github_token: ${{ secrets.GITHUB_TOKEN }}
50
- git_committer_email: ${{ vars.GIT_COMMITTER_EMAIL }}
51
- git_committer_name: ${{ vars.GIT_COMMITTER_NAME }}
52
- ssh_public_signing_key: ${{ vars.SSH_PUBLIC_SIGNING_KEY }}
53
- ssh_private_signing_key: ${{ secrets.SSH_PRIVATE_SIGNING_KEY }}
51
+ github_token: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
52
+
53
+ git_committer_email: {% raw %}${{ vars.GIT_COMMITTER_EMAIL }}{% endraw %}
54
+
55
+ git_committer_name: {% raw %}${{ vars.GIT_COMMITTER_NAME }}{% endraw %}
56
+
57
+ ssh_public_signing_key: {% raw %}${{ vars.SSH_PUBLIC_SIGNING_KEY }}{% endraw %}
58
+
59
+ ssh_private_signing_key: {% raw %}${{ secrets.SSH_PRIVATE_SIGNING_KEY }}{% endraw %}
60
+
54
61
 
55
62
  build-and-publish:
56
63
  name: Publish to PyPI
57
64
  needs:
58
65
  - release
59
- if: needs.release.outputs.released == 'true'
66
+ if: {% raw %}needs.release.outputs.released == 'true'{% endraw %}
67
+
60
68
  runs-on: ubuntu-latest
61
69
  environment: release
62
70
  permissions:
@@ -73,7 +81,8 @@ jobs:
73
81
  with:
74
82
  fetch-depth: 0
75
83
  persist-credentials: false
76
- ref: refs/tags/${{ needs.release.outputs.tag }}
84
+ ref: refs/tags/{% raw %}${{ needs.release.outputs.tag }}{% endraw %}
85
+
77
86
 
78
87
  - name: 🛠️ Setup environment
79
88
  uses: ./.github/actions/python_setup
@@ -98,6 +98,7 @@ parse_squash_commits = false
98
98
  ignore_merge_commits = true
99
99
 
100
100
  [tool.semantic_release.changelog]
101
+ changelog_file = "CHANGELOG.md"
101
102
  exclude_commit_patterns = ['''^Merge pull request #''', '''^Merge branch ''']
102
103
  mode = "update"
103
104
  #template_dir = "docs/changelog"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: instant-python
3
- Version: 0.9.2
3
+ Version: 0.10.0
4
4
  Summary: Instant boilerplate generation for Python projects
5
5
  Project-URL: documentation, https://dimanu-py.github.io/instant-python/
6
6
  Project-URL: repository, https://github.com/dimanu-py/instant-python/
@@ -86,7 +86,7 @@ instant_python/templates/boilerplate/LICENSE,sha256=wzw1JFV1qGbnRMfokpku4CO4ZKvt
86
86
  instant_python/templates/boilerplate/README.md,sha256=qlaO6Tnd8k0A_ccRNVI8yt5Vn1dQP6AwxW_WH80P8Is,238
87
87
  instant_python/templates/boilerplate/SECURITY.md,sha256=l2T8a7mcV3PUs1vloUDqFXlRXKseInsT_nR71wlLvGo,2024
88
88
  instant_python/templates/boilerplate/mypy.ini,sha256=unPeeeN5XStcdwqobdxtHsPj-Ru1NWPyZ5WF4PbQqik,889
89
- instant_python/templates/boilerplate/pyproject.toml,sha256=8qDUpz1_BdFNrDUfQj0LPadKynwVy2pB2z2e_-x-hek,2874
89
+ instant_python/templates/boilerplate/pyproject.toml,sha256=TAcOvQ1iBsVOuYjv3KMHlMRExPsoe3rlqI0FMlRujiw,2906
90
90
  instant_python/templates/boilerplate/pytest.ini,sha256=Ur7Nw3dUSUSeea9r_woiv0wEsZMQFVs9hfTXtn6Mt74,248
91
91
  instant_python/templates/boilerplate/random_generator.py,sha256=Nx5oRA4n9wvv9p2fvqQb9ItSwQ8KF1Lk6Rq1ODmBNjQ,386
92
92
  instant_python/templates/boilerplate/event_bus/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -114,7 +114,7 @@ instant_python/templates/boilerplate/exceptions/invalid_negative_value_error.py,
114
114
  instant_python/templates/boilerplate/exceptions/rabbit_mq_connection_not_established_error.py,sha256=LrHE5VrQHWD2QnwMb3WvhiJ0dNhI-PPxXaBvp_tPO7E,436
115
115
  instant_python/templates/boilerplate/exceptions/required_value_error.py,sha256=9-djvzVvntsnMnCQBioxPUdznUV-5KWc9k_vaVGPaIY,428
116
116
  instant_python/templates/boilerplate/fastapi/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
117
- instant_python/templates/boilerplate/fastapi/application.py,sha256=8GpZ-zEoFr-TP-8PLPbzgQ4GrlaFdoMwyS9PEj0kc0o,2428
117
+ instant_python/templates/boilerplate/fastapi/application.py,sha256=_orkDHyOncR0RpBWdVc3c-TEd7vZWp9pYvQAF_39Kxw,2424
118
118
  instant_python/templates/boilerplate/fastapi/error_handlers.py,sha256=q3hIbKXMDJm7N7vrYevrQgjGYz7xBA8M4CWHdIgoRhY,2156
119
119
  instant_python/templates/boilerplate/fastapi/error_response.py,sha256=vUy6kC7RFohuDMHSvdZtZnRV2xZoG5fuKbgM1IXGei4,834
120
120
  instant_python/templates/boilerplate/fastapi/fastapi_log_middleware.py,sha256=AgE1jacFx7Bqv9TpFbvVWQh19HwidgzEW_LRAn-DWvo,991
@@ -124,7 +124,7 @@ instant_python/templates/boilerplate/github/action.yml,sha256=orPXW0IIasWJDe3KZe
124
124
  instant_python/templates/boilerplate/github/bug_report.yml,sha256=DQ1OkBkQa2YNxXg2d7uPW1FI2sA_QZQH2E7Ju9tyi_g,1613
125
125
  instant_python/templates/boilerplate/github/ci.yml,sha256=FwPxiFw8RMDXisQRjUnKCUQDpm89g8dll784KuKqenI,5269
126
126
  instant_python/templates/boilerplate/github/feature_request.yml,sha256=Au116oHxO-julX2wJyNHbteTWKq68ulo2F45UakJppk,758
127
- instant_python/templates/boilerplate/github/release.yml,sha256=0_P6wSzaAyPdOwL0MUJfMVXyJtp1Vfa0U8a3FtyHwTQ,3085
127
+ instant_python/templates/boilerplate/github/release.yml,sha256=he8zHkBUcL9l2lkubalFNeltU5NVDFHLRKtN6U-rZmI,3283
128
128
  instant_python/templates/boilerplate/logger/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
129
129
  instant_python/templates/boilerplate/logger/file_logger.py,sha256=lmvFY5O0QIfTeYIFJ1f8HCb2b9lLF9htiOBxZpYX_So,1382
130
130
  instant_python/templates/boilerplate/logger/file_rotating_handler.py,sha256=oWT3_LXqAICs1cGJxCx2HWkKuhQh9ev2EE8lNOwWDKc,1250
@@ -204,8 +204,8 @@ instant_python/templates/project_structure/domain_driven_design/test.yml.j2,sha2
204
204
  instant_python/templates/project_structure/standard_project/main_structure.yml.j2,sha256=aPjYWo7iJdG5SDVIJEzPh1eBlMDE54WwPfMBmqOHHgI,2055
205
205
  instant_python/templates/project_structure/standard_project/source.yml.j2,sha256=THNSxD_6mMd-oCzaGYkrHlTiRWzkN6X3X6cYi2cbyMk,1702
206
206
  instant_python/templates/project_structure/standard_project/test.yml.j2,sha256=MHeZF6k50M2ZSwhEocSrepsHtUEm9FQmLB0xSgS7GZM,608
207
- instant_python-0.9.2.dist-info/METADATA,sha256=h3gtMkVkfkx5jcaM1zr1wIKRV5h1Cx4GiGBpSb8Dka4,17691
208
- instant_python-0.9.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
209
- instant_python-0.9.2.dist-info/entry_points.txt,sha256=M8YUHQaTszBM3np_x9j7wmc1ngrmpfrd4ajBv2EzQuk,51
210
- instant_python-0.9.2.dist-info/licenses/LICENSE,sha256=kf7wA-1IsqXkzXjlsG95sdQJtsqUON_lNXombfPlklo,11353
211
- instant_python-0.9.2.dist-info/RECORD,,
207
+ instant_python-0.10.0.dist-info/METADATA,sha256=3Ta8uM665eHIk19D4pJaW0r99HhssalvLsrXWxyymNI,17692
208
+ instant_python-0.10.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
209
+ instant_python-0.10.0.dist-info/entry_points.txt,sha256=M8YUHQaTszBM3np_x9j7wmc1ngrmpfrd4ajBv2EzQuk,51
210
+ instant_python-0.10.0.dist-info/licenses/LICENSE,sha256=kf7wA-1IsqXkzXjlsG95sdQJtsqUON_lNXombfPlklo,11353
211
+ instant_python-0.10.0.dist-info/RECORD,,