Skip to main content

一个简单的加法和减法计算模块

Project description

test-cm-py-module

一个简单的加法和减法计算模块

安装

pip install test-cm-py-module

使用方法

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): 计算两个数的差

开发

# 克隆仓库
git clone https://github.com/yourusername/test-cm-py-module.git
cd test-cm-py-module

# 安装开发依赖
pip install -e .[dev]

# 运行测试
pytest

许可证

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

test_cm_py_module-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

test_cm_py_module-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file test_cm_py_module-0.1.0.tar.gz.

File metadata

  • Download URL: test_cm_py_module-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for test_cm_py_module-0.1.0.tar.gz
Algorithm Hash digest
SHA256 650d93c56284beb1066375d87181b8af7bf673ca8578eede2ece8d035c50e955
MD5 1e2ce03d4bb867ecd3540e9ab06cb60a
BLAKE2b-256 39b4f736950f440454a70eb01ba2bb795e717d070311c28fdf4e94e035cce7e7

See more details on using hashes here.

File details

Details for the file test_cm_py_module-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for test_cm_py_module-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f51ba3bae8f32bc78a976822cba44e3e21a7806a9338f4e4d1e67191d3964ff3
MD5 c0609873b516aafbb5c2ab9f09184e1f
BLAKE2b-256 66d18a4396edee98474f00359b5f31c30d769263b2bc4212c032e49c049d47a7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page