🛡️ KernelLock
KernelLock is a robust, zero-overhead Python library designed to protect your Jupyter, Kaggle, and Google Colab environments from accidental kernel restarts, sys.exit() calls, and OS-level soft kill signals.
Features
- GPU Zero-Overhead: Does not monitor or interfere with CUDA operations.
- Auto-Injection: Installs a startup hook so it runs automatically when a kernel boots.
- Interface Proof: Disables the "Restart Kernel" functionality from the notebook UI.
- Sys.exit Proof: Prevents scripts from accidentally terminating the entire kernel.
Installation
pip install kernellock
Metadata
Release files for kernellock 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kernellock-1.0.0.tar.gz | 3.3 kB | Without provenance | Details for kernellock-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kernellock-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for kernellock-1.0.0-py3-none-any.whl |
Total release size: 6.3 kB
Release files / kernellock-1.0.0.tar.gz
| Download URL | kernellock-1.0.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb3308a69d8417fed5d8ac497ad12f51261559510556a58043597ace5e73c86a
|
|
BLAKE2b-256 checksum How to use checksums |
92f0d0e9fc7200975ee3e74bc46665ba73962b2d0d67c9f0136103f74818556e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / kernellock-1.0.0-py3-none-any.whl
| Download URL | kernellock-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e90dd8447ef574c3ec33f03c12920992dd3065926220223afa9c9fe28ca75d6
|
|
BLAKE2b-256 checksum How to use checksums |
727f94785263b9e5132ce25ee7f19448636c30d8064e8bb2c07e074fffc6dfa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Security for kernellock 1.0.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.