r2x 0.1.5

A framework plugin manager for the r2x power systems modeling ecosystem.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""Stub file helpers"""

from __future__ import annotations

from pathlib import Path


def ensure_directory(path: str | Path) -> Path:
    """No-op helper that matches the production API."""
    return Path(path)


def get_r2x_cache_path() -> Path:
    """Return a stub cache path (overridden at runtime by the Rust bridge)."""
    return Path.home() / ".config" / "r2x" / "cache"