sa-token-python 0.1.1__tar.gz → 0.1.2__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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: sa-token-python
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary: sa-token-python-core
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: sa-token-python-core 的常用安装入口:核心 + Redis / JWT。Web 框架请按 extras 安装。
|
|
5
5
|
Project-URL: Homepage, https://github.com/Star-yb/sa-token-python
|
|
6
6
|
Project-URL: Documentation, https://github.com/Star-yb/sa-token-python
|
|
7
7
|
Project-URL: Source, https://github.com/Star-yb/sa-token-python
|
|
@@ -19,24 +19,26 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
19
19
|
Classifier: Topic :: Internet :: WWW/HTTP :: Session
|
|
20
20
|
Classifier: Typing :: Typed
|
|
21
21
|
Requires-Python: >=3.10
|
|
22
|
-
Requires-Dist: sa-token-python-core[
|
|
22
|
+
Requires-Dist: sa-token-python-core[jwt,redis]==0.1.2
|
|
23
23
|
Provides-Extra: django
|
|
24
|
-
Requires-Dist: sa-token-python-core[django]==0.1.
|
|
24
|
+
Requires-Dist: sa-token-python-core[django]==0.1.2; extra == 'django'
|
|
25
25
|
Provides-Extra: fastapi
|
|
26
|
-
Requires-Dist: sa-token-python-core[fastapi]==0.1.
|
|
26
|
+
Requires-Dist: sa-token-python-core[fastapi]==0.1.2; extra == 'fastapi'
|
|
27
27
|
Provides-Extra: flask
|
|
28
|
-
Requires-Dist: sa-token-python-core[flask]==0.1.
|
|
28
|
+
Requires-Dist: sa-token-python-core[flask]==0.1.2; extra == 'flask'
|
|
29
29
|
Provides-Extra: full
|
|
30
|
-
Requires-Dist: sa-token-python-core[full]==0.1.
|
|
30
|
+
Requires-Dist: sa-token-python-core[full]==0.1.2; extra == 'full'
|
|
31
31
|
Provides-Extra: jwt
|
|
32
|
-
Requires-Dist: sa-token-python-core[jwt]==0.1.
|
|
32
|
+
Requires-Dist: sa-token-python-core[jwt]==0.1.2; extra == 'jwt'
|
|
33
33
|
Provides-Extra: redis
|
|
34
|
-
Requires-Dist: sa-token-python-core[redis]==0.1.
|
|
34
|
+
Requires-Dist: sa-token-python-core[redis]==0.1.2; extra == 'redis'
|
|
35
35
|
Provides-Extra: starlette
|
|
36
|
-
Requires-Dist: sa-token-python-core[starlette]==0.1.
|
|
36
|
+
Requires-Dist: sa-token-python-core[starlette]==0.1.2; extra == 'starlette'
|
|
37
37
|
Description-Content-Type: text/markdown
|
|
38
38
|
|
|
39
|
-
sa-token-python 是 `sa-token-python-core`
|
|
39
|
+
sa-token-python 是 `sa-token-python-core` 的常用安装入口:核心库加上 Redis 与 JWT。
|
|
40
|
+
|
|
41
|
+
FastAPI / Flask / Django 不会随默认安装带上,请按 extras 安装,例如 `pip install "sa-token-python[fastapi]"`。
|
|
40
42
|
|
|
41
43
|
导入名不变,仍是 `sa_token`。只要轻量核心请安装 `sa-token-python-core`。
|
|
42
44
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
sa-token-python 是 `sa-token-python-core` 的常用安装入口:核心库加上 Redis 与 JWT。
|
|
2
|
+
|
|
3
|
+
FastAPI / Flask / Django 不会随默认安装带上,请按 extras 安装,例如 `pip install "sa-token-python[fastapi]"`。
|
|
4
|
+
|
|
5
|
+
导入名不变,仍是 `sa_token`。只要轻量核心请安装 `sa-token-python-core`。
|
|
6
|
+
|
|
7
|
+
完整说明见仓库 README:https://github.com/Star-yb/sa-token-python
|
|
@@ -4,8 +4,8 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "sa-token-python"
|
|
7
|
-
version = "0.1.
|
|
8
|
-
description = "sa-token-python-core
|
|
7
|
+
version = "0.1.2"
|
|
8
|
+
description = "sa-token-python-core 的常用安装入口:核心 + Redis / JWT。Web 框架请按 extras 安装。"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
license = { text = "Apache-2.0" }
|
|
@@ -23,17 +23,17 @@ classifiers = [
|
|
|
23
23
|
"Typing :: Typed",
|
|
24
24
|
]
|
|
25
25
|
dependencies = [
|
|
26
|
-
"sa-token-python-core[
|
|
26
|
+
"sa-token-python-core[redis,jwt]==0.1.2",
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
[project.optional-dependencies]
|
|
30
|
-
redis = ["sa-token-python-core[redis]==0.1.
|
|
31
|
-
jwt = ["sa-token-python-core[jwt]==0.1.
|
|
32
|
-
fastapi = ["sa-token-python-core[fastapi]==0.1.
|
|
33
|
-
starlette = ["sa-token-python-core[starlette]==0.1.
|
|
34
|
-
flask = ["sa-token-python-core[flask]==0.1.
|
|
35
|
-
django = ["sa-token-python-core[django]==0.1.
|
|
36
|
-
full = ["sa-token-python-core[full]==0.1.
|
|
30
|
+
redis = ["sa-token-python-core[redis]==0.1.2"]
|
|
31
|
+
jwt = ["sa-token-python-core[jwt]==0.1.2"]
|
|
32
|
+
fastapi = ["sa-token-python-core[fastapi]==0.1.2"]
|
|
33
|
+
starlette = ["sa-token-python-core[starlette]==0.1.2"]
|
|
34
|
+
flask = ["sa-token-python-core[flask]==0.1.2"]
|
|
35
|
+
django = ["sa-token-python-core[django]==0.1.2"]
|
|
36
|
+
full = ["sa-token-python-core[full]==0.1.2"]
|
|
37
37
|
|
|
38
38
|
[project.urls]
|
|
39
39
|
Homepage = "https://github.com/Star-yb/sa-token-python"
|
sa_token_python-0.1.1/README.md
DELETED
|
File without changes
|