Skip to main content

Assistent to the (Jupyter) Kernel Manager

Project description

Assistant to the Kernel Manager

Utility for working with Jupyter kernelspecs.

Install

pip install a2km

Examples

a2km clone python3 python3-copy
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

(not yet reimplemented in Python)

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

a2km-0.1.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

a2km-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file a2km-0.1.0.tar.gz.

File metadata

  • Download URL: a2km-0.1.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for a2km-0.1.0.tar.gz
Algorithm Hash digest
SHA256 beb08cf93223dd3e13e4221d65fc0dfed3b99a1bea5fdd68eb1d48231137cb37
MD5 54ab334e6472e353ab311b374d3e638a
BLAKE2b-256 9c88f56916ea0eec9d13fb723fdcf748be24d2be54b5d3c25a4ba76a0a36bab1

See more details on using hashes here.

Provenance

The following attestation bundles were made for a2km-0.1.0.tar.gz:

Publisher: release.yaml on minrk/a2km

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file a2km-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: a2km-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for a2km-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34791b8843259a0996c6f0a3d45d5b5ad19d3c5c39a54bcbfb2e7ba55fe31c39
MD5 812bc658f40dd82c7d1b74eab39fc3b7
BLAKE2b-256 f0e7369d21f2c10365731610ee65a5cca8bdacf09c5ba21d158a65f7919e082c

See more details on using hashes here.

Provenance

The following attestation bundles were made for a2km-0.1.0-py3-none-any.whl:

Publisher: release.yaml on minrk/a2km

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page