apiboot 0.0.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.
- apiboot-0.0.1/.gitignore +22 -0
- apiboot-0.0.1/PKG-INFO +34 -0
- apiboot-0.0.1/README.md +19 -0
- apiboot-0.0.1/apiboot/utils/http_utils.py +1 -0
- apiboot-0.0.1/apiboot/utils/str_utils.py +1 -0
- apiboot-0.0.1/pyproject.toml +36 -0
apiboot-0.0.1/.gitignore
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.egg-info/
|
|
5
|
+
.venv/
|
|
6
|
+
|
|
7
|
+
# 构建产物
|
|
8
|
+
dist/
|
|
9
|
+
build/
|
|
10
|
+
|
|
11
|
+
# 环境变量 (含 PyPI token)
|
|
12
|
+
# 任意层级, 任意变体都排除, 但保留 .env.example 模板
|
|
13
|
+
.env
|
|
14
|
+
.env.*
|
|
15
|
+
!.env.example
|
|
16
|
+
|
|
17
|
+
# 编辑器
|
|
18
|
+
.idea/
|
|
19
|
+
.vscode/
|
|
20
|
+
|
|
21
|
+
# 备份
|
|
22
|
+
*.py.bak
|
apiboot-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: apiboot
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: apiboot:为组件化构建 Api 服务而生
|
|
5
|
+
Project-URL: Homepage, https://github.com/yanyue/apiboot
|
|
6
|
+
Author: yayo
|
|
7
|
+
License: MIT
|
|
8
|
+
Keywords: api,boot,scaffolding,toolkit
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Requires-Python: >=3.11
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# apiboot
|
|
17
|
+
|
|
18
|
+
为组件化构建 Api 服务而生的 Python 底层工具包。
|
|
19
|
+
|
|
20
|
+
## 安装
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
pip install apiboot
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## 用法
|
|
27
|
+
|
|
28
|
+
```python
|
|
29
|
+
import apiboot
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## License
|
|
33
|
+
|
|
34
|
+
MIT
|
apiboot-0.0.1/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# -*- coding:UTF-8 -*-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# -*- coding:UTF-8 -*-
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "apiboot"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "apiboot:为组件化构建 Api 服务而生"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
authors = [{ name = "yayo" }]
|
|
13
|
+
keywords = ["api", "boot", "toolkit", "scaffolding", "api"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3.11",
|
|
17
|
+
"License :: OSI Approved :: MIT License",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
]
|
|
20
|
+
dependencies = []
|
|
21
|
+
|
|
22
|
+
[project.urls]
|
|
23
|
+
Homepage = "https://github.com/yanyue/apiboot"
|
|
24
|
+
|
|
25
|
+
# 只打包 apiboot/ 包目录;scripts/、tests/、.venv/ 等永远不会进 wheel
|
|
26
|
+
# .env 显式排除, 防止 PyPI token 泄露 (双保险: 白名单 + 黑名单)
|
|
27
|
+
[tool.hatch.build.targets.wheel]
|
|
28
|
+
only-include = ["apiboot"]
|
|
29
|
+
exclude = [".env", ".env.*", ".envrc"]
|
|
30
|
+
|
|
31
|
+
[tool.hatch.build.targets.sdist]
|
|
32
|
+
include = ["apiboot", "README.md", "pyproject.toml", "LICENSE"]
|
|
33
|
+
exclude = ["scripts", ".venv", ".idea", "tests", "*.py.bak", ".env", ".env.*", ".envrc"]
|
|
34
|
+
|
|
35
|
+
[dependency-groups]
|
|
36
|
+
dev = ["build", "twine", "python-dotenv"]
|