通过提示调用不同api,实现请假、考勤、外出等OA功能
Project description
hw-oa
项目文档
本地运行项目
uvicorn hw_oa_server.main:app --reload
安装twine
uv pip install twine
发布项目
创建 ~/.pypirc,内容如下
[distutils]
index-servers =
pypi
[pypi]
repository = https://upload.pypi.org/legacy/
username = __token__
password = **** #这个在pypi网站上获取个人的token
uv build # 构建,完成后会生成目录 dist,下面放着压缩包 cd /d/workspace/mcp/hwoa_mcp_server/hw_oa #项目所在路径 export PYTHONIOENCODING=utf-8 # 设置 Python 输出编码 twine upload dist/* # 配置 ~/.pypirc后不需要手动输入密码
测试
更新 pip install --upgrade hw-oa 本地运行 uv run hw-oa 如果没问题说明发布成功 uvicorn参考文档
项目描述
- 由cicd工具生成模板
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
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 hw_oa-0.1.5.tar.gz.
File metadata
- Download URL: hw_oa-0.1.5.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca6ec3535fe5d31c3ef2d36ea4998e8442e56e95205473beb575c2220400d582
|
|
| MD5 |
707f634afba01b1a4f9bae9aecdd4819
|
|
| BLAKE2b-256 |
fb4c672b1bf61dc4316cc6ed85c45517dbc360544a38bbcd6f63cacd52dd2444
|
File details
Details for the file hw_oa-0.1.5-py3-none-any.whl.
File metadata
- Download URL: hw_oa-0.1.5-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ff33a73b2970ff42b173e941507128a9869f52ba24ee19131565d4165264efc
|
|
| MD5 |
a26787ab6657d109d64ba03ee8fd8ff2
|
|
| BLAKE2b-256 |
ed87a648f1c6d4548f54eddf16da882b3b8ade5c077f1cbee7bb7c46be59c830
|