semvec/pypi-packages huggingface dataset:
peek-cli 0.1.3
A lightning-fast CLI for inspecting CSVs and datasets in the terminal.
Requires Python: >=3.9
Keywords: cli, csv, data-science, eda, rich, terminal

# Peek ⚡

[![PyPI](https://img.shields.io/pypi/v/peek-cli?style=for-the-badge&color=blue)](https://pypi.org/project/peek-cli/)
![Python](https://img.shields.io/badge/Python-3.9%2B-3776AB?style=for-the-badge&logo=python&logoColor=white)
![Engine](https://img.shields.io/badge/Engine-Polars_⚡-FF7F00?style=for-the-badge&logo=polars&logoColor=white)
![Status](https://img.shields.io/badge/Status-Active_Dev-success?style=for-the-badge)

> **Stop spinning up Jupyter just to check a CSV.**

**Peek** is a blazing fast CLI for data inspection. It is built for developers who live in SSH sessions, hate waiting for heavy IDEs to load, and need to sanity-check a 5GB dataset *now*.

---

## 🚀 The Features

* **⚡ Zero-RAM Overhead:** Powered by **Polars LazyFrames** (Rust). Scan multi-gigabyte files instantly without crashing your terminal.
* **🧠 Heuristic Intelligence:** Automatically detects critical issues like high null rates, constant columns, and potential primary keys.
* **📊 ASCII Visuals:** Render Histograms and Scatter plots directly in the CLI.

---

## 🛠️ Usage

### 1. View Data
Instantly peek at the head or tail of your dataset.

```bash
# View top 10 rows
peek view data.csv

# View the last 5 rows
peek view data.csv --tail --rows 5
```

### 2. Health Check (`describe`)
Get a comprehensive health report with smart warnings (missing data, constants, unique counts).

```bash
peek describe data.csv
```
*Output includes: Missing value %, Type inference, and automated quality warnings.*

### 3. Visualizations (`plot`)
Visualize distributions and correlations without leaving the terminal.

**Histogram / Bar Chart (Single Column)**
```bash
peek plot data.csv --col category
```

**Scatter Plot (Two Columns)**
```bash
peek plot data.csv --col price --y-col rating --title "Price vs Rating"
```

### 4. NLP (`sentiment`)
Scan a text column to view sentiment distribution (Positive/Neutral/Negative) using VADER.

```bash
peek sentiment reviews.csv --col review_text
```
*Output: Average sentiment score and a terminal-based distribution chart.*

---

## 🏗️ Tech Stack

*   **[Polars](https://pola.rs/)**: The high-performance Rust-based DataFrame engine.
*   **[Typer](https://typer.tiangolo.com/)**: For building the robust CLI interface.
*   **[Rich](https://rich.readthedocs.io/)**: For beautiful tables, panels, and terminal formatting.
*   **[Plotext](https://github.com/piccolomo/plotext)**: For rendering graphs directly in the terminal.
*   **[UV](https://github.com/astral-sh/uv)**: Blazing fast Python package management.
opgg.py 3.1.0
An unofficial Python library for scraping/accessing data from OP.GG
Requires Python: >=3.12
Keywords: opgg, league-of-legends, web-scraping, summoner, data, riot-api

# OPGG.py

An unofficial Python library for accessing OPGG data.

## Prerequisites

- [Python 3.12+](https://www.python.org/downloads/)

**Note:** *Will likely work on versions slightly older or newer*

## Installation

### Automatic

This library is available as a [pip package](https://pypi.org/project/opgg.py/) and can be installed via the following command:

```cmd
py -m pip install opgg.py
```

### Manual

#### Dependencies

- [aiohttp](https://pypi.org/project/aiohttp/)
- [pydantic](https://pypi.org/project/pydantic/)
- [fake-useragent](https://pypi.org/project/fake-useragent/)

Alternatively, you can use the provided requirements.txt to install the required libraries by running the following command:

```cmd
py -m pip install -r requirements.txt
```

## Usage / Basic Example

### Importing the library

```python
from opgg.opgg import OPGG
from opgg.params import Region


def main():
    opgg = OPGG()

    results = opgg.search("HandOfTheCouncil", Region.NA)
    [print(result) for result in results]


if __name__ == "__main__":
    main()
```

### Output

**Important Note:** The information returned below is a summary view with the most important parts of each object shown "at a glance".
Many of the objects have several additional properties that can be accessed by referencing the object in code.

```txt
[NA  ] HandoftheCouncil #NA1     | Level: 556  [Summoner ID: t7NuBl5eATWiqoZMu2MzZbAX1S9IDyp4Kzut5Z_4QT3-tWs]
```

## Development

### Setting Up Development Environment

Step 1. Clone the repository:

```bash
git clone https://github.com/ShoobyDoo/OPGG.py.git
cd OPGG.py
```

Step 2. Install production dependencies:

```bash
pip install -r requirements.txt
```

### Code Quality

Run linting with ruff:

```bash
ruff check opgg/
```

Auto-fix linting issues:

```bash
ruff check --fix opgg/
```

Check code formatting:

```bash
ruff format --check opgg/
```

Auto-format code:

```bash
ruff format opgg/
```

Ensure code formatting is run prior to opening a pull request.

## Join the Discussion

Here's a link to the [Support Discord](https://discord.gg/fzRK2Sb)
tomato-psutil 2.1.0
tomato driver interface to the psutil library
Requires Python: >=3.10

# tomato-psutil
`tomato` driver for the [`psutil`](https://github.com/giampaolo/psutil) library.

This driver illustrates how a device driver can be implemented for devices which have no components. The driver is developed by the [ConCat lab at TU Berlin](https://tu.berlin/en/concat).

## Supported functions

### Capabilities
- `mem_info`: returns memory-related information
- `cpu_info`: returns CPU-related information
- `all_info`: returns all available information

### Attributes
- `mem_total`: the total physical memory installed, `RO`, `float`
- `mem_avail`: the available physical memory, `RO`, `float`
- `mem_usage`: the percentage of available physical memory, `RO`, `float`
- `cpu_count`: the number of logical CPUs, `RO`, `int`
- `cpu_freq`: the current frequency of the CPU (OS and CPU dependent), `RO`, `float`
- `cpu_usage`: the percentage of CPU usage, `RO`, `float`

## Contributors
- Peter Kraus