Project

a2km

0.01
No commit activity in last 3 years
No release in over 3 years
Working with Juptyer kernels
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Assistant to the Kernel Manager

Utility for working with Jupyter kernelspecs.

Install

gem install a2km

Examples

a2km clone python3 myenvpy3
a2km set python3-copy display_name "Super cool Python Kernel"
a2km add-env python3-copy SPARK_HOME=/path/to/spark
a2km add-argv python3-copy -- --debug
# <debug some stuff>
a2km rm-argv python3-copy -- debug

Kernelspecs for environments

a2km has an env-kernel subcommand for creating kernelspecs for your conda or virtual environments. Just pass a2km the name of the env, and you should be set:

conda create -n myenv ipykernel
a2km env-kernel myenv

Commands

add-argv   Add argument(s) to a kernelspec launch command
add-env    Add environment variables to a kernelspec
clone      Clone a kernelspec
env-kernel Create a kernel from an env (conda or virtualenv)
help       Display global or [command] help documentation
locate     Print the path of a kernelspec
rename     Rename a kernelspec
rm         Remove a kernelspec
rm-argv    Remove arguments from a kernelspec launch command
rm-env     Remove environment variables from a kernelspec
set        Set a value in the kernelspec
show       Show info about a kernelspec

Assistant TO the Kernel Manager