Download test_uv_cli.py from evalstate/test-scripts: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/evalstate/test-scripts/resolve/418b512069da8a2a0a0827267c3aeee217e3e08d/test_uv_cli.py
- Command line
-
hf download hf://evalstate/test-scripts@418b512069da8a2a0a0827267c3aeee217e3e08d/test_uv_cli.py
-
curl -L -o test_uv_cli.py https://huggingface.co/evalstate/test-scripts/resolve/418b512069da8a2a0a0827267c3aeee217e3e08d/test_uv_cli.py
423 Bytes
| #!/usr/bin/env python3 | |
| # /// script | |
| # dependencies = [] | |
| # /// | |
| import time | |
| import sys | |
| import os | |
| # Force unbuffered output | |
| os.environ['PYTHONUNBUFFERED'] = '1' | |
| print('🚀 UV CLI Test - Starting...', flush=True) | |
| sys.stdout.flush() | |
| for i in range(5): | |
| print(f'✅ Step {i+1}/5 from UV CLI test', flush=True) | |
| sys.stdout.flush() | |
| time.sleep(1) | |
| print('🎉 UV CLI Test - Complete!', flush=True) | |
| sys.stdout.flush() | |