通过提示调用不同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,下面放着压缩包 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.4.tar.gz
(4.7 kB
view details)
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
hw_oa-0.1.4-py3-none-any.whl
(6.7 kB
view details)
File details
Details for the file hw_oa-0.1.4.tar.gz.
File metadata
- Download URL: hw_oa-0.1.4.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
540b696da91e1a8a57a7361ea261f9260788b434a12eda712e5225d0270d100b
|
|
| MD5 |
a5846870a00c09ad7f8dbfcb235445fa
|
|
| BLAKE2b-256 |
3139baf90c2cc80981b8b0fa0f1316d347ef2f750a14d35cbf125b57dbca772b
|
File details
Details for the file hw_oa-0.1.4-py3-none-any.whl.
File metadata
- Download URL: hw_oa-0.1.4-py3-none-any.whl
- Upload date:
- Size: 6.7 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 |
4b53e6fe23b914b38b6568c2edf013d088a3ccd6f4b0c0466b28043a7fce28c5
|
|
| MD5 |
507fce491dd21484d8af263a0ae09d19
|
|
| BLAKE2b-256 |
ab3e681143ed380cfb0585a1720c6a180478045a7b5bb4d774ec350e490192cd
|