sa-token-python 0.1.1__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.
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.venv/
|
|
2
|
+
venv/
|
|
3
|
+
__pycache__/
|
|
4
|
+
*.py[cod]
|
|
5
|
+
*$py.class
|
|
6
|
+
*.egg-info/
|
|
7
|
+
.eggs/
|
|
8
|
+
dist/
|
|
9
|
+
build/
|
|
10
|
+
.pytest_cache/
|
|
11
|
+
.ruff_cache/
|
|
12
|
+
.mypy_cache/
|
|
13
|
+
.coverage
|
|
14
|
+
htmlcov/
|
|
15
|
+
.idea/
|
|
16
|
+
.vscode/
|
|
17
|
+
*.swp
|
|
18
|
+
.DS_Store
|
|
19
|
+
.env
|
|
20
|
+
.env.*
|
|
21
|
+
!.env.example
|
|
22
|
+
.pypirc
|
|
23
|
+
Untitled
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: sa-token-python
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: sa-token-python-core 的全量安装入口:核心 + Redis / JWT / 全部框架适配。
|
|
5
|
+
Project-URL: Homepage, https://github.com/Star-yb/sa-token-python
|
|
6
|
+
Project-URL: Documentation, https://github.com/Star-yb/sa-token-python
|
|
7
|
+
Project-URL: Source, https://github.com/Star-yb/sa-token-python
|
|
8
|
+
Project-URL: Issues, https://github.com/Star-yb/sa-token-python/issues
|
|
9
|
+
Author: sa-token-python contributors
|
|
10
|
+
License: Apache-2.0
|
|
11
|
+
Keywords: auth,authentication,authorization,rbac,sa-token,token
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: Session
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.10
|
|
22
|
+
Requires-Dist: sa-token-python-core[full]==0.1.1
|
|
23
|
+
Provides-Extra: django
|
|
24
|
+
Requires-Dist: sa-token-python-core[django]==0.1.1; extra == 'django'
|
|
25
|
+
Provides-Extra: fastapi
|
|
26
|
+
Requires-Dist: sa-token-python-core[fastapi]==0.1.1; extra == 'fastapi'
|
|
27
|
+
Provides-Extra: flask
|
|
28
|
+
Requires-Dist: sa-token-python-core[flask]==0.1.1; extra == 'flask'
|
|
29
|
+
Provides-Extra: full
|
|
30
|
+
Requires-Dist: sa-token-python-core[full]==0.1.1; extra == 'full'
|
|
31
|
+
Provides-Extra: jwt
|
|
32
|
+
Requires-Dist: sa-token-python-core[jwt]==0.1.1; extra == 'jwt'
|
|
33
|
+
Provides-Extra: redis
|
|
34
|
+
Requires-Dist: sa-token-python-core[redis]==0.1.1; extra == 'redis'
|
|
35
|
+
Provides-Extra: starlette
|
|
36
|
+
Requires-Dist: sa-token-python-core[starlette]==0.1.1; extra == 'starlette'
|
|
37
|
+
Description-Content-Type: text/markdown
|
|
38
|
+
|
|
39
|
+
sa-token-python 是 `sa-token-python-core` 的全量安装入口:核心库加上 Redis、JWT,以及 FastAPI / Starlette / Flask / Django 适配依赖。
|
|
40
|
+
|
|
41
|
+
导入名不变,仍是 `sa_token`。只要轻量核心请安装 `sa-token-python-core`。
|
|
42
|
+
|
|
43
|
+
完整说明见仓库 README:https://github.com/Star-yb/sa-token-python
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "sa-token-python"
|
|
7
|
+
version = "0.1.1"
|
|
8
|
+
description = "sa-token-python-core 的全量安装入口:核心 + Redis / JWT / 全部框架适配。"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = { text = "Apache-2.0" }
|
|
12
|
+
authors = [{ name = "sa-token-python contributors" }]
|
|
13
|
+
keywords = ["auth", "authentication", "authorization", "token", "rbac", "sa-token"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 3 - Alpha",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"License :: OSI Approved :: Apache Software License",
|
|
18
|
+
"Programming Language :: Python :: 3.10",
|
|
19
|
+
"Programming Language :: Python :: 3.11",
|
|
20
|
+
"Programming Language :: Python :: 3.12",
|
|
21
|
+
"Programming Language :: Python :: 3.13",
|
|
22
|
+
"Topic :: Internet :: WWW/HTTP :: Session",
|
|
23
|
+
"Typing :: Typed",
|
|
24
|
+
]
|
|
25
|
+
dependencies = [
|
|
26
|
+
"sa-token-python-core[full]==0.1.1",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[project.optional-dependencies]
|
|
30
|
+
redis = ["sa-token-python-core[redis]==0.1.1"]
|
|
31
|
+
jwt = ["sa-token-python-core[jwt]==0.1.1"]
|
|
32
|
+
fastapi = ["sa-token-python-core[fastapi]==0.1.1"]
|
|
33
|
+
starlette = ["sa-token-python-core[starlette]==0.1.1"]
|
|
34
|
+
flask = ["sa-token-python-core[flask]==0.1.1"]
|
|
35
|
+
django = ["sa-token-python-core[django]==0.1.1"]
|
|
36
|
+
full = ["sa-token-python-core[full]==0.1.1"]
|
|
37
|
+
|
|
38
|
+
[project.urls]
|
|
39
|
+
Homepage = "https://github.com/Star-yb/sa-token-python"
|
|
40
|
+
Documentation = "https://github.com/Star-yb/sa-token-python"
|
|
41
|
+
Source = "https://github.com/Star-yb/sa-token-python"
|
|
42
|
+
Issues = "https://github.com/Star-yb/sa-token-python/issues"
|
|
43
|
+
|
|
44
|
+
[tool.hatch.build.targets.wheel]
|
|
45
|
+
bypass-selection = true
|
|
46
|
+
|
|
47
|
+
[tool.hatch.build.targets.sdist]
|
|
48
|
+
include = [
|
|
49
|
+
"/pyproject.toml",
|
|
50
|
+
"/README.md",
|
|
51
|
+
]
|