CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-qrcode

QR Code image generator with customizable image formats, error correction levels, and styling options

42%

Overall

Evaluation42%

0.86x

Agent success when using this tile

Overview
Eval results
Files

task.mdevals/scenario-4/

QR Code Generator with Data Optimization

A Python utility that generates QR codes from text input and demonstrates automatic data encoding optimization.

Overview

Create a simple tool that generates QR codes from text data with automatic optimization enabled. The tool should allow configuration of the optimization threshold and report basic metrics about the generated QR code.

Capabilities

QR Code Generation

  • Generates QR codes from string input with automatic optimization enabled @test
  • Allows configuration of the optimization threshold parameter @test
  • Uses automatic version fitting to select the appropriate QR code size @test
  • Saves the generated QR code image to a specified file path @test

Implementation

@generates

API

"""
QR Code Generator with Data Optimization

Generates QR codes with configurable data optimization settings.
"""

def generate_qr_code(data: str, output_path: str, optimize: int = 20) -> dict:
    """
    Generate a QR code with automatic data optimization.

    Args:
        data: The string data to encode
        output_path: Path where the PNG image will be saved
        optimize: Optimization threshold for data chunking (default: 20)

    Returns:
        A dictionary containing:
            - 'version': QR code version (1-40)
            - 'size': Module count (matrix dimensions)
    """
    pass

Dependencies { .dependencies }

qrcode { .dependency }

Python QR code generation library with automatic data encoding and optimization support.

@satisfied-by

Install with Tessl CLI

npx tessl i tessl/pypi-qrcode@7.4.0
What are skills?

tile.json