Skip to main content

conversion of recursive functions to iterative implementations. Optimize your Python code by transforming stack-heavy recursion into efficient loops.

Project description

recursion2iteration

PyPI version Python Versions License: MIT

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

pip install recursion2loop

Available Transformations

License

This project is licensed under the MIT License - see the LICENSE file for details.

Code of Conduct

This project and everyone participating in it is governed by the Code of Conduct. By participating, you are expected to uphold this code.

Contributing

Your contributions are always welcome! Please take a look at the contribution guidelines.

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

recursion2loop-0.2.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

recursion2loop-0.2.2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file recursion2loop-0.2.2.tar.gz.

File metadata

  • Download URL: recursion2loop-0.2.2.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for recursion2loop-0.2.2.tar.gz
Algorithm Hash digest
SHA256 bec35abb594e736841552841e8eb77dcb13a82e9ec4e67e36e010b0b772301ac
MD5 dccf35f9c7a64409a6e11c028610e3e6
BLAKE2b-256 4aca5025c739b7f822d7fdf48311cac10603ecab1d3171e122eaaf217f621203

See more details on using hashes here.

File details

Details for the file recursion2loop-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: recursion2loop-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for recursion2loop-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7600eadfb94366db0e5ef8bb7c2138edd1ab0e1f715adcfb3033306f41441abf
MD5 1e5eb8ea23e94823f808ea1a75d8280f
BLAKE2b-256 e4f37d39c8f6b5d29545827b52bfc346a2938c208f8f3aac47572b548202bac5

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