Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

python-repl

БесплатноЗапускает вложенные скриптыНе проверен

Interactive Python REPL automation with common helpers and best practices

gptmeот gptme★ 4 498 звёзд на GitHub30 установок в других каталогах

Об этом скилле

Python REPL Skill

Enhances Python REPL workflows with bundled utility functions for data analysis, debugging, and performance profiling.

Overview

This skill bundles Python REPL helpers, common imports, and execution patterns for efficient Python development in gptme.

Bundled Scripts

Helper Functions (python_helpers.py)

This skill includes bundled utility functions for common Python tasks:

  • Data inspection (inspect_df, describe_object)
  • Quick plotting (quick_plot)
  • Performance profiling (time_function)
  • Common imports setup (setup_common_imports)

Usage Patterns

Data Analysis

When working with data, automatically import common libraries and set up display options:

import numpy as np
import pandas as pd

pd.set_option("display.max_rows", 100)

Debugging

Use bundled helpers for debugging:

from python_helpers import inspect_df, describe_object

inspect_df(df)  # Quick dataframe overview
describe_object(obj)  # Object introspection

Dependencies

Required packages are listed in requirements.txt:

  • ipython: Interactive Python shell
  • numpy: Numerical computing
  • pandas: Data manipulation

Best Practices

  1. Use helpers: Leverage bundled helper functions instead of reimplementing
  2. Import once: Common imports are handled by pre-execute hook
  3. Profile performance: Use time_function for performance-sensitive code

Examples

Quick Data Analysis

# Helpers auto-import pandas, numpy
df = pd.read_csv("data.csv")
inspect_df(df)  # Show overview

Performance Profiling

from python_helpers import time_function


@time_function
def slow_operation():
    # Your code here
    pass

Related

  • Tool: ipython

Установить python-repl в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

python_helpers.pyrequirements.txt

FAQ

Что делает скилл python-repl?

Interactive Python REPL automation with common helpers and best practices

Как установить скилл python-repl?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл python-repl запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить python-repl с