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
Release files for a2km 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| a2km-0.2.1.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| a2km-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.6 kB
Release files / a2km-0.2.1.tar.gz
| Download URL | a2km-0.2.1.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
058cd7871a8e90c0499b792c09d32dfb4d4e0f8b0346cbccc832577d4adcb927
|
|
BLAKE2b-256 checksum How to use checksums |
76d4c15677e52e5970a5ad86cb4977f50a77e8eae3db47548a6881c958514c5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 4, 2025.
Transparency logRelease files / a2km-0.2.1-py3-none-any.whl
| Download URL | a2km-0.2.1-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77431e3a4386f132f40cc698eadc04d6fcc6499a284b301054a3d9905b63c39f
|
|
BLAKE2b-256 checksum How to use checksums |
a95cc724edcd863deba22af3c5d67a5ccd1e699ca5afee2945a222b85829aa04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 4, 2025.
Transparency log