Skip to main content

helping to fix bugs and codes

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


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.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

self_healing-0.1.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file self_healing-0.1.1.tar.gz.

File metadata

  • Download URL: self_healing-0.1.1.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

Hashes for self_healing-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d0ec37050e7734f94643ababae12a02bb415bf3604e7337e4e462f8ede34b9c2
MD5 3766a50048c0c8b5d13b40a07cd417b0
BLAKE2b-256 f15f5448a4cedd035fe606ede95ba084bfe9c2b121718278ef485ba4f980f497

See more details on using hashes here.

File details

Details for the file self_healing-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: self_healing-0.1.1-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

Hashes for self_healing-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27b93d262e64133d40b826216af9fe4e82454e0fcea2b5f326bfe55da3d07cbc
MD5 659681fcf492e4f36a5877b75f37bccc
BLAKE2b-256 001341e98ba00b686497dc3d8f4a02816d2cb28d7c9b84c8cf6bf7222f4eb1ac

See more details on using hashes here.

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