fastapi-authly 0.1.8__tar.gz → 0.1.9__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.
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/PKG-INFO +1 -1
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/pyproject.toml +1 -1
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/__about__.py +1 -1
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/docs.py +7 -4
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/.gitignore +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/LICENSE +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/README.md +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/README.zh.md +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/ScienceClaw-master.zip +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/docs//345/207/275/346/225/260/345/274/217/347/274/226/347/250/213/344/270/203/346/255/246/345/231/250.md" +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/examples/chart_tools.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/examples/correct_usage.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/.gitignore +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/class_index.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/coverage_html_cb_dd2e7eb5.js +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/favicon_32_cb_c827f16f.png +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/function_index.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/index.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/keybd_closed_cb_900cfef5.png +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/status.json +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/style_cb_9ff733b0.css +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_af1bec017750c6fc___init___py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_af1bec017750c6fc_user_py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_b9d93864b1b0ad6e___about___py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_b9d93864b1b0ad6e___init___py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_b9d93864b1b0ad6e_auth_py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_b9d93864b1b0ad6e_interfaces_py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_d015ea9b27b0258e___init___py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_d015ea9b27b0258e_config_py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_d015ea9b27b0258e_security_py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_ddd01122054512b0___init___py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_ddd01122054512b0_tortoise_pg_py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_feee2d9ae7f7fd96___init___py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_feee2d9ae7f7fd96_user_py.html +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/__init__.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/auth.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/charts.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/contrib/__init__.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/contrib/tortoise_pg.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/core/__init__.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/core/config/__init__.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/core/config/auth.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/core/config/base.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/core/config/database.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/core/security.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/deps.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/interfaces.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/models/__init__.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/models/user.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/schemas/__init__.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/schemas/user.py +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/static/echarts.min.js +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/static/favicon.svg +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/static/scalar/standalone.js +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/static/scalar/style.css +0 -0
- {fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fastapi-authly
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.9
|
|
4
4
|
Summary: A modular authentication system for FastAPI with OAuth2, JWT, and password recovery
|
|
5
5
|
Project-URL: Homepage, https://github.com/yourusername/fastapi-auth-module
|
|
6
6
|
Project-URL: Documentation, https://yourusername.github.io/fastapi-auth-module/
|
|
@@ -13,12 +13,11 @@ def get_static_dir() -> Path:
|
|
|
13
13
|
"""获取包内静态文件目录路径"""
|
|
14
14
|
return Path(__file__).parent / "static"
|
|
15
15
|
|
|
16
|
-
static_url = "/static"
|
|
17
|
-
|
|
18
16
|
def setup_scalar_docs(
|
|
19
17
|
app: FastAPI,
|
|
20
18
|
*,
|
|
21
19
|
docs_url: str = "/docs",
|
|
20
|
+
static_url: str = "/fastapi-authly-static",
|
|
22
21
|
title: Optional[str] = None,
|
|
23
22
|
openapi_url: Optional[str] = None,
|
|
24
23
|
favicon_url: Optional[str] = None,
|
|
@@ -29,7 +28,7 @@ def setup_scalar_docs(
|
|
|
29
28
|
Args:
|
|
30
29
|
app: FastAPI 应用实例
|
|
31
30
|
docs_url: 文档页面 URL,默认为 "/docs"
|
|
32
|
-
static_url: 静态文件 URL 前缀,默认为 "/static"
|
|
31
|
+
static_url: 静态文件 URL 前缀,默认为 "/fastapi-authly-static"
|
|
33
32
|
title: 文档标题,默认使用 app.title
|
|
34
33
|
openapi_url: OpenAPI schema URL,默认使用 app.openapi_url
|
|
35
34
|
favicon_url: Favicon 图标 URL,默认为 "{static_url}/favicon.svg"
|
|
@@ -39,7 +38,11 @@ def setup_scalar_docs(
|
|
|
39
38
|
|
|
40
39
|
# 挂载静态文件
|
|
41
40
|
if os.path.exists(static_dir):
|
|
42
|
-
app.mount(
|
|
41
|
+
app.mount(
|
|
42
|
+
static_url,
|
|
43
|
+
StaticFiles(directory=str(static_dir)),
|
|
44
|
+
name="fastapi_authly_static",
|
|
45
|
+
)
|
|
43
46
|
|
|
44
47
|
# 设置文档标题和 OpenAPI URL
|
|
45
48
|
doc_title = title or app.title
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/htmlcov/z_ddd01122054512b0_tortoise_pg_py.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastapi_authly-0.1.8 → fastapi_authly-0.1.9}/src/fastapi_authly/static/scalar/standalone.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|