| #!/usr/bin/env python3 | |
| # /// script | |
| # requires-python = ">=3.10" | |
| # dependencies = [ | |
| # "rich", | |
| # ] | |
| # /// | |
| """Simple UV script to test hfjobs UV run functionality.""" | |
| import sys | |
| from rich import print as rprint | |
| def main(): | |
| rprint("[bold green]Hello from UV script![/bold green]") | |
| rprint(f"Python version: {sys.version}") | |
| if len(sys.argv) > 1: | |
| rprint(f"Arguments received: {sys.argv[1:]}") | |
| rprint("[blue]UV script completed successfully![/blue]") | |
| if __name__ == "__main__": | |
| main() |