Upload test_uv_script_v2.py with huggingface_hub
Browse files12345678910111213141516171819202122232425# /// script# requires-python = ">=3.10"# dependencies = [# "httpx",# ]# ///"""Advanced UV script demonstrating table updates."""
import httpximport sys
def main(): print("Hello from UV script v2!") print(f"Python version: {sys.version}") print(f"Command line args: {sys.argv[1:]}") # Test that dependencies work with httpx.Client() as client: response = client.get("https://api.github.com") print(f"GitHub API status (via httpx): {response.status_code}") print("✅ Script v2 completed successfully!")
if __name__ == "__main__": main()test_uv_script_v2.pyAdded+25