Support binding to unix domain sockets
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
Research direction
Start at the shiny run CLI entry point and compare its accepted options with the arguments passed by run_app() to uvicorn.run(). Check how uvicorn's --uds option is represented and add equivalent CLI support, with completion shown by invoking shiny run --help and binding an app to a Unix socket.
Written by the indexing model from the issue text.
Description
It would be nice if shiny run would expose a cli option to bind to unix domain sockets instead of tcp ports.
uvicorn already supports this via the --uds flag.
This already works in python (as run_app() passes **kwargs on to uvicorn.run()):
from shiny import run_app
run_app("app:app", uds="/tmp/shiny.sock")
But in the shiny run cli, additional arguments are not allowed.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 135
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/py-shiny
-
needs-triage Priority: Medium
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
enhancement to-close
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
ai-triage:done bug needs-triage Priority: Low
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
ai-triage:done needs-triage Priority: Medium
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
needs-triage
Difficulty 1/5 Under an hour Newbie friendliness 70/100
All issues in posit-dev/py-shiny
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100