Metadata-Version: 2.2
Name: recursion2loop
Version: 0.2.3
Summary: conversion of recursive functions to iterative implementations. Optimize your Python code by transforming stack-heavy recursion into efficient loops.
Home-page: https://github.com/AdilKoken/recursion2loop
Author: Adil Köken
Author-email: mail@adilkoken.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-python
Dynamic: summary

# recursion2iteration

[![PyPI version](https://badge.fury.io/py/recursion2loop.svg)](https://badge.fury.io/py/recursion2loop)
[![Python Versions](https://img.shields.io/pypi/pyversions/recursion2loop.svg)](https://pypi.org/project/recursion2loop/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python Package](https://github.com/adilkoken/recursion2loop/actions/workflows/python-package.yml/badge.svg)](https://github.com/adilkoken/recursion2loop/actions/workflows/python-package.yml)

This package provides common recursive patterns to iterative implementations. The goal is to provide stack-safe and memory-efficient iterative implementations in python language.

## Features

- 🔄 Convert recursive functions to iterative implementations
- 🔧 Type-safe implementations with full typing support

## Installation

```bash
pip install recursion2loop
```

## Available Transformations

- Tree Traversals (check for more details: [tree traversal documentation](https://github.com/adilkoken/recursion2loop/blob/main/documentation/doc_tree_traversal.md))
- Tree Operations (check for more details: [tree operations documentation](https://github.com/adilkoken/recursion2loop/blob/main/documentation/doc_tree_operations.md))

# License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/adilkoken/recursion2loop/blob/main/LICENSE) file for details.

# Code of Conduct

This project and everyone participating in it is governed by the [Code of Conduct](https://github.com/adilkoken/recursion2loop/blob/main/CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.

# Contributing

Your contributions are always welcome! Please take a look at the [contribution guidelines](https://github.com/adilkoken/recursion2loop/blob/main/CONTRIBUTING.md).
