semvec/pypi-packages huggingface dataset:
llm-tools-execute-shell 0.1.2
A tool plugin for LLM to enable executing shell commands on the user's system.
Requires Python: >=3.9

# llm-tools-execute-shell

[![PyPI](https://img.shields.io/pypi/v/llm-tools-execute-shell.svg)](https://pypi.org/project/llm-tools-execute-shell/)
[![Changelog](https://img.shields.io/github/v/release/jthometz/llm-tools-execute-shell?include_prereleases&label=changelog)](https://github.com/jthometz/llm-tools-execute-shell/releases)
[![Tests](https://github.com/jthometz/llm-tools-execute-shell/actions/workflows/test.yml/badge.svg)](https://github.com/jthometz/llm-tools-execute-shell/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/jthometz/llm-tools-execute-shell/blob/main/LICENSE)

A tool plugin for [LLM](https://llm.datasette.io/en/stable/) that allows you to execute arbitrary shell commands suggested by the LLM.

This tool can be dangerous, and for this reason, this tool prompts for confirmation before running each command. Review all commands carefully before authorizing.



## Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/):
```bash
llm install llm-tools-execute-shell
```

## Usage

To run a single prompt:
```bash
llm --tool execute_shell "What's the current date and time?"
```

To run in chat mode:
```console
$ llm chat --tool execute_shell
...
> My req.py script is broken. Can you run it and fix the error?
...
LLM wants to run command: 'python req.py'

Are you sure you want to run the above command? (y/n): y

Traceback (most recent call last):
  File "/tmp/foo/req.py", line 1, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

LLM wants to run command: 'pip install requests'

Are you sure you want to run the above command? (y/n): y
...
LLM wants to run command: 'python req.py'

Are you sure you want to run the above command? (y/n): y

{'origin': 'success'}

It looks like the `req.py` script was failing because the `requests` module was not installed. I've installed it for you, and now the script runs successfully.
```

## Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd llm-tools-execute-shell
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
python -m pip install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```
textminer-pro-asddzxqw-test 0.1.1
텍스트 분석을 위한 Python 패키지
Requires Python: >=3.7

고급 텍스트 분석을 위한 Python 패키지입니다.

## 기능

- **불용어 제거** (`remove_stopwords`): NLTK를 사용한 불용어 제거
- **키워드 추출** (`extract_keywords`): TF-IDF 기반 핵심 키워드 추출 
- **텍스트 요약** (`summarize`): Gensim을 활용한 텍스트 요약
- **언어 감지** (`detect_language`): langdetect를 사용한 언어 감지

## 설치

```bash
pip install textminer-pro-asddzxqw
```

## 사용법
```python
from textminer import remove_stopwords, extract_keywords, summarize, detect_language
```
# 불용어 제거
text = "This is a sample text with some common stopwords"
clean_text = remove_stopwords(text)
print(clean_text)

# 키워드 추출 (상위 5개)
keywords = extract_keywords(text, top_n=5)
print(keywords)

# 텍스트 요약 (20% 길이로)
long_text = "여기에 긴 텍스트를 입력..."
summary = summarize(long_text, ratio=0.2)
print(summary)

# 언어 감지
language = detect_language(text)
print(f"감지된 언어: {language}")
라이선스
MIT License
저자
asddzxqw (kk020929@naver.com)

## 5단계: VSCode에서 테스트 실행

**VSCode 터미널에서 다음 명령어로 테스트:**
```bash
# 현재 위치 확인 (프로젝트 루트에 있어야 함)
pwd

# 패키지가 제대로 import되는지 테스트
python -c "from textminer import remove_stopwords; print('Import 성공!')"

# 단위 테스트 실행
python -m pytest tests/ -v

# 또는 unittest로 실행
python -m unittest discover tests/
```
textminer-pro001 0.2.8
불용어 제거, 키워드 추출, 요약, 언어 감지를 제공하는 텍스트 분석 도구
Requires Python: >=3.8

# textminer-pro

자연어 텍스트 처리의 기본 기능을 제공하는 Python 패키지입니다.
## 불용어 처리
text = """
The stage is set for a grand parade to celebrate the U.S. Army's 250th anniversary, which falls on the same day as President Donald Trump's 79th birthday and Flag Day.
The day-long festival will take place primarily at the National Mall in Washington, D.C. on Saturday, June 14, with music performances, fireworks and a pomp-filled procession through the streets.
More than two dozen M1 Abrams tanks, scores of infantry vehicles and thousands of soldiers are expected to be involved in the event. Trump, himself, will be watching the parade from a reviewing stand just south of the White House that is now being constructed for the occasion.
"""


cleaned = remove_stopwords(text)
print("불용어 제거 결과:")
print(cleaned)


## 키워드 추출
keywords = extract_keywords(text, top_n=5)

## 텍스트 요약
summary = summarize_text(text, num_sentences=2)
---