Metadata-Version: 2.4
Name: ruru
Version: 0.2.1
Summary: A collection of Python utilities ported from the R ecosystem.
Project-URL: Source Code, https://github.com/tonkintaylor/ruru
Project-URL: Bug Tracker, https://github.com/tonkintaylor/ruru/issues
Project-URL: Releases, https://github.com/tonkintaylor/ruru/releases
Project-URL: Source Archive, https://github.com/tonkintaylor/ruru/archive/7a2f6d287f3be8feda6d47b9c6912f802f4c52f7.zip
Author-email: Tonkin & Taylor Limited <Sub-DisciplineData+AnalyticsStaff@tonkintaylor.co.nz>, Nathan McDougall <nmcdougall@tonkintaylor.co.nz>
License-Expression: MIT
License-File: LICENSE
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Requires-Dist: pyyaml>=6.0.2
Description-Content-Type: text/markdown

<h1 align="center">
  <img width="237" height="92" alt="ruru" src="https://github.com/user-attachments/assets/499805bd-23f5-4868-9ec6-c2f1ba151203"><br>
</h1>

# ruru

[![PyPI Version](https://img.shields.io/pypi/v/ruru.svg)](<https://pypi.python.org/pypi/ruru>)
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![usethis](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/usethis-python/usethis-python/main/assets/badge/v1.json)](https://github.com/usethis-python/usethis-python)

A collection of Python utilities ported from the R ecosystem.

## Features

### `config` module

The `ruru.config` module gives an easy way to manage of configuration settings in Python applications via YAML files.

Inspired by the R [`config`](https://rstudio.github.io/config/articles/introduction.html/) package.

### `cli` module

The `ruru.cli` module provides utilities for enhanced command-line interface output, including colored text, formatted headings, alert messages, and bullet-point lists.

Recommended usage:

```python
from ruru import cli
cli.h1("Heading")
cli.alert("This is an alert message")
```

Inspired by the R [`cli`](https://cli.r-lib.org/reference/index.html) package.
