semvec/pypi-packages huggingface dataset:
yaml-config-manager 0.2.1
A package to manage YAML configuration with command line overrides
Requires Python: >=3.6

# YAML Config Manager

A robust, "LLM-friendly" Python library for managing Deep Learning configurations. It seamlessly combines YAML files with command-line overrides, supporting dotted notation, scientific notation, and flexible argument styles.

## Features

- **YAML + CLI:** Load defaults from YAML, override via CLI.
- **Dotted Access:** `config.model.layer_count` instead of `config['model']['layer_count']`.
- **Robust Parsing:** 
    - Supports scientific notation (`1e-4` is a float, not string).
    - Smart boolean parsing (`yes`, `on`, `true` -> `True`).
- **Flexible CLI:** Supports both `--param=value` and `--param value`.
- **Safety:** Raises `AttributeError` for missing keys (no silent failures).

## Installation

```bash
pip install .
```

## Quick Start

**1. Create `config.yaml`**
```yaml
training:
  lr: 1e-4
  batch_size: 32
model:
  type: transformer
  layers: 12
```

**2. Use in Python**
```python
from yaml_config_manager import load_config

# Automatically parses sys.argv
config = load_config() 

print(f"Model: {config.model.type}")
print(f"LR: {config.training.lr} (type: {type(config.training.lr)})")
```

**3. Run with Overrides**

Mixed styles supported:
```bash
python train.py --config config.yaml --training.lr 2e-5 --model.layers=24 --debug_mode
```

## Advanced Usage

- **Manual Args:** `load_config(args=['--param', 'val'])`
- **Default Path:** `load_config(config_path='default.yaml')`
- **Missing Keys:** Accessing `config.missing` raises `AttributeError` to catch typos early.
pybumpit 1.0.2
npm version-like tool for Python projects
Requires Python: >=3.12

# pybumpit

A CLI tool that mimics `npm version` behavior for Python projects.

## Features

- Read/write version from `pyproject.toml`
- Bump version (patch/minor/major)
- Create git commit and tag automatically
- Interactive mode with beautiful prompts
- Dirty working directory check (like npm)
- Zero configuration required

## Installation

```bash
pip install pybumpit
```

Or with uv:

```bash
uv add pybumpit
```

## Usage

### Interactive Mode

```bash
pybumpit
```

Shows a prompt to select version type (patch/minor/major).

### CLI Mode

```bash
pybumpit patch     # 0.1.0 -> 0.1.1
pybumpit minor     # 0.1.0 -> 0.2.0
pybumpit major     # 0.1.0 -> 1.0.0
```

### Options

- `-f, --force` - Allow bump with uncommitted changes

```bash
pybumpit patch --force
```

## Behavior

| Feature | Description |
|---------|-------------|
| Dirty check | Fails if uncommitted/untracked files exist |
| Commit message | `v{version}` (e.g., `v1.0.1`) |
| Tag format | `v{version}` (annotated tag) |
| Without git | Just updates pyproject.toml |

## Requirements

- Python >= 3.12
- `pyproject.toml` with `[project]` section containing `version`

## License

MIT