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.
Files changed (110) hide show
  1. {eeroctl-3.2.0/src/eeroctl.egg-info → eeroctl-3.3.0}/PKG-INFO +2 -2
  2. {eeroctl-3.2.0 → eeroctl-3.3.0}/pyproject.toml +2 -2
  3. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/__init__.py +1 -1
  4. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/errors.py +5 -1
  5. {eeroctl-3.2.0 → eeroctl-3.3.0/src/eeroctl.egg-info}/PKG-INFO +2 -2
  6. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl.egg-info/requires.txt +1 -1
  7. {eeroctl-3.2.0 → eeroctl-3.3.0}/LICENSE +0 -0
  8. {eeroctl-3.2.0 → eeroctl-3.3.0}/README.md +0 -0
  9. {eeroctl-3.2.0 → eeroctl-3.3.0}/setup.cfg +0 -0
  10. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/_coercion.py +0 -0
  11. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/__init__.py +0 -0
  12. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/account.py +0 -0
  13. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/activity.py +0 -0
  14. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/auth.py +0 -0
  15. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/completion.py +0 -0
  16. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/device.py +0 -0
  17. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/__init__.py +0 -0
  18. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/base.py +0 -0
  19. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/connections.py +0 -0
  20. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/led.py +0 -0
  21. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/nightlight.py +0 -0
  22. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/pppoe.py +0 -0
  23. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/eero/updates.py +0 -0
  24. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/__init__.py +0 -0
  25. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/advanced.py +0 -0
  26. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/backup.py +0 -0
  27. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/base.py +0 -0
  28. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/ddns.py +0 -0
  29. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/dhcp.py +0 -0
  30. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/dns.py +0 -0
  31. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/entitlements.py +0 -0
  32. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/events.py +0 -0
  33. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/forwards.py +0 -0
  34. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/guest.py +0 -0
  35. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/members.py +0 -0
  36. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/notifications.py +0 -0
  37. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/ouicheck.py +0 -0
  38. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/permissions.py +0 -0
  39. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/power_saving.py +0 -0
  40. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/security.py +0 -0
  41. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/speedtest.py +0 -0
  42. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/sqm.py +0 -0
  43. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/subnets.py +0 -0
  44. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/transfer.py +0 -0
  45. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/usage.py +0 -0
  46. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/wan.py +0 -0
  47. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/network/wpa3.py +0 -0
  48. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/profile.py +0 -0
  49. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/commands/troubleshoot.py +0 -0
  50. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/const.py +0 -0
  51. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/context.py +0 -0
  52. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/exit_codes.py +0 -0
  53. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/__init__.py +0 -0
  54. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/account.py +0 -0
  55. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/activity.py +0 -0
  56. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/backup_access_points.py +0 -0
  57. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/base.py +0 -0
  58. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/data_usage.py +0 -0
  59. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/device.py +0 -0
  60. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/dns_policy.py +0 -0
  61. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/eero.py +0 -0
  62. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/entitlements.py +0 -0
  63. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/events.py +0 -0
  64. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/generic.py +0 -0
  65. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/members.py +0 -0
  66. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/misc.py +0 -0
  67. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/network.py +0 -0
  68. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/notifications.py +0 -0
  69. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/ouicheck.py +0 -0
  70. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/permissions.py +0 -0
  71. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/power_saving.py +0 -0
  72. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/profile.py +0 -0
  73. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/speedtest.py +0 -0
  74. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/subnets.py +0 -0
  75. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/transfer.py +0 -0
  76. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/wan.py +0 -0
  77. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/formatting/wpa3.py +0 -0
  78. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/main.py +0 -0
  79. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/options.py +0 -0
  80. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/output.py +0 -0
  81. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/safety.py +0 -0
  82. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/sdk_private.py +0 -0
  83. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/__init__.py +0 -0
  84. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/account.py +0 -0
  85. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/activity.py +0 -0
  86. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/backup_access_points.py +0 -0
  87. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/base.py +0 -0
  88. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/data_usage.py +0 -0
  89. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/device.py +0 -0
  90. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/dns_policy.py +0 -0
  91. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/eero.py +0 -0
  92. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/entitlements.py +0 -0
  93. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/events.py +0 -0
  94. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/members.py +0 -0
  95. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/network.py +0 -0
  96. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/notifications.py +0 -0
  97. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/ouicheck.py +0 -0
  98. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/permissions.py +0 -0
  99. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/power_saving.py +0 -0
  100. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/profile.py +0 -0
  101. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/speedtest.py +0 -0
  102. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/subnets.py +0 -0
  103. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/transfer.py +0 -0
  104. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/wan.py +0 -0
  105. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/transformers/wpa3.py +0 -0
  106. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl/utils.py +0 -0
  107. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl.egg-info/SOURCES.txt +0 -0
  108. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl.egg-info/dependency_links.txt +0 -0
  109. {eeroctl-3.2.0 → eeroctl-3.3.0}/src/eeroctl.egg-info/entry_points.txt +0 -0
  110. {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.2.0
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.6
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.2.0"
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.6",
30
+ "eero-api==8.2.0",
31
31
  "rich>=13.0.0",
32
32
  "click>=8.0.0",
33
33
  "pyyaml>=6.0.0",
@@ -7,7 +7,7 @@ Entry point: eeroctl.main:cli
7
7
 
8
8
  from .main import cli, main
9
9
 
10
- __version__ = "3.2.0"
10
+ __version__ = "3.3.0"
11
11
  __version_info__ = tuple(int(x) for x in __version__.split(".")[:3])
12
12
 
13
13
 
@@ -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.{_error_code_suffix(e)}[/yellow]",
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.2.0
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.6
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
@@ -1,4 +1,4 @@
1
- eero-api==8.0.6
1
+ eero-api==8.2.0
2
2
  rich>=13.0.0
3
3
  click>=8.0.0
4
4
  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