python2jupyter icon indicating copy to clipboard operation
python2jupyter copied to clipboard

Command Line Arg to Set "metadata.kernelspec"

Open MBetters opened this issue 6 years ago • 1 comments

...
"metadata": {
  "kernelspec": {
   "display_name": "my-virtualenv-python",
   "language": "python",
   "name": "my-virtualenv-python"
  }
  ...
...

Maybe this could be passed in with something like -k my-virtualenv-python. I'm new to Jupyter, so I'm wondering if there'd be any edge-case reason not to do this? Like maybe p2j should first check if my-virtualenv-python exists as a kernel. I'm happy to add this feature myself as a PR.

MBetters avatar Aug 28 '19 14:08 MBetters

Sure, please do :)

On Wed, Aug 28, 2019 at 10:59 PM MBetters [email protected] wrote:

..."metadata": { "kernelspec": { "display_name": "my-virtualenv-python", "language": "python", "name": "my-virtualenv-python" } ......

Maybe this could be passed in with something like -k my-virtualenv-python. I'm new to Jupyter, so I'm wondering if there'd be any edge-case reason not to do this? I'm happy to add this feature myself as a PR.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/raibosome/python2jupyter/issues/3?email_source=notifications&email_token=ACUDL4YO2XXAJLAMWJYNUZLQG2HFXA5CNFSM4IRJO4HKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HH6OILQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ACUDL42EJTQBE37OMQLN6RLQG2HFXANCNFSM4IRJO4HA .

remykarem avatar Aug 31 '19 05:08 remykarem