一个简单的计算工具包,提供基本的数学运算和问候功能
Project description
一个简单的计算工具包,提供基本的数学运算和问候功能。
功能特性
- 提供幸运星计算功能
- 支持两个数字的加法运算
- 提供自定义问候功能
安装方法
pip install calculate_tool_lengyue1084
使用示例
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file calculate_tool_lengyue1084-0.2.13.tar.gz.
File metadata
- Download URL: calculate_tool_lengyue1084-0.2.13.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b738d0e5cac060e7f5a7983ad84c4c61db2a186bedfb889fd5c2ac6982668df9
|
|
| MD5 |
977059ee4f05ae1c262e9fdad959219c
|
|
| BLAKE2b-256 |
581454abc5055098db3992daeb1e006af1fba4fd7e5a17741a14f77b6b358b9e
|
File details
Details for the file calculate_tool_lengyue1084-0.2.13-py3-none-any.whl.
File metadata
- Download URL: calculate_tool_lengyue1084-0.2.13-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03c30cf652ba1a5420004fe32ba7f34c1b8a42ac2ffbbb190445db9aaa91c61d
|
|
| MD5 |
aa5c65249cf900b12a3cf56be3bc4f95
|
|
| BLAKE2b-256 |
5338fdd92e1833616f1de0979aa5e1e9f6f2f191004cc9160f8fbdb54800072b
|