aury-boot 0.0.3__py3-none-any.whl → 0.0.4__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.
aury/boot/_version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.0.3'
32
- __version_tuple__ = version_tuple = (0, 0, 3)
31
+ __version__ = version = '0.0.4'
32
+ __version_tuple__ = version_tuple = (0, 0, 4)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -760,7 +760,9 @@ def init(
760
760
  content = re.sub(r'```python(.*?)```', process_code_block, content, flags=re.DOTALL)
761
761
 
762
762
  # 格式化模板(替换 {project_name} 等占位符)
763
- content = content.format(**template_vars)
763
+ # 合并 template_vars 和 dict_placeholders,防止 KeyError
764
+ format_vars = {**template_vars, **dict_placeholders}
765
+ content = content.format(**format_vars)
764
766
 
765
767
  # 若启用管理后台,默认在 .env.example 中打开 ADMIN_ENABLED,并给出基础示例
766
768
  if template_name == ".env.example" and with_admin_console:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aury-boot
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: Aury Boot - 基于 FastAPI 生态的企业级 API 开发框架
5
5
  Requires-Python: >=3.13
6
6
  Requires-Dist: alembic>=1.17.2
@@ -1,5 +1,5 @@
1
1
  aury/boot/__init__.py,sha256=Kbk0WD8XtqGZqCtEyHb0w5V0WikWvy3tfAwwW72IrYA,1791
2
- aury/boot/_version.py,sha256=pBZsQt6tlL02W-ri--X_4JCubpAK7jjCSnOmUp_isjc,704
2
+ aury/boot/_version.py,sha256=QlXZ5JTjE_pgpDaeHk0GTExkc75xUZFmd0hA7kGYCJ0,704
3
3
  aury/boot/application/__init__.py,sha256=iVLZSx9tKPn7wRKvfjqatzfd-zJfNrpyv5UzUIefyy0,2590
4
4
  aury/boot/application/app/__init__.py,sha256=rMrZN76bLR7i93iRhfnHOgmnElo8Yz4PHi8QavpNVgY,726
5
5
  aury/boot/application/app/base.py,sha256=t3ZSO8_qS5a1H9ID6iWaCP_OQ2_bTkpb0XXo3uFny3w,16282
@@ -39,7 +39,7 @@ aury/boot/commands/config.py,sha256=gPkG_jSWrXidjpyVdzABH7uRhoCgX5yrOcdKabtX5wY,
39
39
  aury/boot/commands/docker.py,sha256=7mKorZCPZgxH1XFslzo6W-uzpe61hGXz86JKOhOeBlo,9006
40
40
  aury/boot/commands/docs.py,sha256=ATx225tnwJ4TyBfx7y_EyHQ6Hewriel8ZGl2axbYIAQ,8701
41
41
  aury/boot/commands/generate.py,sha256=T0atHRU3CFyCjOhue0s0uGgkE7P1dSi1NMlSB0p-5EI,44482
42
- aury/boot/commands/init.py,sha256=-oGZuopJPctRW7120htzIyRKw2LITbO3xD7Wehi7DCs,30485
42
+ aury/boot/commands/init.py,sha256=E-NoTracn0xhSf0UbuqgLF6yL4OKZfOavM4iehntHCE,30615
43
43
  aury/boot/commands/scheduler.py,sha256=BCIGQcGryXpsYNF-mncP6v5kNoz6DZ10DMzMKVDiXxA,3516
44
44
  aury/boot/commands/worker.py,sha256=qAcPdoKpMBLYoi45X_y2-nobuYKxscJpooEB_0HhM4o,4163
45
45
  aury/boot/commands/migrate/__init__.py,sha256=W9OhkX8ILdolySofgdP2oYoJGG9loQd5FeSwkniU3qM,455
@@ -131,7 +131,7 @@ aury/boot/testing/client.py,sha256=KOg1EemuIVsBG68G5y0DjSxZGcIQVdWQ4ASaHE3o1R0,4
131
131
  aury/boot/testing/factory.py,sha256=8GvwX9qIDu0L65gzJMlrWB0xbmJ-7zPHuwk3eECULcg,5185
132
132
  aury/boot/toolkit/__init__.py,sha256=AcyVb9fDf3CaEmJPNkWC4iGv32qCPyk4BuFKSuNiJRQ,334
133
133
  aury/boot/toolkit/http/__init__.py,sha256=zIPmpIZ9Qbqe25VmEr7jixoY2fkRbLm7NkCB9vKpg6I,11039
134
- aury_boot-0.0.3.dist-info/METADATA,sha256=7OjDSNnT_KajKRplr5LP9fRXXJ0XisqpIVQnwgQEWMw,7600
135
- aury_boot-0.0.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
136
- aury_boot-0.0.3.dist-info/entry_points.txt,sha256=f9KXEkDIGc0BGkgBvsNx_HMz9VhDjNxu26q00jUpDwQ,49
137
- aury_boot-0.0.3.dist-info/RECORD,,
134
+ aury_boot-0.0.4.dist-info/METADATA,sha256=pT2x7uu3fT5mvyx1C129TgVtIy3F8c3uEwwgXZ7Hcww,7600
135
+ aury_boot-0.0.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
136
+ aury_boot-0.0.4.dist-info/entry_points.txt,sha256=f9KXEkDIGc0BGkgBvsNx_HMz9VhDjNxu26q00jUpDwQ,49
137
+ aury_boot-0.0.4.dist-info/RECORD,,