Skip to main content

Tab-completion for inputs

Reason this release was yanked:

Archived, shouldn't be available anymore

Project description

Renput

A simple Python library for Windows, which replaces the default input function in order to add the functionality to automatically complete an input using the tab key.

GitHub license GitHub stars GitHub all releases GitHub all releases

Features

input(prompt, auto_complete)

  • prompt: The prompt given to the user before the input line.
  • auto_complete: A list of auto completions that get input when the tab ↹ key is pressed

Example of use

from renput import *

auto_complete = [
    "apple",
    "banana",
    "cherry",
    "pineapple"
]

print("Enter the first few letters of apple, banana, cherry or pinapple,\nthen press tab to see the functionality of Renput:")
while True:
    input(auto_complete=auto_complete)

Please report any issues that you find when using the library, but only if you are on the newest version. Optionally, you can report new issues on my discord server.

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

renput-0.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

renput-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file renput-0.0.1.tar.gz.

File metadata

  • Download URL: renput-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for renput-0.0.1.tar.gz
Algorithm Hash digest
SHA256 24a32d5cceb5f40d7a1fc16df37062d352c24ec4ba657cd10f31749f4641fc38
MD5 264e3e0e68a74b1d2380894bca322d08
BLAKE2b-256 895163a3d8fbc1919653ca2373e68c8fa67882dccacef2168ca6c367d256392d

See more details on using hashes here.

File details

Details for the file renput-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: renput-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for renput-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 61570a8b547beee94dfd121b31f27a43cec9aefa8102fb972b4d29d0a302b1a1
MD5 2930e364f750037c4d3cd26624076f9e
BLAKE2b-256 af1e175bc7a8d30274dbaa36993decb6d7ba2acc7ee385cbd062369ff33c96f8

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