semvec/pypi-packages huggingface dataset:
cal-pystats 0.5.0
A simple CLI tool to analyse Python file statistics in a directory
Requires Python: >=3.12
Keywords: cli, code-analysis, metrics, python, statistics

# cal-pystats

A simple CLI tool that scans directories for Python files and displays statistics.

## Features

- Recursively scans directories for `.py` files
- Reports:
  - Number of Python files
  - Total size (KB/MB)
  - Total lines
  - Code lines (excluding blank lines, docstrings, and decorative comments)
- Beautiful ASCII box output with ANSI colours (when running in a terminal)
- Plain text and JSON output formats available

## Installation

```bash
# Using uv
uv pip install cal-pystats

# Using pip
pip install cal-pystats
```

## Usage

```bash
# Scan current directory
cal-pystats

# Scan a specific directory
cal-pystats /path/to/project

# Plain text output (no box)
cal-pystats --plain

# JSON output
cal-pystats --json
```

### Example Output

```
╭────────────────────────────────╮
│     Python Stats: my-project   │
│────────────────────────────────│
│  Files       :            42   │
│  Total Size  :       128.5 KB  │
│  Total Lines :         3,847   │
│  Code Lines  :         2,691   │
╰────────────────────────────────╯
```

## Development

```bash
# Set up development environment
make dev

# Run linting and type checks
make check

# Format code
make format

# Build wheel and docs
make build
```

## Publishing

Publishing requires `cal-publish-python` configuration. See the [cal-publish-python documentation](https://cyberassessmentlabs.gitlab.io/public/docs/cal-publish-python/latest/) for setup.

```bash
# Build first
make build

# Publish wheel to PyPI and docs to GitLab Pages
make publish
```

## Licence

MIT License — Copyright (c) 2026 Cyber Assessment Labs
uart-tool 0.0.8
uart 工具
Requires Python: >=3.8
Keywords: uart, uart-tool

## uart-tool

自用uart-tool，适用于字符串/16 进制log 读取

## support commands

### uart-tool

```shell
uart-tool
```
启动 GUI（当前版本不再提供命令行参数）。

### lsuart

列出当前系统的串口
caifs 0.1.0
Python wrapper for the CAIFS cross-platform installer framework
Requires Python: >=3.10

# caifs v0.1.0

Python wrapper for the [CAIFS](https://github.com/caifs-org/caifs) cross-platform installer framework.

## Install

From PyPI (once published):

```bash
uv tool install caifs
```

From GitHub release:

```bash
uv tool install caifs --from "https://github.com/caifs-org/caifs-pypi/releases/latest/download/caifs-0.1.0-py3-none-any.whl"
```

### Try in Docker

Note: we also have OCI native ways of getting caifs into containers using scratch images.

```bash
docker run --rm -it python:3.13-slim bash -c '
  pip install uv &&
  uv tool install caifs --from "https://github.com/caifs-org/caifs-pypi/releases/latest/download/caifs-0.1.0-py3-none-any.whl" &&
  export PATH="$HOME/.local/bin:$PATH" &&
  caifs status
'
```

## Usage

```bash
caifs status          # Show available targets
caifs add <target>    # Install a target
caifs rm <target>     # Remove a target
```

## Development

```bash
uv sync                  # Install dependencies
just vendor              # Download caifs + caifs-common into _vendor/
uv run caifs --version   # Verify it works
just test                # Run tests
just pre-commit-run      # Lint and format
```