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.1.tar.gz (15.8 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.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: a2km-0.2.1.tar.gz
  • Upload date:
  • Size: 15.8 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.1.tar.gz
Algorithm Hash digest
SHA256 058cd7871a8e90c0499b792c09d32dfb4d4e0f8b0346cbccc832577d4adcb927
MD5 6220c146070ec961ac849936c3e88ba2
BLAKE2b-256 76d4c15677e52e5970a5ad86cb4977f50a77e8eae3db47548a6881c958514c5d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: a2km-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77431e3a4386f132f40cc698eadc04d6fcc6499a284b301054a3d9905b63c39f
MD5 8c2ec961273154fec36a2456cef4c3fe
BLAKE2b-256 a95cc724edcd863deba22af3c5d67a5ccd1e699ca5afee2945a222b85829aa04

See more details on using hashes here.

Provenance

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