# test-cm-py-module
一个简单的加法和减法计算模块
## 安装
```bash
pip install test-cm-py-module
```
## 使用方法
```python
from test_cm_py_module import add, subtract
# 加法运算
result = add(5, 3)
print(result) # 输出: 8
# 减法运算
result = subtract(10, 4)
print(result) # 输出: 6
```
## 功能
- `add(a, b)`: 计算两个数的和
- `subtract(a, b)`: 计算两个数的差
## 开发
```bash
# 克隆仓库
git clone https://github.com/yourusername/test-cm-py-module.git
cd test-cm-py-module
# 安装开发依赖
pip install -e .[dev]
# 运行测试
pytest
```
## 许可证
MIT License
Raw data
{
"_id": null,
"home_page": "https://github.com/yourusername/test-cm-py-module",
"name": "test-cm-py-module",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "Your Name <your.email@example.com>",
"download_url": "https://files.pythonhosted.org/packages/39/b4/f736950f440454a70eb01ba2bb795e717d070311c28fdf4e94e035cce7e7/test_cm_py_module-0.1.0.tar.gz",
"platform": null,
"description": "# test-cm-py-module\n\n\u4e00\u4e2a\u7b80\u5355\u7684\u52a0\u6cd5\u548c\u51cf\u6cd5\u8ba1\u7b97\u6a21\u5757\n\n## \u5b89\u88c5\n\n```bash\npip install test-cm-py-module\n```\n\n## \u4f7f\u7528\u65b9\u6cd5\n\n```python\nfrom test_cm_py_module import add, subtract\n\n# \u52a0\u6cd5\u8fd0\u7b97\nresult = add(5, 3)\nprint(result) # \u8f93\u51fa: 8\n\n# \u51cf\u6cd5\u8fd0\u7b97\nresult = subtract(10, 4)\nprint(result) # \u8f93\u51fa: 6\n```\n\n## \u529f\u80fd\n\n- `add(a, b)`: \u8ba1\u7b97\u4e24\u4e2a\u6570\u7684\u548c\n- `subtract(a, b)`: \u8ba1\u7b97\u4e24\u4e2a\u6570\u7684\u5dee\n\n## \u5f00\u53d1\n\n```bash\n# \u514b\u9686\u4ed3\u5e93\ngit clone https://github.com/yourusername/test-cm-py-module.git\ncd test-cm-py-module\n\n# \u5b89\u88c5\u5f00\u53d1\u4f9d\u8d56\npip install -e .[dev]\n\n# \u8fd0\u884c\u6d4b\u8bd5\npytest\n```\n\n## \u8bb8\u53ef\u8bc1\n\nMIT License\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "\u4e00\u4e2a\u7b80\u5355\u7684\u52a0\u6cd5\u548c\u51cf\u6cd5\u8ba1\u7b97\u6a21\u5757",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/yourusername/test-cm-py-module",
"Repository": "https://github.com/yourusername/test-cm-py-module"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "66d18a4396edee98474f00359b5f31c30d769263b2bc4212c032e49c049d47a7",
"md5": "c0609873b516aafbb5c2ab9f09184e1f",
"sha256": "f51ba3bae8f32bc78a976822cba44e3e21a7806a9338f4e4d1e67191d3964ff3"
},
"downloads": -1,
"filename": "test_cm_py_module-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c0609873b516aafbb5c2ab9f09184e1f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 3394,
"upload_time": "2025-07-16T02:29:35",
"upload_time_iso_8601": "2025-07-16T02:29:35.378652Z",
"url": "https://files.pythonhosted.org/packages/66/d1/8a4396edee98474f00359b5f31c30d769263b2bc4212c032e49c049d47a7/test_cm_py_module-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "39b4f736950f440454a70eb01ba2bb795e717d070311c28fdf4e94e035cce7e7",
"md5": "1e2ce03d4bb867ecd3540e9ab06cb60a",
"sha256": "650d93c56284beb1066375d87181b8af7bf673ca8578eede2ece8d035c50e955"
},
"downloads": -1,
"filename": "test_cm_py_module-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "1e2ce03d4bb867ecd3540e9ab06cb60a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3245,
"upload_time": "2025-07-16T02:29:36",
"upload_time_iso_8601": "2025-07-16T02:29:36.651401Z",
"url": "https://files.pythonhosted.org/packages/39/b4/f736950f440454a70eb01ba2bb795e717d070311c28fdf4e94e035cce7e7/test_cm_py_module-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-16 02:29:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourusername",
"github_project": "test-cm-py-module",
"github_not_found": true,
"lcname": "test-cm-py-module"
}