项目使用 uv 管理虚拟环境
项目依赖安装
uv sync:同步 pyproject.toml 中的依赖uv pip install -r requirements.txt:通过 pip 安装requirements.txt中的依赖
发布到 pypi
uv builduv publish --token <pypi token>
安装与使用
- uv 安装:
uv tool install uni-cli --index https://mirrors.cloud.tencent.com/pypi/simple - 查看:
uv tool list - 升级:
uv tool upgrade --all --index https://mirrors.cloud.tencent.com/pypi/simple - 使用:
say -t hello
command
# uv sync
# uv run example hello Xiaoming
# uv run example goodbye Xiaoming --formal
uv run say -t hello
uv run os
uv run bitget spot btc,eth
uv run bitget mix popcat
uv run pyv
uv run sync grid
uv run sync strategy
uv run bitget spot btc,eth -p http://127.0.0.1:7890
uv run bitget spot btc,eth -p socks5h://127.0.0.1:7890
uv run bitget sync
uv run gate
Metadata
Release files for uni-cli 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| uni_cli-0.2.8.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uni_cli-0.2.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.2 kB
Release files / uni_cli-0.2.8.tar.gz
| Download URL | uni_cli-0.2.8.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4fcdd6ecf4d99e2062624e47fb86f1fb4750ed18d6738cd88119ae64d8a01d1
|
|
BLAKE2b-256 checksum How to use checksums |
63e7d11a835d4711e5fd544d3b25cfb015c1f18f677f04b27d3c9e82ec15c9cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.12
|
Release files / uni_cli-0.2.8-py3-none-any.whl
| Download URL | uni_cli-0.2.8-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a034c0ca57dd90faa21631d2a3b4292cc273e5cfe519ffbb375088f4fab422ae
|
|
BLAKE2b-256 checksum How to use checksums |
16fb5484e13c1296854629d135746d47c23ff8cf31af551136c81353185b0265
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.12
|