The Self-Healing Library is a Python tool that dynamically runs and patches code to recover from runtime errors using installed data.
Project description
Self-Healing Library
The Self-Healing Library is a Python tool that dynamically runs and patches code to recover from runtime errors using installed data.
Features
- Execute arbitrary Python code safely
- Catch and analyze runtime errors
- Automatically find solution for errors
Installation
pip install self_healing
Usage
from self_healing import check_code()
sample_code = """
def divide(a, b):
return a / b
result = divide(10, 0)
print(result)
"""
check_code(code=sample_code)
Roadmap
- AI-powered code fixes
- AST-based code patching
- Interactive debugging prompts
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
self_healing-0.1.2.tar.gz
(5.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file self_healing-0.1.2.tar.gz.
File metadata
- Download URL: self_healing-0.1.2.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff6b4435686e9c864b7d24a9e7a0a7f6f9f66f2c0976d7d4da7ab639b387206a
|
|
| MD5 |
9ca4e6ef00299e22481e870b6068db1b
|
|
| BLAKE2b-256 |
75d0b31d2502af0dd70caed7adc1939669b80f7c452db693f553d78acfe66715
|
File details
Details for the file self_healing-0.1.2-py3-none-any.whl.
File metadata
- Download URL: self_healing-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9719e872604f85ea27256262642addf451422339c7e8f76e922c293d085e2c6a
|
|
| MD5 |
039822b1d7367e11c6b075be1936de2f
|
|
| BLAKE2b-256 |
41e497da6f236c57a24d0c196d7a05a48c63d5b75f2cc7f848072b52ed389c58
|