python-sth 0.1.0__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,5 @@
1
+ .venv/
2
+ dist/
3
+ __pycache__/
4
+ *.py[cod]
5
+ *.egg-info/
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.5
2
+ Name: python-sth
3
+ Version: 0.1.0
4
+ Summary: A small Python library that prints 我是STH.
5
+ Requires-Python: >=3.9
6
+ Description-Content-Type: text/markdown
7
+
8
+ # python-sth
9
+
10
+ 一个使用 `uv` 管理、使用 `hatchling` 构建的 Python 公共库。
11
+
12
+ ## 使用
13
+
14
+ ```python
15
+ from python_sth import print_sth
16
+
17
+ print_sth()
18
+ ```
19
+
20
+ 输出:
21
+
22
+ ```text
23
+ 我是STH
24
+ ```
25
+
26
+ ## 本地构建
27
+
28
+ ```bash
29
+ uv build
30
+ ```
@@ -0,0 +1,23 @@
1
+ # python-sth
2
+
3
+ 一个使用 `uv` 管理、使用 `hatchling` 构建的 Python 公共库。
4
+
5
+ ## 使用
6
+
7
+ ```python
8
+ from python_sth import print_sth
9
+
10
+ print_sth()
11
+ ```
12
+
13
+ 输出:
14
+
15
+ ```text
16
+ 我是STH
17
+ ```
18
+
19
+ ## 本地构建
20
+
21
+ ```bash
22
+ uv build
23
+ ```
@@ -0,0 +1,13 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "python-sth"
7
+ version = "0.1.0"
8
+ description = "A small Python library that prints 我是STH."
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+
12
+ [tool.hatch.build.targets.wheel]
13
+ packages = ["src/python_sth"]
@@ -0,0 +1,9 @@
1
+ """Public API for python_sth."""
2
+
3
+
4
+ def print_sth() -> None:
5
+ """Print the library's greeting."""
6
+ print("我是STH")
7
+
8
+
9
+ __all__ = ["print_sth"]
@@ -0,0 +1,8 @@
1
+ version = 1
2
+ revision = 3
3
+ requires-python = ">=3.9"
4
+
5
+ [[package]]
6
+ name = "python-sth"
7
+ version = "0.1.0"
8
+ source = { editable = "." }