Metadata-Version: 2.4
Name: hanifx
Version: 2.3.8
Summary: Living Code — Python functions that evolve themselves
Home-page: https://github.com/hanif/hanifx
Author: hanif
Author-email: 
Project-URL: Bug Tracker, https://github.com/hanif/hanifx/issues
Project-URL: Documentation, https://github.com/hanif/hanifx#readme
Project-URL: Source Code, https://github.com/hanif/hanifx
Keywords: evolve,living code,self-optimizing,performance,decorator,profiler
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Debuggers
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: black>=23.0; extra == "dev"
Requires-Dist: flake8>=6.0; extra == "dev"
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-python
Dynamic: summary

# hanifx 🧬

> Living Code — Python functions that evolve themselves.

## What is hanifx?

Normal code is **static** — you write it once, it runs the same way forever.

**hanifx** makes your functions **alive** — they observe themselves,
detect pain, and propose smarter versions of themselves over time.

## Installation

pip install hanifx

## Quick Start

from hanifx import evolve

@evolve
def process_data(data):
    result = []
    for item in data:
        if data.count(item) > 1:
            result.append(item)
    return result

# Run it — hanifx silently watches
for i in range(50):
    process_data([1, 2, 3, 2, 1, 4])

# After 50 calls — EVOLUTION ALERT fires!

## Features

- Memory Layer — tracks every call silently
- Pain Detector — knows when a function is slow or broken
- Evolution Engine — proposes faster alternatives
- Conscience — never applies unsafe changes
- Rollback — go back to any previous version

## Roadmap

- v0.1 — Memory + Pain Detection
- v0.2 — Evolution Proposals
- v0.3 — CLI Tool
- v0.4 — Team Sync
- v1.0 — Full Release

## Author

Built by hanif with ❤️

## License

MIT
