faster-app 0.0.10__tar.gz → 0.0.11__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.
- {faster_app-0.0.10 → faster_app-0.0.11}/PKG-INFO +1 -1
- faster_app-0.0.11/faster_app/.env.example +23 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/__init__.py +1 -1
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app.egg-info/PKG-INFO +1 -1
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app.egg-info/SOURCES.txt +1 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/pyproject.toml +2 -2
- {faster_app-0.0.10 → faster_app-0.0.11}/LICENSE +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/README.md +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/base.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/commands/__init__.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/commands/base.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/commands/builtins/__init__.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/commands/builtins/app.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/commands/builtins/db.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/commands/builtins/fastapi.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/commands/discover.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/db.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/main.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/models/__init__.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/models/base.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/models/discover.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/routes/__init__.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/routes/base.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/routes/builtins/__init__.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/routes/builtins/defaults.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/routes/builtins/swagger.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/routes/discover.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/settings/__init__.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/settings/builtins/settings.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/settings/discover.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/statics/swagger-ui-bundle.min.js +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/statics/swagger-ui.min.css +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/templates/apps/demo/commands.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/templates/apps/demo/models.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/templates/apps/demo/routes.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app/templates/config/settings.py +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app.egg-info/dependency_links.txt +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app.egg-info/entry_points.txt +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app.egg-info/requires.txt +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/faster_app.egg-info/top_level.txt +0 -0
- {faster_app-0.0.10 → faster_app-0.0.11}/setup.cfg +0 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
# 项目配置示例文件
|
2
|
+
# 复制此文件为 .env 并根据需要修改配置
|
3
|
+
|
4
|
+
# 项目基本信息
|
5
|
+
PROJECT_NAME=Faster APP
|
6
|
+
DEBUG=true
|
7
|
+
|
8
|
+
# 服务器配置
|
9
|
+
HOST=0.0.0.0
|
10
|
+
PORT=8000
|
11
|
+
|
12
|
+
# 数据库配置
|
13
|
+
DB_TYPE=sqlite
|
14
|
+
DB_HOST=localhost
|
15
|
+
DB_PORT=3306
|
16
|
+
DB_USER=
|
17
|
+
DB_PASSWORD=
|
18
|
+
DB_DATABASE=faster_app
|
19
|
+
|
20
|
+
# 安全配置
|
21
|
+
SECRET_KEY=your-secret-key-here-please-change-in-production
|
22
|
+
ALGORITHM=HS256
|
23
|
+
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "faster_app"
|
7
|
-
version = "0.0.
|
7
|
+
version = "0.0.11"
|
8
8
|
description = "一个轻量级的 Python Web 框架,提供自动发现、模型基类、命令行工具等功能"
|
9
9
|
readme = "README.md"
|
10
10
|
license = "MIT"
|
@@ -37,7 +37,7 @@ include = ["faster_app*"]
|
|
37
37
|
exclude = ["tests*", "docs*", "__pycache__*", "*.pyc", "*.pyo"]
|
38
38
|
|
39
39
|
[tool.setuptools.package-data]
|
40
|
-
"faster_app" = ["statics/*"]
|
40
|
+
"faster_app" = ["statics/*", ".env.example"]
|
41
41
|
|
42
42
|
[project.scripts]
|
43
43
|
faster-app = "faster_app.main:main"
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|