Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
semi-extrinsic
79 days ago
|
parent
|
context
|
favorite
| on:
A year of uv: pros, cons, and should you migrate
You can do this:
[project.scripts] hello = "example:hello"
Assuming you have src/example.py with a function called hello, then "uv run hello" will call that function. I think you also need to have a (empty) src/__init__.py file.
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: