sig-cloud-control 0.3.1__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/CHANGELOG.md +7 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/Justfile +1 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/PKG-INFO +1 -1
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/pyproject.toml +1 -1
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/cli_app/main.py +9 -3
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/tests/test_show_config.py +2 -1
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/uv.lock +1 -1
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/.github/workflows/ci.yml +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/.github/workflows/release.yml +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/.gitignore +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/.python-version +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/CLAUDE.md +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/GEMINI.md +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/LICENSE +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/README.md +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/config.sample.toml +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/__init__.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/_encryption.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/cli_app/__init__.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/cli_app/actions.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/cli_app/config.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/cli_app/constants.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/cli_app/setup.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/client/__init__.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/client/cache.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/client/core.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/client/exceptions.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/models.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/tests/__init__.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/tests/test_cli.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/tests/test_client.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/tests/test_config_loading.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/tests/test_meta.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/tests/test_models.py +0 -0
- {sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/tests/test_station_id.py +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.2](https://github.com/lawther/sig-cloud-control/compare/v0.3.1...v0.3.2) (2026-04-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **cli:** correct path highlighting in show-config command ([d915a55](https://github.com/lawther/sig-cloud-control/commit/d915a55141b8852aeb6ff9973c4e887d9d05d9f5))
|
|
9
|
+
|
|
3
10
|
## [0.3.1](https://github.com/lawther/sig-cloud-control/compare/v0.3.0...v0.3.1) (2026-04-22)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sig-cloud-control
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Control Sigenergy battery via Sigen Cloud
|
|
5
5
|
Project-URL: Homepage, https://github.com/lawther/sig-cloud-control
|
|
6
6
|
Project-URL: Repository, https://github.com/lawther/sig-cloud-control
|
|
@@ -3,6 +3,7 @@ from pathlib import Path
|
|
|
3
3
|
from typing import Annotated
|
|
4
4
|
|
|
5
5
|
import typer
|
|
6
|
+
from rich.markup import escape
|
|
6
7
|
|
|
7
8
|
from .actions import _run_command_action, console
|
|
8
9
|
from .config import SigenEnvVar, _resolve_config_path, _try_load_config
|
|
@@ -113,15 +114,20 @@ def show_config(
|
|
|
113
114
|
set_vars = ", ".join(sorted(env_vars_present))
|
|
114
115
|
console.print(f" Environment vars: {set_vars} set, but insufficient")
|
|
115
116
|
local_status = "[yellow]not found[/yellow]" if not local_config.exists() else "found"
|
|
116
|
-
console.print(f" Local config: ./config.toml — {local_status}")
|
|
117
|
+
console.print(f" Local config: [repr.path]./config.toml[/repr.path] — {local_status}", highlight=False)
|
|
117
118
|
default_status = "[yellow]not found[/yellow]" if not _DEFAULT_CONFIG_PATH.exists() else "found"
|
|
118
|
-
console.print(
|
|
119
|
+
console.print(
|
|
120
|
+
f" Default config: [repr.path]{escape(str(_DEFAULT_CONFIG_PATH))}[/repr.path] — {default_status}",
|
|
121
|
+
highlight=False,
|
|
122
|
+
)
|
|
119
123
|
console.print("\nRun [bold]sig-cloud-control setup[/bold] to create a configuration file.")
|
|
120
124
|
raise typer.Exit(code=1)
|
|
121
125
|
|
|
122
126
|
console.print("\n[bold]Sources:[/bold]")
|
|
123
127
|
if sources.config_file is not None:
|
|
124
|
-
console.print(
|
|
128
|
+
console.print(
|
|
129
|
+
f" Config file: [repr.path]{escape(str(sources.config_file))}[/repr.path]", highlight=False
|
|
130
|
+
)
|
|
125
131
|
else:
|
|
126
132
|
console.print(" Config file: [dim](not used — env vars were sufficient)[/dim]")
|
|
127
133
|
|
|
@@ -122,7 +122,8 @@ def test_show_config_local_file_present_shows_found() -> None:
|
|
|
122
122
|
runner.invoke(app, ["show-config"])
|
|
123
123
|
|
|
124
124
|
output = _console_output(mock_console)
|
|
125
|
-
assert "config.toml
|
|
125
|
+
assert "./config.toml" in output
|
|
126
|
+
assert "found" in output
|
|
126
127
|
assert str(_DEFAULT_CONFIG_PATH) in output
|
|
127
128
|
assert "not found" in output # default path still not found
|
|
128
129
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/cli_app/__init__.py
RENAMED
|
File without changes
|
{sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/cli_app/actions.py
RENAMED
|
File without changes
|
|
File without changes
|
{sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/cli_app/constants.py
RENAMED
|
File without changes
|
|
File without changes
|
{sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/client/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sig_cloud_control-0.3.1 → sig_cloud_control-0.3.2}/src/sig_cloud_control/client/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|