Latest / Developer tools

Tacopy

github.com · Open source · Maintained

Tail call optimization for Python functions

Visit github.com ↗Share

  • recursion
  • tail calls
  • tail call optimization
  • python recursion
  • tail recursion decorator
  • python stack overflow
  • recursive function speedup
Stars
80
Forks
1
Open issues
0
Last commit
Found
12 months ago

GitHub figures as of . They are context, not a ranking.

Tacopy is a Python library that applies tail call optimization to recursive functions. The repository describes it as tail call optimizations for Python. It suits Python developers who want to write deeply recursive functions in this style.

Repository description on GitHub: “Tail Call Optimizations in Python ”

What it does

  • Decorator that turns tail-recursive functions into loops
  • Validates that functions are tail-recursive before transforming
  • Preserves docstrings, type hints and other metadata
  • Benchmarked 1.41x to 2.88x faster than regular recursion

Good for

  • Run deep recursive Python functions without hitting the recursion limit
  • Speed up a tail-recursive function with a decorator
  • Keep docstrings and type hints on an optimized function

Suits: Python developers who write deeply recursive functions.

What you can try

Read the README on GitHub and install from source.

Install

pip install tacopy-optimization

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Tacopy on , when raaid-rt posted it to Show HN. GitHub listed no published releases for raaidrt/tacopy when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 95 points, 54 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 95 points, 54 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: raaidrt/tacopy
  2. Found: raaid-rt posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was Tacopy released?
No dated release record is available. Kip found it on Show HN on 30 Nov 2025.
Is Tacopy open source?
Its source is public on GitHub at raaidrt/tacopy under the GPL-3.0 licence.
What does Tacopy run on?
Library.
Is Tacopy free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Tacopy still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryraaidrt/tacopy
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-46094330. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.