pylhb4dr 1.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.
pylhb4dr-1.1.0/LICENSE ADDED
@@ -0,0 +1,25 @@
1
+ Non-Commercial Use License
2
+
3
+ Copyright (c) 2025 Mr.Lee
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software for non-commercial purposes only, including without limitation
8
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
+ and/or sell copies of the Software, subject to the following conditions:
10
+
11
+ 1. The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ 2. Commercial use of the Software is expressly prohibited without prior written
15
+ permission from the copyright holder. For purposes of this license, commercial
16
+ use means any use of the Software that is intended for or directed toward
17
+ commercial advantage or monetary compensation.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
+ SOFTWARE.
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.3
2
+ Name: pylhb4dr
3
+ Version: 1.1.0
4
+ Summary: Mr.Lee's DR Helpers
5
+ Author: SoftGod4MrLi
6
+ Author-email: SoftGod4MrLi <596928288@qq.com>
7
+ License: Non-Commercial Use License
8
+
9
+ Copyright (c) 2025 Mr.Lee
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software for non-commercial purposes only, including without limitation
14
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
15
+ and/or sell copies of the Software, subject to the following conditions:
16
+
17
+ 1. The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ 2. Commercial use of the Software is expressly prohibited without prior written
21
+ permission from the copyright holder. For purposes of this license, commercial
22
+ use means any use of the Software that is intended for or directed toward
23
+ commercial advantage or monetary compensation.
24
+
25
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31
+ SOFTWARE.
32
+ Requires-Dist: pylhb>=0.6.6
33
+ Requires-Python: >=3.12
34
+ Project-URL: Homepage, https://github.com/SoftGod4MrLi/pylhb4dr
35
+ Project-URL: Documentation, https://github.com/SoftGod4MrLi/pylhb4dr
36
+ Project-URL: Repository, https://github.com/SoftGod4MrLi/pylhb4dr
37
+ Project-URL: Issues, https://github.com/SoftGod4MrLi/pylhb4dr/issues
38
+ Description-Content-Type: text/markdown
39
+
40
+ # # pylhb4dr
41
+
42
+ [![PyPI version](https://img.shields.io/pypi/v/pylhb4dr.svg)](https://pypi.org/project/pylhb4dr/)
43
+ [![GitHub stars](https://img.shields.io/github/stars/SoftGod4MrLi/pylhb4dr?style=flat&logo=github)](https://github.com/SoftGod4MrLi/pylhb4dr)
44
+ [![GitHub license](https://img.shields.io/github/license/SoftGod4MrLi/pylhb4dr?style=flat)](https://github.com/SoftGod4MrLi/pylhb4dr/blob/main/LICENSE)
45
+ ![GitHub repo size](https://img.shields.io/github/repo-size/SoftGod4MrLi/pylhb4dr?style=flat)
46
+ [![GitHub forks](https://img.shields.io/github/forks/SoftGod4MrLi/pylhb4dr?style=flat&logo=github)](https://github.com/SoftGod4MrLi/pylhb4dr)
47
+
48
+ pylhb4dr 是我在工作过程中陆续整理的一个 Python 订餐宝 工具包,里面就放在一个关于订餐宝操作的类及相关函数。与其说是一个正式的开源项目,不如说是我自己的“代码杂物间”——只不过把它打包了一下,方便在不同项目之间复用。
49
+
50
+ > 由于是个人使用为主,很多设计可能带着比较强的个人习惯,也未必是最优解。如果您发现了问题或有更好的建议,非常欢迎指正。
51
+
52
+ ## 安装
53
+
54
+ ```
55
+ pip install pylhb4dr
56
+ ```
57
+
58
+ ### Mr.Lee's DR Helpers
59
+
60
+ Only available for internal facial maintenance tools of DR products, thanks!
@@ -0,0 +1,21 @@
1
+ # # pylhb4dr
2
+
3
+ [![PyPI version](https://img.shields.io/pypi/v/pylhb4dr.svg)](https://pypi.org/project/pylhb4dr/)
4
+ [![GitHub stars](https://img.shields.io/github/stars/SoftGod4MrLi/pylhb4dr?style=flat&logo=github)](https://github.com/SoftGod4MrLi/pylhb4dr)
5
+ [![GitHub license](https://img.shields.io/github/license/SoftGod4MrLi/pylhb4dr?style=flat)](https://github.com/SoftGod4MrLi/pylhb4dr/blob/main/LICENSE)
6
+ ![GitHub repo size](https://img.shields.io/github/repo-size/SoftGod4MrLi/pylhb4dr?style=flat)
7
+ [![GitHub forks](https://img.shields.io/github/forks/SoftGod4MrLi/pylhb4dr?style=flat&logo=github)](https://github.com/SoftGod4MrLi/pylhb4dr)
8
+
9
+ pylhb4dr 是我在工作过程中陆续整理的一个 Python 订餐宝 工具包,里面就放在一个关于订餐宝操作的类及相关函数。与其说是一个正式的开源项目,不如说是我自己的“代码杂物间”——只不过把它打包了一下,方便在不同项目之间复用。
10
+
11
+ > 由于是个人使用为主,很多设计可能带着比较强的个人习惯,也未必是最优解。如果您发现了问题或有更好的建议,非常欢迎指正。
12
+
13
+ ## 安装
14
+
15
+ ```
16
+ pip install pylhb4dr
17
+ ```
18
+
19
+ ### Mr.Lee's DR Helpers
20
+
21
+ Only available for internal facial maintenance tools of DR products, thanks!
@@ -0,0 +1,26 @@
1
+ [project]
2
+ name = "pylhb4dr"
3
+ version = "1.1.0"
4
+ description = "Mr.Lee's DR Helpers"
5
+ readme = "README.md"
6
+ license = {file = "LICENSE"}
7
+ authors = [
8
+ { name = "SoftGod4MrLi", email = "596928288@qq.com" }
9
+ ]
10
+ requires-python = ">=3.12"
11
+ dependencies = [
12
+ "pylhb>=0.6.6",
13
+ ]
14
+
15
+ [project.urls]
16
+ Homepage = "https://github.com/SoftGod4MrLi/pylhb4dr"
17
+ Documentation = "https://github.com/SoftGod4MrLi/pylhb4dr"
18
+ Repository = "https://github.com/SoftGod4MrLi/pylhb4dr"
19
+ Issues = "https://github.com/SoftGod4MrLi/pylhb4dr/issues"
20
+
21
+ [project.scripts]
22
+ pylhb4dr = "pylhb_dr:main"
23
+
24
+ [build-system]
25
+ requires = ["uv_build>=0.11.2,<100.0.0"]
26
+ build-backend = "uv_build"
@@ -0,0 +1,30 @@
1
+ from .mydr import MyDR
2
+
3
+ __all__=[
4
+ "MyDR"
5
+ ]
6
+
7
+ import argparse
8
+
9
+ def main() -> None:
10
+ parser = argparse.ArgumentParser(description="Mr.Lee's DR Helpers")
11
+ parser.add_argument('-v', '--version', action='store_true', help='show version')
12
+ args = parser.parse_args()
13
+
14
+ # show version
15
+ if args.version:
16
+ try:
17
+ from importlib.metadata import version, PackageNotFoundError
18
+ # 直接从包元数据获取版本号
19
+ ver = version("pylhb4dr")
20
+ print(f"pylhb4dr {ver}")
21
+ except PackageNotFoundError:
22
+ print("Package not found.")
23
+ except ImportError:
24
+ print("Package not found.")
25
+ except:
26
+ print("Package not found.")
27
+ return
28
+
29
+ if __name__ == '__main__':
30
+ main()
@@ -0,0 +1,9 @@
1
+ """
2
+ 模块:mydr
3
+ 作者:李生
4
+ 描述:DR操作
5
+ """
6
+
7
+ class MyDR:
8
+ def __init__(self) -> None:
9
+ pass