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.4.tar.gz (3.3 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.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: renput-0.0.4.tar.gz
  • Upload date:
  • Size: 3.3 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.4.tar.gz
Algorithm Hash digest
SHA256 e5f14dad9abb54fa2b63f67bb61a0304566ee52afc1cf22b30d9cbbe0101c398
MD5 e58129e45f891a523b93eaaf0186b6e8
BLAKE2b-256 75b02e099a2084a9066b5c0adbd2ce9e2886f3272d9d041c3efd1046db129e56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: renput-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ef2de91ad20addb7e95092e69bd80efe92b8e8a1cdc2136e9dd37e5de2abe398
MD5 0f94171826cd9883ffaad258307ca476
BLAKE2b-256 c791f69668adf2d760bcc593aae5eb9505cbd166ce85a1fe3db21bad3623ba09

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