|
|
|
|
|
by akx
439 days ago
|
|
> Using pip-installed libraries brings in the famous packaging problems, but you don't have to use it! These days, with uv and PEP 723 inline script metadata, that's not an issue either. # /// script
# dependencies = ["numpy"]
# requires-python = ">=3.12"
# ///
import numpy as np
and uv run myscript.py
will just Do The Right Thing. |
|