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

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

conda create -n myenv ipykernel
a2km env-kernel myenv
python3 -m venv myvenv
a2km env-kernel myvenv --kind ./venv

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.2.0.tar.gz (15.0 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.2.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for a2km-0.2.0.tar.gz
Algorithm Hash digest
SHA256 be5c878eddc85a8d3172e3ed3e8e672d550fb6a9705d4c5f5c510f51f746eef8
MD5 b796ba8b7ecdb568b495b29ccb29037c
BLAKE2b-256 3bdb059c05f9c4e56450e2a07f86f803a15c6599ececf8cfd530e7f44ae97d62

See more details on using hashes here.

Provenance

The following attestation bundles were made for a2km-0.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: a2km-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 079b7fab4fa5c3194e60f45799b89d02a7107b5e165fa236183fb8395f6dcf7a
MD5 26948f9f702236b4b69c6377d72d9bf3
BLAKE2b-256 6c3355781365dc7076abc1103ae6c5a2c7bfaf94cbbb76947eef1df6aba24fd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for a2km-0.2.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