Skip to main content

项目使用 uv 管理虚拟环境

https://docs.astral.sh/uv/

项目依赖安装

  • uv sync:同步 pyproject.toml 中的依赖
  • uv pip install -r requirements.txt:通过 pip 安装requirements.txt中的依赖

发布到 pypi

  1. uv build
  2. uv 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)

Source distribution for uni-cli 0.2.8
File Size Uploaded
uni_cli-0.2.8.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uni-cli 0.2.8
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.8 This release

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page