faster-app 0.0.2__py3-none-any.whl → 0.0.3__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.
faster_app/__init__.py CHANGED
@@ -9,7 +9,7 @@ Faster API - 一个轻量级的 Python Web 框架
9
9
  - 数据库连接管理 (tortoise_init)
10
10
  """
11
11
 
12
- __version__ = "0.0.2"
12
+ __version__ = "0.0.3"
13
13
  __author__ = "peizhenfei"
14
14
  __email__ = "peizhenfei@hotmail.com"
15
15
 
faster_app/base.py CHANGED
@@ -7,7 +7,7 @@ from typing import Dict, List
7
7
  class DiscoverBase(object):
8
8
  INSTANCE_TYPE = None
9
9
  TARGETS: List[Dict[str, str]] = []
10
- FASTER_APP_PATH = os.path.dirname(os.path.dirname(__file__))
10
+ FASTER_APP_PATH = os.path.dirname(__file__)
11
11
 
12
12
  def discover(self) -> List[type]:
13
13
  """
@@ -11,7 +11,7 @@ class DefaultSettings(BaseSettings):
11
11
 
12
12
  # 基础配置
13
13
  PROJECT_NAME: str = "Faster API"
14
- VERSION: str = "0.0.2"
14
+ VERSION: str = "0.0.3"
15
15
  DEBUG: bool = True
16
16
 
17
17
  # Server 配置
@@ -31828,7 +31828,7 @@ ${u.current.stack}
31828
31828
  return !(
31829
31829
  !e ||
31830
31830
  0 <= r()(e).call(e, "localhost") ||
31831
- 0 <= r()(e).call(e, "127.0.0.2") ||
31831
+ 0 <= r()(e).call(e, "127.0.0.3") ||
31832
31832
  "none" === e
31833
31833
  );
31834
31834
  },
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faster_app
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: 一个轻量级的 Python Web 框架,提供自动发现、模型基类、命令行工具等功能
5
5
  Author-email: peizhenfei <peizhenfei@hotmail.com>
6
6
  Maintainer-email: peizhenfei <peizhenfei@hotmail.com>
@@ -201,7 +201,7 @@ class Settings(BaseSettings):
201
201
  DEBUG: bool = True
202
202
 
203
203
  # 服务器配置
204
- HOST: str = "127.0.0.2"
204
+ HOST: str = "127.0.0.3"
205
205
  PORT: int = 8000
206
206
 
207
207
  # API 配置
@@ -269,7 +269,7 @@ SECRET_KEY=your-secret-key-here
269
269
 
270
270
  ## 📈 更新日志
271
271
 
272
- ### v0.0.2 (2025-09-09)
272
+ ### v0.0.3 (2025-09-09)
273
273
 
274
274
  - 🎉 初始版本发布
275
275
  - ✅ 提供基础的自动发现功能
@@ -1,5 +1,5 @@
1
- faster_app/__init__.py,sha256=Urt-4lgmtuTESGj-X6vWAH90FPnTRuhRaQVlirsCT3A,1425
2
- faster_app/base.py,sha256=oQfwQlGyh1R2K_JVlVtre50z5SsDZjgMmJlLTJrAR-I,4052
1
+ faster_app/__init__.py,sha256=f5aJE0nkFbjQS_lqgARM51XMDC-YeX-7oQhHdW9NegI,1425
2
+ faster_app/base.py,sha256=8350gBg_GkW_ww_lDvIOODFOJ71_yowQ5gd_tMTPrQ8,4035
3
3
  faster_app/db.py,sha256=uG4k_eSy5C2MP7DF-senxI10sLAGrLkgmBRFfH_91kY,994
4
4
  faster_app/commands/__init__.py,sha256=AgjI6NmKpdzNTH93XvXsvh54F7PiRX-MJq6emITw7K4,258
5
5
  faster_app/commands/base.py,sha256=k5sOxl4Zmu1kaBQcs8_FPDZVbbyzvngXqh31KZ5aoHw,2474
@@ -18,11 +18,11 @@ faster_app/routes/builtins/defaults.py,sha256=Ob8wjXHySztbBA8VCPSPlsGmuugzIO3S_x
18
18
  faster_app/routes/builtins/swagger.py,sha256=tn26PfFYtPNN8hfgO26ayLG8rtW7ywiEK90BlE5iaQU,463
19
19
  faster_app/settings/__init__.py,sha256=7Ytzoizlp031xSo1f_O03NrcszN0s9sTyKZvI0CrQrA,192
20
20
  faster_app/settings/discover.py,sha256=82MLZyeVXYn-U_bIJ9BVdJAVUoBILM9GbNCLHVAIxqc,2319
21
- faster_app/settings/builtins/settings.py,sha256=1qO-o0BzfnnRG8Ma7OhA2LCJB1n4HoOLpkUbA2AcDZc,1676
22
- faster_app/statics/swagger-ui-bundle.min.js,sha256=QYsfqphICSCL1K4HrbeVk1YkwOzqYn9cKaLxhW-hE0g,2980269
21
+ faster_app/settings/builtins/settings.py,sha256=kaCuNuM6KJ3roxOjkWRKZ7JQJ_-mz0q2IwYVnlwVYz0,1676
22
+ faster_app/statics/swagger-ui-bundle.min.js,sha256=c8PmnKxVOOdVRrKoJJEaBmrGh6J-pqZpnt4Svc2ywSw,2980269
23
23
  faster_app/statics/swagger-ui.min.css,sha256=v0okdo-JS6djtsQ2gZeXadMN1H4wWGUWzLx2qMcfs-s,150626
24
- faster_app-0.0.2.dist-info/licenses/LICENSE,sha256=VlZLv92YNpRecXnQ92BsEhMZK0zX453xnBFta4eGPRE,1073
25
- faster_app-0.0.2.dist-info/METADATA,sha256=GQSg1k9zbUH0aMawUgmSGlwNPCanfGxzD_dKBJG5uMc,7649
26
- faster_app-0.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
- faster_app-0.0.2.dist-info/top_level.txt,sha256=Ah5KB3gcZwXCVsxO8kQtaC0Y7Uy__QFm1p_RJGo5UIU,11
28
- faster_app-0.0.2.dist-info/RECORD,,
24
+ faster_app-0.0.3.dist-info/licenses/LICENSE,sha256=VlZLv92YNpRecXnQ92BsEhMZK0zX453xnBFta4eGPRE,1073
25
+ faster_app-0.0.3.dist-info/METADATA,sha256=0lKJgF9cNKdpdgkkxUrM9_Xf5NiTPhLsVUT632E5J7Q,7649
26
+ faster_app-0.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
+ faster_app-0.0.3.dist-info/top_level.txt,sha256=Ah5KB3gcZwXCVsxO8kQtaC0Y7Uy__QFm1p_RJGo5UIU,11
28
+ faster_app-0.0.3.dist-info/RECORD,,