eeroctl 3.2.0__tar.gz → 3.3.0__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.
- {eeroctl-3.2.0/src/eeroctl.egg-info → eeroctl-3.3.0}/PKG-INFO +2 -2
- {eeroctl-3.2.0 → eeroctl-3.3.0}/pyproject.toml +2 -2
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/__init__.py +1 -1
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/errors.py +5 -1
- {eeroctl-3.2.0 → eeroctl-3.3.0/src/eeroctl.egg-info}/PKG-INFO +2 -2
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl.egg-info/requires.txt +1 -1
- {eeroctl-3.2.0 → eeroctl-3.3.0}/LICENSE +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/README.md +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/setup.cfg +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/_coercion.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/__init__.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/account.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/activity.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/auth.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/completion.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/device.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/__init__.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/base.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/connections.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/led.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/nightlight.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/pppoe.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/updates.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/__init__.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/advanced.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/backup.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/base.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/ddns.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/dhcp.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/dns.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/entitlements.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/events.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/forwards.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/guest.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/members.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/notifications.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/ouicheck.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/permissions.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/power_saving.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/security.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/speedtest.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/sqm.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/subnets.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/transfer.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/usage.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/wan.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/wpa3.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/profile.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/troubleshoot.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/const.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/context.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/exit_codes.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/__init__.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/account.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/activity.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/backup_access_points.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/base.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/data_usage.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/device.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/dns_policy.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/eero.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/entitlements.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/events.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/generic.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/members.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/misc.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/network.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/notifications.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/ouicheck.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/permissions.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/power_saving.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/profile.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/speedtest.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/subnets.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/transfer.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/wan.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/wpa3.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/main.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/options.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/output.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/safety.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/sdk_private.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/__init__.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/account.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/activity.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/backup_access_points.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/base.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/data_usage.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/device.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/dns_policy.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/eero.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/entitlements.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/events.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/members.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/network.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/notifications.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/ouicheck.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/permissions.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/power_saving.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/profile.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/speedtest.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/subnets.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/transfer.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/wan.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/wpa3.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/utils.py +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl.egg-info/SOURCES.txt +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl.egg-info/dependency_links.txt +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl.egg-info/entry_points.txt +0 -0
- {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eeroctl
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.3.0
|
|
4
4
|
Summary: Command-line interface for Eero network management
|
|
5
5
|
Author: Eero CLI Contributors
|
|
6
6
|
License: MIT
|
|
@@ -21,7 +21,7 @@ Classifier: Typing :: Typed
|
|
|
21
21
|
Requires-Python: >=3.12
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: eero-api==8.0
|
|
24
|
+
Requires-Dist: eero-api==8.2.0
|
|
25
25
|
Requires-Dist: rich>=13.0.0
|
|
26
26
|
Requires-Dist: click>=8.0.0
|
|
27
27
|
Requires-Dist: pyyaml>=6.0.0
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "eeroctl"
|
|
7
|
-
version = "3.
|
|
7
|
+
version = "3.3.0"
|
|
8
8
|
description = "Command-line interface for Eero network management"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
@@ -27,7 +27,7 @@ classifiers = [
|
|
|
27
27
|
"Typing :: Typed",
|
|
28
28
|
]
|
|
29
29
|
dependencies = [
|
|
30
|
-
"eero-api==8.0
|
|
30
|
+
"eero-api==8.2.0",
|
|
31
31
|
"rich>=13.0.0",
|
|
32
32
|
"click>=8.0.0",
|
|
33
33
|
"pyyaml>=6.0.0",
|
|
@@ -4,6 +4,7 @@ This module provides utilities for translating exceptions to user-friendly
|
|
|
4
4
|
error messages and appropriate exit codes.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
+
import math
|
|
7
8
|
from typing import Any, Callable, Optional, TypeVar
|
|
8
9
|
|
|
9
10
|
from eero.exceptions import (
|
|
@@ -108,8 +109,11 @@ def _render_rate_limit(e: EeroRateLimitException, prefix: str) -> tuple[str, Exi
|
|
|
108
109
|
"""Render a rate-limit failure."""
|
|
109
110
|
# No dedicated exit code for rate limiting (§2.6/Q5 of the v8
|
|
110
111
|
# migration plan: exit 7 stays TIMEOUT-only); falls to GENERIC_ERROR.
|
|
112
|
+
# `retry_after` (eero-api >= 8.1.2) is the server's Retry-After, in seconds.
|
|
113
|
+
wait = f" {math.ceil(e.retry_after)}s" if e.retry_after is not None else ""
|
|
111
114
|
return (
|
|
112
|
-
f"[yellow]{prefix}Rate limited. Please wait and try again.
|
|
115
|
+
f"[yellow]{prefix}Rate limited. Please wait{wait} and try again."
|
|
116
|
+
f"{_error_code_suffix(e)}[/yellow]",
|
|
113
117
|
ExitCode.GENERIC_ERROR,
|
|
114
118
|
)
|
|
115
119
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eeroctl
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.3.0
|
|
4
4
|
Summary: Command-line interface for Eero network management
|
|
5
5
|
Author: Eero CLI Contributors
|
|
6
6
|
License: MIT
|
|
@@ -21,7 +21,7 @@ Classifier: Typing :: Typed
|
|
|
21
21
|
Requires-Python: >=3.12
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: eero-api==8.0
|
|
24
|
+
Requires-Dist: eero-api==8.2.0
|
|
25
25
|
Requires-Dist: rich>=13.0.0
|
|
26
26
|
Requires-Dist: click>=8.0.0
|
|
27
27
|
Requires-Dist: pyyaml>=6.0.0
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|