Metadata-Version: 2.4
Name: kernellock
Version: 1.0.0
Summary: Prevents Jupyter/Kaggle/Colab kernel restarts and OS-level kills seamlessly.
Author: Ömür bera ışık/FastLoRA
Author-email: fastloraoffical@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-python
Dynamic: summary

# 🛡️ 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
```bash
pip install kernellock
