eolas-data 1.11.0__tar.gz → 1.13.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 (57) hide show
  1. {eolas_data-1.11.0 → eolas_data-1.13.0}/.github/workflows/catalog-drift.yml +7 -1
  2. {eolas_data-1.11.0 → eolas_data-1.13.0}/.github/workflows/test.yml +6 -2
  3. {eolas_data-1.11.0 → eolas_data-1.13.0}/CHANGELOG.md +55 -0
  4. {eolas_data-1.11.0 → eolas_data-1.13.0}/PKG-INFO +13 -13
  5. {eolas_data-1.11.0 → eolas_data-1.13.0}/README.md +6 -6
  6. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/__init__.py +2 -2
  7. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/_dataset_names.py +1 -1
  8. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/_regen_names.py +1 -1
  9. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/cli.py +10 -9
  10. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/client.py +199 -38
  11. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/exceptions.py +3 -3
  12. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/mcp_server.py +17 -5
  13. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/meta.py +74 -1
  14. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/reshape.py +1 -1
  15. {eolas_data-1.11.0 → eolas_data-1.13.0}/pyproject.toml +6 -6
  16. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_as_arrow.py +1 -1
  17. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_changes_http.py +1 -1
  18. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_cli.py +1 -1
  19. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_client.py +126 -1
  20. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_date_filter.py +1 -1
  21. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_geometry_param.py +35 -1
  22. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_get_local.py +1 -1
  23. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_keyring.py +1 -1
  24. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_mcp_integration.py +1 -1
  25. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_meta.py +1 -1
  26. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_preview_dimensions.py +1 -1
  27. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_progress.py +1 -1
  28. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_reshape.py +1 -1
  29. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_resilience.py +1 -1
  30. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_smoke_live.py +1 -1
  31. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_source_helpers.py +1 -1
  32. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_sync_bulk.py +103 -1
  33. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_sync_changes.py +1 -1
  34. eolas_data-1.13.0/tests/test_truncation.py +193 -0
  35. {eolas_data-1.11.0 → eolas_data-1.13.0}/.github/workflows/pre-release.yml +0 -0
  36. {eolas_data-1.11.0 → eolas_data-1.13.0}/.github/workflows/publish.yml +0 -0
  37. {eolas_data-1.11.0 → eolas_data-1.13.0}/.github/workflows/smoke.yml +0 -0
  38. {eolas_data-1.11.0 → eolas_data-1.13.0}/.gitignore +0 -0
  39. {eolas_data-1.11.0 → eolas_data-1.13.0}/LICENSE +0 -0
  40. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/cdc.py +0 -0
  41. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/console.py +0 -0
  42. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/dataset.py +0 -0
  43. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/library.py +0 -0
  44. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/rows.py +0 -0
  45. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/schedule.py +0 -0
  46. {eolas_data-1.11.0 → eolas_data-1.13.0}/eolas_data/search.py +0 -0
  47. {eolas_data-1.11.0 → eolas_data-1.13.0}/scripts/check_client_contract.py +0 -0
  48. {eolas_data-1.11.0 → eolas_data-1.13.0}/scripts/preflight.sh +0 -0
  49. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/fixtures/source_helpers.json +0 -0
  50. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_cdc_roundtrip.py +0 -0
  51. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_library.py +0 -0
  52. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_mcp_protocol.py +0 -0
  53. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_mcp_server.py +0 -0
  54. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_reshape_integration.py +0 -0
  55. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_rows.py +0 -0
  56. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_schedule.py +0 -0
  57. {eolas_data-1.11.0 → eolas_data-1.13.0}/tests/test_search.py +0 -0
@@ -41,7 +41,13 @@ jobs:
41
41
  baseline = set(module.ALL_NAMES)
42
42
  baseline_date = module.CATALOG_SNAPSHOT_DATE
43
43
 
44
- with urllib.request.urlopen("https://api.eolas.fyi/v1/datasets", timeout=30) as r:
44
+ req = urllib.request.Request(
45
+ "https://api.eolas.fyi/v1/datasets",
46
+ # Cloudflare bot-blocks the default urllib UA (403) — every run
47
+ # since 2026-07-13 failed on this line. Identify honestly.
48
+ headers={"User-Agent": "Mozilla/5.0 (compatible; eolas-catalog-drift/1.0)"},
49
+ )
50
+ with urllib.request.urlopen(req, timeout=30) as r:
45
51
  live = json.load(r)
