or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/questionary@2.1.x
tile.json

tessl/pypi-questionary

tessl install tessl/pypi-questionary@2.1.0

Python library to build pretty command line user prompts with interactive forms and validation

Agent Success

Agent success rate when using this tile

96%

Improvement

Agent success rate improvement when using this tile compared to baseline

1x

Baseline

Agent success rate without this tile

96%

task.mdevals/scenario-1/

Secure CLI Configuration Tool

A command-line utility that collects sensitive configuration data from users with proper security measures for password handling.

Capabilities

Collects user credentials

  • Prompts the user to enter their username as plain text @test
  • Prompts the user to enter their password with masked input @test
  • Returns both username and password in a dictionary with keys 'username' and 'password' @test

Collects API key securely

  • Prompts the user to enter an API key with masked input @test
  • Returns the API key as a string @test

Collects database credentials

  • Prompts for database host as plain text @test
  • Prompts for database password with masked input @test
  • Returns a dictionary with 'host' and 'password' keys @test

Implementation

@generates

API

def collect_user_credentials():
    """
    Collects username and password from the user.

    Returns:
        dict: A dictionary containing 'username' and 'password' keys.
    """
    pass

def collect_api_key():
    """
    Collects an API key from the user securely.

    Returns:
        str: The API key entered by the user.
    """
    pass

def collect_database_credentials():
    """
    Collects database host and password from the user.

    Returns:
        dict: A dictionary containing 'host' and 'password' keys.
    """
    pass

Dependencies { .dependencies }

questionary { .dependency }

Provides interactive command-line prompts with secure password input capabilities.