diff --git a/README.md b/README.md index ad11ab5..b583db1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,25 @@ # python-tests +> Python tool: https://github.com/astral-sh/uv + +```shell +uvx pycowsay 'hello world!' +``` + +```shell +$ echo 'import requests; print(requests.get("https://astral.sh"))' > example.py + +$ uv add --script example.py requests +Updated `example.py` +``` + +```shell +$ uv run example.py +Reading inline script metadata from: example.py +Installed 5 packages in 12ms + +``` + > https://developer.aliyun.com/mirror/pypi/ `~/.pip/pip.conf`