I'm trying to figure out a way to take user input for an external AWS credential provider. This boils down to sending input from the Jupyter frontend to a subprocess and also displaying stderr.
import os
import subprocess
subprocess.run(
["python", "get-pass.py"],
check=True,
)
I realize the above obviously won't work, but what direction should I go in to implement this via Jupyter APIs? I'm willing to do some hacking. Sorry if this isn't the right place to post this.
I'm trying to figure out a way to take user input for an external AWS credential provider. This boils down to sending input from the Jupyter frontend to a subprocess and also displaying stderr.
In the notebook
I realize the above obviously won't work, but what direction should I go in to implement this via Jupyter APIs? I'm willing to do some hacking. Sorry if this isn't the right place to post this.