semvec/pypi-packages huggingface dataset:
uncomment 2.11.0
A fast Rust-based CLI tool for removing comments from source code
License: MIT
Requires Python: >=3.8
Keywords: comments, cli, rust, remove-comments, code-cleanup, ai-generated-code, formatting, uncomment

# uncomment

[![PyPI version](https://badge.fury.io/py/uncomment.svg)](https://badge.fury.io/py/uncomment)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Goldziher/uncomment/blob/main/LICENSE)

A blazing fast Rust-based command-line tool that removes comments from your source code. Perfect for cleaning up AI-generated code that comes with excessive explanations.

## Why Use This?

- 🚀 **Lightning Fast** - Built in Rust for maximum performance
- 🎯 **100% Accurate** - Never accidentally removes code that looks like comments
- 🛡️ **Safe by Default** - Preview changes before applying them
- 🌍 **Multi-language** - Supports Python, JS, TS, Rust, Go, Java, C/C++, and more
- 🔧 **Zero Dependencies** - Downloads a self-contained binary

## Installation

```bash
pip install uncomment
```

The installer will automatically download the appropriate pre-compiled Rust binary for your platform (Windows, macOS, or Linux).

## Quick Start

Remove comments from a single file:

```bash
uncomment main.py
```

Preview changes without modifying files:

```bash
uncomment --dry-run src/
```

Process all Python files in a directory:

```bash
uncomment "src/**/*.py"
```

## Key Features

### Smart Comment Detection

Unlike simple regex-based tools, `uncomment` understands your code's structure:

```python
# This comment will be removed
code = "# But this won't - it's in a string!"
```

### Preserves Important Comments

Keeps what matters:

- `TODO` and `FIXME` comments (configurable)
- License headers and copyright notices
- Linting directives (`# noqa`, `# type: ignore`, etc.)
- Docstrings (configurable)

### Perfect for Python Projects

- Handles all Python comment styles
- Preserves type hints and annotations
- Respects `# pylint:`, `# flake8:`, and other linter directives
- Works with `.py`, `.pyw`, `.pyi`, `.pyx`, and `.pxd` files

## Common Use Cases

**Clean up AI-generated code:**

```bash
uncomment generated_script.py
```

**Remove all comments including TODOs:**

```bash
uncomment --remove-todo --remove-fixme module.py
```

**Remove docstrings:**

```bash
uncomment --remove-doc api.py
```

**Process entire packages:**

```bash
uncomment my_package/
```

**Use multiple threads for large codebases:**

```bash
uncomment --threads 8 entire_project/
```

## Supported Languages

While this tool works great for Python, it also supports:
JavaScript, TypeScript, Rust, Go, Java, C/C++, Ruby, YAML, Terraform/HCL, Makefile, and more!

## Documentation

For detailed documentation, advanced options, and examples, visit:
[https://github.com/Goldziher/uncomment](https://github.com/Goldziher/uncomment)

## License

MIT - see [LICENSE](https://github.com/Goldziher/uncomment/blob/main/LICENSE) for details.
kfix 0.1.0
AI-powered Kubernetes troubleshooter CLI
License: MIT
Requires Python: >=3.8
Keywords: kubernetes, k8s, troubleshooting, ai, cli, devops

# kfix

AI-powered Kubernetes troubleshooter CLI.

## Installation

```bash
pip install kfix
```

## Quick Start

```bash
# Set your Anthropic API key
kfix config set api-key YOUR_API_KEY

# Diagnose a pod
kfix diagnose pod my-app

# Diagnose a node
kfix diagnose node node-1

# Explain an error
kfix explain "CrashLoopBackOff"
```

## Features

- 🔍 Smart diagnosis of pod and node issues
- 🤖 AI-powered analysis using Claude
- 📋 Copy-paste ready kubectl commands
- 📚 Links to relevant Kubernetes documentation
- ⚡ Works with any kubectl-configured cluster