semvec/pypi-packages huggingface dataset:
dfhealth 0.1.2
Opinionated data health checks for pandas DataFrames
License: MIT

# dfhealth 🏥

**Stop shipping dirty data.** `dfhealth` is an opinionated, zero-config tool to sanity-check your pandas DataFrames before they hit your models. 

Think of it like **PyLint for DataFrames**.

## Why dfhealth?
Data scientists often spend 80% of their time cleaning data. `dfhealth` automates the "sanity check" phase by flagging silent killers in your dataset with actionable advice.

## Key Checks
| Code | Name | What it catches |
| :--- | :--- | :--- |
| **D001** | Duplicate Rows | Identical rows that might skew your statistics. |
| **I001** | ID Integrity | Duplicate values in columns that look like IDs (e.g., `user_id`). |
| **N001** | Negative Values | Negative numbers in fields meant to be positive (e.g., `age`, `price`). |
| **O001** | Extreme Outliers | Values outside the 3x IQR range that could be data entry errors. |
| **T001** | Date-like String | Object columns that look like they should be datetime objects. |

## 📦 Installation
```bash
pip install dfhealth
```

## Quick Start
```python
import pandas as pd
import dfhealth as dh

# Load your dataset
df = pd.read_csv("data.csv")

# Run the health check
report = dh.health_check(df)

# Get a beautiful, colored report in your terminal
report.print()
```

## 📖 License
MIT License - see the [LICENSE](LICENSE) file for details.

## 🤝 Contributing
Want to add a new check? Check out [CONTRIBUTING.md](CONTRIBUTING.md).
cmdfixer-gemini 0.1.9
Fix corrupted shell commands using AI
License: MIT
Requires Python: >=3.10
Keywords: CLI, AI, command-fixer, shell

# Cmd-Fixer

**Cmd-Fixer** is a Python CLI tool that helps you **fix corrupted or incorrect shell commands** using AI. It suggests possible corrections, lets you preview them, and optionally executes the selected command immediately.

---

## Features

* AI-powered shell command fixing using Gemini LLM.
* Interactive CLI with numbered command suggestions.
* Option to execute the suggested command directly.
* Stores API key and user preferences locally for seamless usage.
* Configurable maximum number of suggestions per fix.

---

## Installation

Install the package via `pip`:

```bash
  pip install cmdfixer-gemini
```

---

## First-Time Setup

Before using **Cmd-Fixer**, you must **set up your Gemini API key**. Run the following command:

```bash
  cmdfix setup
```

* You will be prompted to enter your **Gemini API key**.
  (Get your key from [https://aistudio.google.com/api-keys](https://aistudio.google.com/api-keys))
* You will also be asked to set the **maximum number of suggestions** per fix.
* The configuration will be saved locally, so you don’t need to enter it again.

---

## Usage

After setup, you can use **Cmd-Fixer** to fix shell commands:

```bash
  cmdfix fix <your-broken-command>
```

**Options:**

* `--run`: Execute the selected command immediately instead of just previewing it.

Example:

```bash
  cmdfix fix mkdir new_folder --run
```

This will suggest corrected commands for `mkdir new_folder` and execute the chosen one immediately if `--run` is provided.

---

## License

MIT License