skillfed

tabcompleter

tabcompleter --- Autocompletion in the Python console.

tabcompleter v1.4.1 873.0K downloads/30d#4,841 on PyPI5
Permissive license BSD Active released

What it is and what it does

tabcompleter is a maintained fork of the unmaintained fancycompleter package that extends Python's interactive console with Tab-key autocompletion. It wraps readline functionality to let developers press Tab to expand variable names, method names, and other completable options directly in the Python REPL, improving console usability and reducing typing.

The package is lightweight, depending only on pyreadline3, and integrates via a single `interact()` call. It is actively maintained by the SeleniumBase development team and supports modern Python versions (3.8 through 3.14) across Windows, macOS, and Linux. It is used by downstream packages like pdbp and seleniumbase for enhanced debugging and testing workflows.

Use it for:

  • Enable Tab completion in interactive Python sessions to autocomplete variable and method names without manual typing.
  • Integrate tab completion into custom REPL-based tools or debugging environments that need readline enhancement.
  • Persist console history across sessions while providing autocomplete suggestions based on previously entered commands.
  • Enhance the Python console experience in CI/CD debugging or local development workflows where interactive exploration is common.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Adds Tab-key autocompletion and command expansion to the Python interactive console, building on readline functionality.

Yes. tabcompleter is a low-friction, actively maintained package with no known vulnerabilities, permissive licensing, and broad Python version support. Install it if you spend time in the Python interactive console and want Tab-key autocompletion; the single dependency and recent release history make it a safe, practical choice.

Install

tabcompleter on PyPI

pip

pip install tabcompleter

uv

uv add tabcompleter

poetry

poetry add tabcompleter

Installing tabcompleter

Before you install

Low friction install with a single runtime dependency (pyreadline3). Actively maintained as of April 2026 with recent releases; marked Production/Stable and supports Python 3.8 through 3.14.

License in practice

BSD license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source contexts.

Quickstart

pip install tabcompleter

import tabcompleter
tabcompleter.interact(persist_history=True)

Verify before relying

  • Whether tab completion works identically across Windows, macOS, and Linux despite platform-specific readline implementations.
  • Performance impact when history persistence is enabled in long-running console sessions.

Package facts

License BSD (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 1 — pyreadline3
Maintenance actively maintained — 108 days since the last release
Last repo commit
First released
Downloads 872,964/month — #4,841 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: tabcompleter-1.4.1-py3-none-any.whl

Keywords: tab, completion, console

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS XEnvironment :: Win32 (MS Windows)Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Scientific/EngineeringTopic :: Software DevelopmentTopic :: Software Development :: DebuggersTopic :: Software Development :: LibrariesTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: TestingTopic :: Utilities

Tags

python console tab completioninteractive shell autocompletionreadline tab expansionpython repl autocompleteconsole command completionpython interactive prompt enhancementtab key completion python
repl-enhancementreadline-wrapper

More Software Development packages