Closed rgbkrk closed 4 years ago
With the yaml
function for formatting decency on the frontend:
%%kernel.conda-env
yaml('''
name: env-name
channels:
- conda-forge
- defaults
dependencies:
- python=3.7
- codecov
''')
I think it's a good idea, makes the interface flexible to be used with pre-existing syntax for configuration options in different organizations and tooling.
Oooh nice. I've been doing yaml, toml, json config in most of my work stuff these days.
In the style of papermill registration, create a system that allows us to register how we go from config text to kernel manager options. See
papermill_io.register
as prime examplespapermill_translators.register
.The initial idea is we create our own magics registration namespace. It would look something like this for a user of the kernel:
Whereas the implementer has their own package that calls our registration:
What do you think @MSeal & @willingc?