Skip to main content

通过提示调用不同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

hw_oa-0.1.6.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

hw_oa-0.1.6-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file hw_oa-0.1.6.tar.gz.

File metadata

  • Download URL: hw_oa-0.1.6.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for hw_oa-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b9d3b57c558d1966df61451ac8c98835504de6cbd30970343cff5a78b0845124
MD5 e0a25fea437ed7ad22072e0def5cbe08
BLAKE2b-256 5d01ebefc788ebcddc022197d97ba842f084172f947bb82db1693d584461f1aa

See more details on using hashes here.

File details

Details for the file hw_oa-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: hw_oa-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for hw_oa-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 abe0daea52cdbfc149ed0c3575dbac42e37cb026242f1108e07025045a481ba8
MD5 d2aa3737bc10a09e3d6ab88a6106547c
BLAKE2b-256 cf7603d8a2658a68ac4dafa4aada9725bd8c4add7bf21473fe70914cd84637b4

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