46
52
  live_names = {d["name"] for d in live}
47
53
  live_namespaces = sorted({d["namespace"] for d in live})
@@ -56,8 +56,12 @@ jobs:
56
56
  - name: Install built wheel + test deps (as users would)
57
57
  run: |
58
58
  WHL=$(ls -1 dist/*.whl | head -1)
59
- pip install "$WHL"
60
- pip install pytest responses geopandas shapely pandas pyarrow typer rich keyring "mcp>=1.0"
59
+ # Install the mcp extra FROM THE WHEEL so its own pin (mcp>=1.0,<2)
60
+ # governs — a bare "mcp>=1.0" here pulled mcp 2.x, which removed
61
+ # mcp.server.fastmcp and broke this job on every run since 2026-07-30
62
+ # (same class publish.yml was already hardened against).
63
+ pip install "$WHL[mcp]"
64
+ pip install pytest responses geopandas shapely pandas pyarrow typer rich keyring
61
65
 
62
66
  - name: pytest on installed package
63
67
  run: pytest -q -m "not integration"
@@ -3,6 +3,61 @@
3
3
  All notable changes to `eolas-data` are recorded here. This project follows
4
4
  [Semantic Versioning](https://semver.org/).
5
5
 
6
+ ## 1.13.0
7
+
8
+ ### Changed
9
+
10
+ - **Default API host is `https://api.eolas.nz`.** `Client()`, the CLI, and the
11
+ MCP health check use it. `https://api.eolas.fyi` still serves; pass
12
+ `base_url=` or set `EOLAS_BASE_URL` before import to keep using it.
13
+ Signup, pricing, and docs links in errors and the README point at `eolas.nz`.
14
+ Mail still uses `support@eolas.fyi`.
15
+
16
+ ### Fixed
17
+
18
+ - **Plan-cap truncation is now visible.** `Client.get()` / `download()` read the
19
+ server's `X-Eolas-Truncated` / `X-Plan-Row-Cap` headers. A capped response now
20
+ emits a `UserWarning`, stamps `eolas_meta["truncated"]` / `["row_cap"]`, flags
21
+ `TRUNCATED` in the repr, and says explicitly that `limit=N` on a capped slice is
22
+ the latest N *within* that file-order slice, not the dataset's most recent N.
23
+ Previously the 50k Free-plan slice was returned silently as if it were the whole
24
+ table. (C22)
25
+ - **`sync_bulk()` stamps the snapshot actually received.** The sidecar and
26
+ `SyncResult.current_snapshot_id` now come from `X-Snapshot-Version` on the final
27
+ GET response (after any 302 to the monthly artifact), not from the HEAD, which
28
+ reports the live id even when the live artifact is not materialised. A redirect
29
+ that lands on the artifact already on disk is reported as `unchanged` with no
30
+ body download. New `SyncResult.freshness_resolved` and sidecar
31
+ `head_snapshot_id` / `freshness_resolved` fields. (C23)
32
+ - **Client mirror of the live-data 413 guard matches the server rule (2026-08-30).**
33
+ On a >100,000-row or geometry table with no `start`/`end` date filter the API
34
+ now serves a live pull only as a slice of `0 < limit <= 10,000` rows without
35
+ `dimensions`; `limit=None`, `limit=0` and anything larger are refused alike (a
36
+ positive `limit` was never a server-side back door). `Client._live_pull_blocked()`
37
+ gains `limit=` / `dimensions=` and the new `_live_slice_allowed()` encodes the
38
+ exception, so `get(name, limit=50_000)` on such a table is served from the bulk
39
+ cache and trimmed client-side instead of 413ing; `dimensions` still forces the
40
+ live path and needs a date filter there. `download()` docs corrected: only
41
+ `1..10_000` is accepted on those tables. (C2/C3 client mirror)
42
+
43
+ ## 1.12.1
44
+
45
+ ### Fixed
46
+
47
+ - **`[mcp]` extra unbreakable install.** Pinned `mcp>=1.0,<2` — `mcp 2.0.0` removed
48
+ `mcp.server.fastmcp`, so `eolas_data.mcp_server`'s `from mcp.server.fastmcp import
49
+ FastMCP` (hence `eolas-mcp`) failed to import under the unbounded `mcp>=1.0`. (1.12.0
50
+ was tagged but never published — its build failed on exactly this; 1.12.1 supersedes it.)
51
+
52
+ ### Added
53
+
54
+ - **`observation_frequency` in dataset metadata.** `Client.info()` / the metadata
55
+ attached to fetched frames now surfaces the dataset's **observation frequency** —
56
+ the grain of each row's time axis (`quarterly`, `monthly`, `annual`, …), distinct
57
+ from `refresh_cadence` (the source *publish* cadence). E.g. `nz_cpi` is
58
+ `observation_frequency="quarterly"` but `refresh_cadence="monthly"`. `null` for
59
+ non-time-series datasets. (Server-side field added in eolas #193.)
60
+
6
61
  ## 1.11.0
7
62
 
8
63
  ### Added
@@ -1,9 +1,9 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: eolas-data
3
- Version: 1.11.0
4
- Summary: Python client for the eolas.fyi statistical data API (NZ + OECD; Australia on roadmap)
5
- Project-URL: Homepage, https://eolas.fyi
6
- Project-URL: Documentation, https://docs.eolas.fyi/
3
+ Version: 1.13.0
4
+ Summary: Python client for the eolas.nz statistical data API (NZ + OECD; Australia on roadmap)
5
+ Project-URL: Homepage, https://eolas.nz
6
+ Project-URL: Documentation, https://docs.eolas.nz/
7
7
  Project-URL: Repository, https://github.com/phildonovan/eolas-data
8
8
  Project-URL: Bug Tracker, https://github.com/phildonovan/eolas-data/issues
9
9
  Author-email: Virtus Solutions <phil@virtus-solutions.io>
@@ -32,7 +32,7 @@ Requires-Dist: rich>=13; extra == 'cli'
32
32
  Requires-Dist: typer>=0.12; extra == 'cli'
33
33
  Provides-Extra: dev
34
34
  Requires-Dist: geopandas>=0.14; extra == 'dev'
35
- Requires-Dist: mcp>=1.0; extra == 'dev'
35
+ Requires-Dist: mcp<2,>=1.0; extra == 'dev'
36
36
  Requires-Dist: pandas; extra == 'dev'
37
37
  Requires-Dist: pytest; extra == 'dev'
38
38
  Requires-Dist: responses; extra == 'dev'
@@ -43,7 +43,7 @@ Provides-Extra: geo
43
43
  Requires-Dist: geopandas>=0.14; extra == 'geo'
44
44
  Requires-Dist: shapely>=2.0; extra == 'geo'
45
45
  Provides-Extra: mcp
46
- Requires-Dist: mcp>=1.0; extra == 'mcp'
46
+ Requires-Dist: mcp<2,>=1.0; extra == 'mcp'
47
47
  Provides-Extra: polars
48
48
  Requires-Dist: polars>=0.20; extra == 'polars'
49
49
  Provides-Extra: secure
@@ -58,7 +58,7 @@ Description-Content-Type: text/markdown
58
58
  [![Python](https://img.shields.io/pypi/pyversions/eolas-data)](https://pypi.org/project/eolas-data/)
59
59
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
60
60
 
61
- Python client for the [eolas.fyi](https://eolas.fyi) statistical data API — 1,500+ official New Zealand statistical & geospatial datasets, plus OECD data for international comparisons, served as tidy `pandas` DataFrames (or `polars` / `geopandas` if you prefer).
61
+ Python client for the [eolas.nz](https://eolas.nz) statistical data API — 1,500+ official New Zealand statistical & geospatial datasets, plus OECD data for international comparisons, served as tidy `pandas` DataFrames (or `polars` / `geopandas` if you prefer).
62
62
 
63
63
  _Coverage is New Zealand + OECD today. Australian sources are on the roadmap — not yet available; OECD data already includes Australia (and other OECD members) for cross-country comparisons._
64
64
 
@@ -87,7 +87,7 @@ client.search("cpi") # expands aliases; surfaces rbnz_m1_prices before nz_cpi
87
87
  meta = client.info("rbnz_m1_prices")
88
88
  ```
89
89
 
90
- Get an API key at <https://eolas.fyi/signup>. Free plan is 10 requests/month; Pro ($49/month) is unlimited.
90
+ Get an API key at <https://eolas.nz/signup>. Free plan is 10 requests/month; Pro ($49/month) is unlimited.
91
91
 
92
92
  ## Quick setup (workstation)
93
93
 
@@ -207,8 +207,8 @@ this is on by default; `format=` (`"json"`/`"csv"`) is only for the rare case
207
207
  you want the raw text payload.
208
208
 
209
209
  For a columnar file (CLI), use `--format parquet --out FILE`; via the REST
210
- API directly, `?format=parquet`. Full benchmark: [docs.eolas.fyi → Python
211
- reference → Performance](https://docs.eolas.fyi/python/reference/).
210
+ API directly, `?format=parquet`. Full benchmark: [docs.eolas.nz → Python
211
+ reference → Performance](https://docs.eolas.nz/python/reference/).
212
212
 
213
213
  ## Bulk downloads — use `get_local()` for whole datasets
214
214
 
@@ -243,7 +243,7 @@ path = client.download_bulk("treasury_fiscal_spending", path="t.parquet")
243
243
 
244
244
  **Progress bars:** `get_local()` shows two phases in interactive sessions — a **download** byte bar while fetching from CDN, then a **read** spinner while Parquet/GeoParquet is loaded (often the slow part on multi-million-row geo datasets). Control with `progress=True` (both), `False` (neither), `"download"`, or `"read"`. Set `EOLAS_NO_PROGRESS=1` to suppress both in batch scripts. Cached files skip the download bar and print an informative message instead.
245
245
 
246
- CLI mirror: `eolas download <name>` for one-shot, `eolas sync <name> [--watch hourly]` for an incremental check. Full docs: [docs.eolas.fyi/bulk-downloads/](https://docs.eolas.fyi/bulk-downloads/).
246
+ CLI mirror: `eolas download <name>` for one-shot, `eolas sync <name> [--watch hourly]` for an incremental check. Full docs: [docs.eolas.nz/bulk-downloads/](https://docs.eolas.nz/bulk-downloads/).
247
247
 
248
248
  ## Sync — always-fresh local copy
249
249
 
@@ -361,4 +361,4 @@ Before each release: `python -m eolas_data._regen_names` to refresh the dataset
361
361
  ## License
362
362
 
363
363
  MIT — applies to this client software only. Dataset use is subject to each
364
- source's licence and your [eolas API plan](https://eolas.fyi/#pricing).
364
+ source's licence and your [eolas API plan](https://eolas.nz/#pricing).
@@ -6,7 +6,7 @@
6
6
  [![Python](https://img.shields.io/pypi/pyversions/eolas-data)](https://pypi.org/project/eolas-data/)
7
7
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
8
 
9
- Python client for the [eolas.fyi](https://eolas.fyi) statistical data API — 1,500+ official New Zealand statistical & geospatial datasets, plus OECD data for international comparisons, served as tidy `pandas` DataFrames (or `polars` / `geopandas` if you prefer).
9
+ Python client for the [eolas.nz](https://eolas.nz) statistical data API — 1,500+ official New Zealand statistical & geospatial datasets, plus OECD data for international comparisons, served as tidy `pandas` DataFrames (or `polars` / `geopandas` if you prefer).
10
10
 
11
11
  _Coverage is New Zealand + OECD today. Australian sources are on the roadmap — not yet available; OECD data already includes Australia (and other OECD members) for cross-country comparisons._
12
12
 
@@ -35,7 +35,7 @@ client.search("cpi") # expands aliases; surfaces rbnz_m1_prices before nz_cpi
35
35
  meta = client.info("rbnz_m1_prices")
36
36
  ```
37
37
 
38
- Get an API key at <https://eolas.fyi/signup>. Free plan is 10 requests/month; Pro ($49/month) is unlimited.
38
+ Get an API key at <https://eolas.nz/signup>. Free plan is 10 requests/month; Pro ($49/month) is unlimited.
39
39
 
40
40
  ## Quick setup (workstation)
41
41
 
@@ -155,8 +155,8 @@ this is on by default; `format=` (`"json"`/`"csv"`) is only for the rare case
155
155
  you want the raw text payload.
156
156
 
157
157
  For a columnar file (CLI), use `--format parquet --out FILE`; via the REST
158
- API directly, `?format=parquet`. Full benchmark: [docs.eolas.fyi → Python
159
- reference → Performance](https://docs.eolas.fyi/python/reference/).
158
+ API directly, `?format=parquet`. Full benchmark: [docs.eolas.nz → Python
159
+ reference → Performance](https://docs.eolas.nz/python/reference/).
160
160
 
161
161
  ## Bulk downloads — use `get_local()` for whole datasets
162
162
 
@@ -191,7 +191,7 @@ path = client.download_bulk("treasury_fiscal_spending", path="t.parquet")
191
191
 
192
192
  **Progress bars:** `get_local()` shows two phases in interactive sessions — a **download** byte bar while fetching from CDN, then a **read** spinner while Parquet/GeoParquet is loaded (often the slow part on multi-million-row geo datasets). Control with `progress=True` (both), `False` (neither), `"download"`, or `"read"`. Set `EOLAS_NO_PROGRESS=1` to suppress both in batch scripts. Cached files skip the download bar and print an informative message instead.
193
193
 
194
- CLI mirror: `eolas download <name>` for one-shot, `eolas sync <name> [--watch hourly]` for an incremental check. Full docs: [docs.eolas.fyi/bulk-downloads/](https://docs.eolas.fyi/bulk-downloads/).
194
+ CLI mirror: `eolas download <name>` for one-shot, `eolas sync <name> [--watch hourly]` for an incremental check. Full docs: [docs.eolas.nz/bulk-downloads/](https://docs.eolas.nz/bulk-downloads/).
195
195
 
196
196
  ## Sync — always-fresh local copy
197
197
 
@@ -309,4 +309,4 @@ Before each release: `python -m eolas_data._regen_names` to refresh the dataset
309
309
  ## License
310
310
 
311
311
  MIT — applies to this client software only. Dataset use is subject to each
312
- source's licence and your [eolas API plan](https://eolas.fyi/#pricing).
312
+ source's licence and your [eolas API plan](https://eolas.nz/#pricing).
@@ -1,4 +1,4 @@
1
- """eolas-data — Python client for the eolas.fyi statistical data API."""
1
+ """eolas-data — Python client for the eolas.nz statistical data API."""
2
2
 
3
3
  from importlib.metadata import PackageNotFoundError, version as _pkg_version
4
4
 
@@ -28,7 +28,7 @@ from .reshape import pivot_longer, pivot_wider
28
28
  try:
29
29
  __version__ = _pkg_version("eolas-data")
30
30
  except PackageNotFoundError: # pragma: no cover - uninstalled source checkout
31
- __version__ = "1.11.0"
31
+ __version__ = "1.13.0"
32
32
 
33
33
  __all__ = [
34
34
  "Client",
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Type stubs for dataset names.
3
3
 
4
- Auto-generated from https://api.eolas.fyi/v1/datasets at release time.
4
+ Auto-generated from https://api.eolas.nz/v1/datasets at release time.
5
5
  Snapshot: 2026-06-17 (1537 datasets).
6
6
  Regenerate before each release with `python -m eolas_data._regen_names`.
7
7
 
@@ -28,7 +28,7 @@ def regenerate() -> None:
28
28
  lines.append('"""')
29
29
  lines.append("Type stubs for dataset names.")
30
30
  lines.append("")
31
- lines.append("Auto-generated from https://api.eolas.fyi/v1/datasets at release time.")
31
+ lines.append("Auto-generated from https://api.eolas.nz/v1/datasets at release time.")
32
32
  lines.append(f"Snapshot: {today} ({len(names)} datasets).")
33
33
  lines.append("Regenerate before each release with `python -m eolas_data._regen_names`.")
34
34
  lines.append("")
@@ -1,4 +1,4 @@
1
- """eolas — command-line interface for the eolas.fyi data API.
1
+ """eolas — command-line interface for the eolas.nz data API.
2
2
 
3
3
  Designed for two audiences:
4
4
  - Humans typing in a terminal: rich tables, sensible defaults, --help everywhere.
@@ -28,6 +28,7 @@ import time
28
28
  from . import __version__
29
29
  from . import schedule as _schedule
30
30
  from .client import (
31
+ BASE_URL,
31
32
  Client,
32
33
  SyncResult,
33
34
  _KEYRING_SERVICE,
@@ -64,7 +65,7 @@ EXIT_USAGE = 64 # convention from sysexits.h
64
65
  app = typer.Typer(
65
66
  name="eolas",
66
67
  help=(
67
- "CLI for the eolas.fyi statistical data API. Browse and fetch 1,400+ "
68
+ "CLI for the eolas.nz statistical data API. Browse and fetch 1,400+ "
68
69
  "official NZ statistical & geospatial datasets, plus OECD data for "
69
70
  "international comparisons. Pipes cleanly into jq, csvkit, etc."
70
71
  ),
@@ -213,11 +214,11 @@ def version() -> None:
213
214
 
214
215
  @app.command()
215
216
  def health() -> None:
216
- """Quick reachability check against api.eolas.fyi/health."""
217
+ """Quick reachability check against api.eolas.nz/health."""
217
218
  import requests
218
219
 
219
220
  try:
220
- r = requests.get("https://api.eolas.fyi/health", timeout=10)
221
+ r = requests.get(f"{BASE_URL}/health", timeout=10)
221
222
  r.raise_for_status()
222
223
  except Exception as e:
223
224
  _bail(f"health check failed: {e}", EXIT_API)
@@ -578,7 +579,7 @@ def download_cmd(
578
579
  )
579
580
  except BulkUpgradeRequired as e:
580
581
  err_console.print(f"[red]error:[/red] {e}")
581
- err_console.print("[dim]→ https://eolas.fyi/pricing[/dim]")
582
+ err_console.print("[dim]→ https://eolas.nz/pricing[/dim]")
582
583
  raise typer.Exit(code=EXIT_AUTH)
583
584
  except BulkLicenceRestricted:
584
585
  live_fmt = _LIVE_DOWNLOAD_FORMAT_MAP[fmt_lower]
@@ -892,11 +893,11 @@ def sync_cmd(
892
893
  )
893
894
  except BulkUpgradeRequired as e:
894
895
  err_console.print(f"[red]error:[/red] {e}")
895
- err_console.print("[dim]→ https://eolas.fyi/pricing[/dim]")
896
+ err_console.print("[dim]→ https://eolas.nz/pricing[/dim]")
896
897
  raise typer.Exit(code=EXIT_AUTH)
897
898
  except ChangesUpgradeRequired as e:
898
899
  err_console.print(f"[red]error:[/red] {e}")
899
- err_console.print("[dim]→ https://eolas.fyi/pricing[/dim]")
900
+ err_console.print("[dim]→ https://eolas.nz/pricing[/dim]")
900
901
  raise typer.Exit(code=EXIT_AUTH)
901
902
  except BulkLicenceRestricted as e:
902
903
  err_console.print(f"[red]error:[/red] {e}")
@@ -982,7 +983,7 @@ def auth_set_key(
982
983
  "--key",
983
984
  prompt="API key",
984
985
  hide_input=True,
985
- help="Your eolas.fyi API key. Will be saved to ~/.eolas/config.json (chmod 600).",
986
+ help="Your eolas.nz API key. Will be saved to ~/.eolas/config.json (chmod 600).",
986
987
  ),
987
988
  ) -> None:
988
989
  """Save your API key to ~/.eolas/config.json."""
@@ -1340,7 +1341,7 @@ def _run_integration(
1340
1341
  # Server's 403 detail flows through — usually the "Enterprise feature"
1341
1342
  # upgrade message. We surface it verbatim plus a pricing link.
1342
1343
  err_console.print(f"[red]error:[/red] {e}")
1343
- err_console.print("[dim]→ https://eolas.fyi/pricing[/dim]")
1344
+ err_console.print("[dim]→ https://eolas.nz/pricing[/dim]")
1344
1345
  raise typer.Exit(code=EXIT_AUTH)
1345
1346
  except EolasError as e:
1346
1347
  _bail(str(e), _exit_for(e))