api-wecom-cli 0.1.0a3__tar.gz → 0.1.0a5__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.
Files changed (37) hide show
  1. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/PKG-INFO +1 -3
  2. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/README.md +17 -11
  3. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/api_wecom_cli.egg-info/PKG-INFO +1 -3
  4. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/api_wecom_cli.egg-info/SOURCES.txt +0 -1
  5. api_wecom_cli-0.1.0a5/apis/generated_client.py +3621 -0
  6. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/cli/generated_commands.py +3361 -3670
  7. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/pyproject.toml +1 -11
  8. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/tests/test_discovery.py +18 -15
  9. api_wecom_cli-0.1.0a3/api_wecom_cli.egg-info/requires.txt +0 -3
  10. api_wecom_cli-0.1.0a3/apis/generated_client.py +0 -4037
  11. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/LICENSE +0 -0
  12. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/api_wecom_cli.egg-info/dependency_links.txt +0 -0
  13. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/api_wecom_cli.egg-info/entry_points.txt +0 -0
  14. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/api_wecom_cli.egg-info/top_level.txt +0 -0
  15. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/apis/__init__.py +0 -0
  16. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/cli/__init__.py +0 -0
  17. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/cli/help_formatter.py +0 -0
  18. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/cli/main.py +0 -0
  19. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/core/__init__.py +0 -0
  20. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/core/auth.py +0 -0
  21. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/core/config.py +0 -0
  22. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/core/errors.py +0 -0
  23. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/core/requester.py +0 -0
  24. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/models/__init__.py +0 -0
  25. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/models/common.py +0 -0
  26. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/setup.cfg +0 -0
  27. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/tests/test_auth.py +0 -0
  28. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/tests/test_build_agent_tasks.py +0 -0
  29. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/tests/test_catalog_diff.py +0 -0
  30. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/tests/test_cli.py +0 -0
  31. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/tests/test_codegen.py +0 -0
  32. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/tests/test_config.py +0 -0
  33. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/tests/test_coverage.py +0 -0
  34. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/tests/test_requester.py +0 -0
  35. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/tests/test_run_catalog_sync.py +0 -0
  36. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/tests/test_scaffold.py +0 -0
  37. {api_wecom_cli-0.1.0a3 → api_wecom_cli-0.1.0a5}/tests/test_sync_spec_docs.py +0 -0
@@ -1,9 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: api-wecom-cli
3
- Version: 0.1.0a3
3
+ Version: 0.1.0a5
4
4
  Summary: WeCom CLI
5
5
  Requires-Python: >=3.11
6
6
  License-File: LICENSE
7
- Provides-Extra: dev
8
- Requires-Dist: commitizen>=4; extra == "dev"
9
7
  Dynamic: license-file
@@ -1,6 +1,7 @@
1
1
  # WeCom CLI 🚀
2
2
 
3
3
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
+ [![PyPI](https://img.shields.io/pypi/v/api-wecom-cli.svg)](https://pypi.org/project/api-wecom-cli/)
4
5
  [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
5
6
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
6
7
 
@@ -21,11 +22,21 @@
21
22
  ## 📦 安装
22
23
 
23
24
  ```bash
24
- pip install -e .
25
+ pip install api-wecom-cli
25
26
  ```
26
27
 
27
28
  *要求 Python >= 3.11*
28
29
 
30
+ <details>
31
+ <summary>开发安装</summary>
32
+
33
+ ```bash
34
+ pip install -e ".[dev]"
35
+ pre-commit install
36
+ ```
37
+
38
+ </details>
39
+
29
40
  ## 🚀 快速上手
30
41
 
31
42
  配置凭证(支持环境变量或配置文件):
@@ -68,17 +79,8 @@ wecom customers list-follow-users
68
79
 
69
80
  ## 🛠️ 开发者指南
70
81
 
71
- 我们使用 `pre-commit` 来保障代码质量。
72
-
73
82
  ```bash
74
- # 安装开发依赖
75
- pip install -e ".[dev]"
76
-
77
- # 安装并激活 pre-commit hooks
78
- pre-commit install
79
-
80
- # 手动运行全量检查
81
- pre-commit run --all-files
83
+ pre-commit run --all-files # 提交前必跑
82
84
  ```
83
85
 
84
86
  ### 自动化脚本
@@ -106,3 +108,7 @@ pre-commit run --all-files
106
108
  ## 📄 开源协议
107
109
 
108
110
  本项目采用 [MIT License](LICENSE) 开源。
111
+
112
+ ## 🌐 社区
113
+
114
+ - [LINUX DO](https://linux.do/) — 开发者社区,项目起步于此
@@ -1,9 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: api-wecom-cli
3
- Version: 0.1.0a3
3
+ Version: 0.1.0a5
4
4
  Summary: WeCom CLI
5
5
  Requires-Python: >=3.11
6
6
  License-File: LICENSE
7
- Provides-Extra: dev
8
- Requires-Dist: commitizen>=4; extra == "dev"
9
7
  Dynamic: license-file
@@ -5,7 +5,6 @@ api_wecom_cli.egg-info/PKG-INFO
5
5
  api_wecom_cli.egg-info/SOURCES.txt
6
6
  api_wecom_cli.egg-info/dependency_links.txt
7
7
  api_wecom_cli.egg-info/entry_points.txt
8
- api_wecom_cli.egg-info/requires.txt
9
8
  api_wecom_cli.egg-info/top_level.txt
10
9
  apis/__init__.py
11
10
  apis/generated_client.py