Skip to main content

一个简单的计算工具包,提供基本的数学运算和问候功能

Project description

一个简单的计算工具包,提供基本的数学运算和问候功能。

功能特性

  • 提供幸运星计算功能
  • 支持两个数字的加法运算
  • 提供自定义问候功能

安装方法

pip install calculate

使用示例

from calculate import lucky_star, num_add, greeting

# 计算幸运星
result1 = lucky_star(5)  # 返回: 500

# 计算两个数字的和
result2 = num_add(10, 20)  # 返回: 30

# 获取问候语
result3 = greeting("World")  # 返回: "Hello, World!"

服务器运行

python -m src.main

依赖项

  • fastapi>=0.116.2
  • uvicorn>=0.35.0

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

calculate_tool_lengyue1084-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

calculate_tool_lengyue1084-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for calculate_tool_lengyue1084-0.1.0.tar.gz
Algorithm Hash digest
SHA256 efa2a05e4e9e91e61929ff36c7c6bd32d5d1388629f97030bdbb1daa44e0c983
MD5 f814f0406852921a13f7bc68fbc5275d
BLAKE2b-256 5e21bf737f83dc5174145d43deec6d3d8a2ec86b1e33e18d5299dfed1c776d06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for calculate_tool_lengyue1084-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0f2bd05a95982620fde5343989e8f4c60ccb4a6279c4c70d29e4cd338b1dddd
MD5 3d9aae13e8218e4eb561324df78607b2
BLAKE2b-256 82d4076e5998a81486f71eb9b33798d536129310090be04521d65ca708c0eb28

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