25 lines
463 B
Python
Executable File
25 lines
463 B
Python
Executable File
#!/usr/bin/env -S uv run --script
|
|
# /// script
|
|
# requires-python = ">=3.11"
|
|
# dependencies = []
|
|
# ///
|
|
"""
|
|
Basic Python script template using uv.
|
|
|
|
This is a minimal working example showing the correct PEP 723 format.
|
|
No external dependencies - uses only Python standard library.
|
|
|
|
Usage:
|
|
python basic-script.py
|
|
"""
|
|
|
|
def main():
|
|
"""Main entry point for the script."""
|
|
print("Hello from uv!")
|
|
|
|
# Your code here
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|