dq-export-connector 0.1.0.dev31__tar.gz → 0.1.0.dev33__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 (36) hide show
  1. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/PKG-INFO +6 -6
  2. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/README.md +5 -5
  3. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/bucket/datasets.py +5 -1
  4. dq_export_connector-0.1.0.dev33/dq_export_connector/errors.py +82 -0
  5. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/log.py +4 -4
  6. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/outcome.py +8 -20
  7. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/redact.py +5 -0
  8. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/runner.py +28 -25
  9. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/pyproject.toml +1 -6
  10. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/tests/test_live_buckets.py +2 -4
  11. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/tests/test_redact.py +4 -0
  12. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/tests/test_runner.py +65 -46
  13. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/uv.lock +1 -239
  14. dq_export_connector-0.1.0.dev31/dq_export_connector/errors.py +0 -81
  15. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/.gitignore +0 -0
  16. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/.python-version +0 -0
  17. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/__init__.py +0 -0
  18. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/_models/__init__.py +0 -0
  19. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/_models/application_error.py +0 -0
  20. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/_models/application_warning.py +0 -0
  21. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/_models/export_connector_credentials.py +0 -0
  22. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/_models/export_receipt.py +0 -0
  23. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/_models/export_worker_config.py +0 -0
  24. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/bucket/__init__.py +0 -0
  25. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/bucket/export.py +0 -0
  26. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/bucket/paths.py +0 -0
  27. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/bucket/store.py +0 -0
  28. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/bucket/upload.py +0 -0
  29. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/bucket/validate.py +0 -0
  30. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/models/__init__.py +0 -0
  31. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/dq_export_connector/models/bucket.py +0 -0
  32. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/scripts/codegen-models.sh +0 -0
  33. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/tests/test_models_are_current.py +0 -0
  34. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/tests/test_paths.py +0 -0
  35. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/tests/test_store.py +0 -0
  36. {dq_export_connector-0.1.0.dev31 → dq_export_connector-0.1.0.dev33}/tests/test_upload.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: dq-export-connector
3
- Version: 0.1.0.dev31
3
+ Version: 0.1.0.dev33
4
4
  Summary: Worker logic for the Export Connector DCR.
5
5
  Author: Decentriq
6
6
  Requires-Python: >=3.12
@@ -25,13 +25,13 @@ published to PyPI, since the compiled graph installs it from there.
25
25
  Connector Kind and the action, then writes what the action reports under
26
26
  `/internal`: an export's receipt, and either action's warnings and error, as
27
27
  the task's Task Report, Application Warnings and Application Error. An action
28
- with an error fails the task with it.
28
+ with an error also writes it as `/internal/safe_error`, `CODE: message`,
29
+ which the container worker shows as the task's `error`, and exits with 1.
29
30
  - `dq_export_connector.errors`: the error and warning codes the worker
30
31
  reports, `ExportConnectorError`, which stops an action with an error code,
31
- and `RedactedExportConnectorError`, the `decentriq_util` `SafeError` that
32
- fails the task, so the container worker's `error` result ends with
33
- `CODE: message`. Messages are cut to 1,000 characters, and a provider's own
34
- error to 4,000, once redacted.
32
+ and `ExportConnectorWarning`. Each becomes an Application Error or Warning
33
+ with its credentials masked, its message cut to 1,000 characters and a
34
+ provider's own error to 4,000.
35
35
  - `dq_export_connector.outcome`: collects a run's error, warnings and receipt
36
36
  while it runs.
37
37
  - `dq_export_connector.redact`: keeps every value from the sealed half, and
@@ -14,13 +14,13 @@ published to PyPI, since the compiled graph installs it from there.
14
14
  Connector Kind and the action, then writes what the action reports under
15
15
  `/internal`: an export's receipt, and either action's warnings and error, as
16
16
  the task's Task Report, Application Warnings and Application Error. An action
17
- with an error fails the task with it.
17
+ with an error also writes it as `/internal/safe_error`, `CODE: message`,
18
+ which the container worker shows as the task's `error`, and exits with 1.
18
19
  - `dq_export_connector.errors`: the error and warning codes the worker
19
20
  reports, `ExportConnectorError`, which stops an action with an error code,
20
- and `RedactedExportConnectorError`, the `decentriq_util` `SafeError` that
21
- fails the task, so the container worker's `error` result ends with
22
- `CODE: message`. Messages are cut to 1,000 characters, and a provider's own
23
- error to 4,000, once redacted.
21
+ and `ExportConnectorWarning`. Each becomes an Application Error or Warning
22
+ with its credentials masked, its message cut to 1,000 characters and a
23
+ provider's own error to 4,000.
24
24
  - `dq_export_connector.outcome`: collects a run's error, warnings and receipt
25
25
  while it runs.
26
26
  - `dq_export_connector.redact`: keeps every value from the sealed half, and
@@ -41,9 +41,13 @@ class DatasetLayout:
41
41
  def open_dataset(dataset_path: Path) -> Iterator[tuple[DatasetLayout, _Reader]]:
42
42
  """Reads the dataset's layout, keeping a ZIP open while its entries upload.
43
43
  A ZIP's index sits at its end, so detecting one reads no more than that."""
44
+ # Yields outside the `except`, so an error while the dataset uploads isn't
45
+ # chained to the `BadZipFile`.
44
46
  try:
45
- archive = zipfile.ZipFile(dataset_path)
47
+ archive: zipfile.ZipFile | None = zipfile.ZipFile(dataset_path)
46
48
  except zipfile.BadZipFile:
49
+ archive = None
50
+ if archive is None:
47
51
  size = dataset_path.stat().st_size
48
52
  yield DatasetLayout([DatasetFile(RAW_FILE_NAME, size)], "not a ZIP"), _RawReader(dataset_path)
49
53
  return
@@ -0,0 +1,82 @@
1
+ """The error and warning codes the worker reports, the error that stops a run
2
+ and the warnings it gathers. A code shared by every Connector Kind has no
3
+ prefix; one only a kind can report carries the kind's prefix, such as
4
+ `BUCKET_`."""
5
+
6
+ from __future__ import annotations
7
+
8
+ from dataclasses import dataclass
9
+ from enum import Enum
10
+ from typing import Any
11
+
12
+ from dq_export_connector.models import ApplicationError, ApplicationWarning
13
+ from dq_export_connector.redact import Redactor
14
+
15
+
16
+ class ErrorCode(str, Enum):
17
+ INVALID_CREDENTIALS = "INVALID_CREDENTIALS"
18
+ UNAUTHENTICATED = "UNAUTHENTICATED"
19
+ CREDENTIALS_EXPIRED = "CREDENTIALS_EXPIRED"
20
+ ACCESS_DENIED = "ACCESS_DENIED"
21
+ DESTINATION_NOT_FOUND = "DESTINATION_NOT_FOUND"
22
+ UNREACHABLE = "UNREACHABLE"
23
+ UNKNOWN = "UNKNOWN"
24
+ READ_FAILED = "READ_FAILED"
25
+ INTERNAL_ERROR = "INTERNAL_ERROR"
26
+ BUCKET_INVALID_PATH = "BUCKET_INVALID_PATH"
27
+
28
+
29
+ class WarningCode(str, Enum):
30
+ EMPTY_DATASET = "EMPTY_DATASET"
31
+ BUCKET_PROBE_NOT_DELETED = "BUCKET_PROBE_NOT_DELETED"
32
+ BUCKET_PARTS_MAY_REMAIN = "BUCKET_PARTS_MAY_REMAIN"
33
+
34
+
35
+ # The most characters a message the worker writes has, so the UI can rely on a bound.
36
+ MAX_MESSAGE_LENGTH = 1000
37
+
38
+ # The most characters of a provider's own error the worker passes on.
39
+ MAX_PROVIDER_ERROR_LENGTH = 4000
40
+
41
+
42
+ class ExportConnectorError(Exception):
43
+ """Stops the run and becomes its Application Error. `message` is shown to
44
+ the user, so it must not hold dataset values. `provider_error` is the Bucket
45
+ Provider's own error, as its client reports it, which becomes
46
+ `details.providerError`. Both are redacted only when the error is written."""
47
+
48
+ def __init__(self, code: ErrorCode, message: str, provider_error: str | None = None) -> None:
49
+ super().__init__(message)
50
+ self.code = code
51
+ self.message = message
52
+ self.provider_error = provider_error
53
+
54
+ def application_error(self, redactor: Redactor) -> ApplicationError:
55
+ return ApplicationError(
56
+ code=self.code.value,
57
+ message=redactor.redact_and_cut(self.message, MAX_MESSAGE_LENGTH),
58
+ details=_details(self.provider_error, redactor),
59
+ )
60
+
61
+
62
+ @dataclass(frozen=True)
63
+ class ExportConnectorWarning:
64
+ """A problem that doesn't stop the run and becomes one of its Application
65
+ Warnings. Its texts are as an `ExportConnectorError`'s."""
66
+
67
+ code: WarningCode
68
+ message: str
69
+ provider_error: str | None = None
70
+
71
+ def application_warning(self, redactor: Redactor) -> ApplicationWarning:
72
+ return ApplicationWarning(
73
+ code=self.code.value,
74
+ message=redactor.redact_and_cut(self.message, MAX_MESSAGE_LENGTH),
75
+ details=_details(self.provider_error, redactor),
76
+ )
77
+
78
+
79
+ def _details(provider_error: str | None, redactor: Redactor) -> dict[str, Any] | None:
80
+ if provider_error is None:
81
+ return None
82
+ return {"providerError": redactor.redact_and_cut(provider_error, MAX_PROVIDER_ERROR_LENGTH)}
@@ -1,7 +1,7 @@
1
- """The worker's logger. Lines go to stdout, which the owner sees in a failed
2
- run's error, and to the container worker's log pipe, which reaches the platform
3
- logs. Both pass through the redactor. A traceback goes to the log pipe only,
4
- since its exception's message can hold dataset values."""
1
+ """The worker's logger. Lines go to the container worker's log pipe, which
2
+ reaches the platform logs, and to stdout, the container's logs. Both pass
3
+ through the redactor. A traceback goes to the log pipe only, since its
4
+ exception's message can hold dataset values."""
5
5
 
6
6
  from __future__ import annotations
7
7
 
@@ -3,25 +3,19 @@ gathered before an error survive it."""
3
3
 
4
4
  from __future__ import annotations
5
5
 
6
- from dq_export_connector.errors import (
7
- MAX_MESSAGE_LENGTH,
8
- MAX_PROVIDER_ERROR_LENGTH,
9
- ExportConnectorError,
10
- WarningCode,
11
- redacted,
12
- )
13
- from dq_export_connector.models import ApplicationWarning, ExportReceipt, ExportReceiptV0
6
+ from dq_export_connector.errors import ExportConnectorError, ExportConnectorWarning, WarningCode
7
+ from dq_export_connector.models import ApplicationError, ApplicationWarning, ExportReceipt, ExportReceiptV0
14
8
  from dq_export_connector.redact import Redactor
15
9
 
16
10
 
17
11
  class RunOutcome:
18
12
  def __init__(self) -> None:
19
13
  self.error: ExportConnectorError | None = None
20
- self.warnings: list[tuple[WarningCode, str, str | None]] = []
14
+ self.warnings: list[ExportConnectorWarning] = []
21
15
  self.receipt: ExportReceiptV0 | None = None
22
16
 
23
17
  def warn(self, code: WarningCode, message: str, provider_error: str | None = None) -> None:
24
- self.warnings.append((code, message, provider_error))
18
+ self.warnings.append(ExportConnectorWarning(code, message, provider_error))
25
19
 
26
20
  def fail(self, error: ExportConnectorError) -> None:
27
21
  self.error = error
@@ -31,14 +25,8 @@ class RunOutcome:
31
25
  return None
32
26
  return ExportReceipt.model_validate({"version": "V0", **self.receipt.model_dump(by_alias=True)})
33
27
 
28
+ def application_error(self, redactor: Redactor) -> ApplicationError | None:
29
+ return None if self.error is None else self.error.application_error(redactor)
30
+
34
31
  def application_warnings(self, redactor: Redactor) -> list[ApplicationWarning]:
35
- return [
36
- ApplicationWarning(
37
- code=code.value,
38
- message=redacted(message, MAX_MESSAGE_LENGTH, redactor),
39
- details=None
40
- if provider_error is None
41
- else {"providerError": redacted(provider_error, MAX_PROVIDER_ERROR_LENGTH, redactor)},
42
- )
43
- for code, message, provider_error in self.warnings
44
- ]
32
+ return [warning.application_warning(redactor) for warning in self.warnings]
@@ -67,3 +67,8 @@ class Redactor:
67
67
  for secret in self._secrets:
68
68
  text = text.replace(secret, MASK)
69
69
  return _URL_QUERY.sub(lambda match: f"{match.group('url')}?{MASK}", text)
70
+
71
+ def redact_and_cut(self, text: str, limit: int) -> str:
72
+ """Cuts after masking, so a cut can't leave part of a secret unmasked."""
73
+ text = self.redact(text)
74
+ return text if len(text) <= limit else text[: limit - 1] + "…"
@@ -3,7 +3,8 @@ dispatches on the Connector Kind and the action, and writes what the action
3
3
  reports. An export's receipt, and the warnings and the error of either action,
4
4
  go under `/internal`, where the container worker reads them as the task's Task
5
5
  Report, Application Warnings and Application Error. An action with an error
6
- fails the task with it."""
6
+ also writes it there as the task's error, `CODE: message`, and fails the
7
+ process."""
7
8
 
8
9
  from __future__ import annotations
9
10
 
@@ -15,13 +16,10 @@ from importlib.metadata import version
15
16
  from pathlib import Path
16
17
  from typing import Any
17
18
 
18
- from dq_export_connector.errors import (
19
- ErrorCode,
20
- ExportConnectorError,
21
- RedactedExportConnectorError,
22
- )
19
+ from dq_export_connector.errors import ErrorCode, ExportConnectorError
23
20
  from dq_export_connector.log import configure_logger, logger
24
21
  from dq_export_connector.models import (
22
+ ApplicationError,
25
23
  ExportConnectorCredentials,
26
24
  ExportConnectorDcrComputeActionExport,
27
25
  ExportConnectorDcrComputeActionValidateConnection,
@@ -38,6 +36,8 @@ INTERNAL_DIR = Path("/internal")
38
36
  REPORT_FILE = "report"
39
37
  APPLICATION_WARNINGS_FILE = "application_warnings"
40
38
  APPLICATION_ERROR_FILE = "application_error"
39
+ # The container worker shows it as a failed task's error.
40
+ SAFE_ERROR_FILE = "safe_error"
41
41
 
42
42
 
43
43
  def main(
@@ -46,12 +46,14 @@ def main(
46
46
  inputs_dir: Path = INPUTS_DIR,
47
47
  build_store: Callable[[Any, Any], Any] | None = None,
48
48
  internal_dir: Path = INTERNAL_DIR,
49
- ) -> None:
49
+ ) -> int:
50
+ """Returns the process's exit status: 1 once a failed action's error is
51
+ written."""
50
52
  raw_credentials = json.loads(credentials_path.read_text())
51
53
  redactor = Redactor(secret_values(raw_credentials))
52
54
  configure_logger(redactor)
53
55
  try:
54
- error = run(
56
+ application_error = run(
55
57
  ExportWorkerConfig.model_validate_json(config_path.read_text()),
56
58
  ExportConnectorCredentials.model_validate(raw_credentials),
57
59
  inputs_dir,
@@ -59,17 +61,21 @@ def main(
59
61
  build_store,
60
62
  redactor,
61
63
  )
64
+ # The process is being stopped, which fails the task without an error the
65
+ # worker writes.
62
66
  except (KeyboardInterrupt, SystemExit):
67
+ logger.exception("The export worker was stopped")
63
68
  raise
64
- # A panic in obstore's Rust code is a `BaseException`. The container
65
- # worker's `raw_errors` result doesn't pass the redaction, so the error that
66
- # fails the task chains no other.
69
+ # A panic in obstore's Rust code is a `BaseException`.
67
70
  except BaseException:
68
71
  logger.exception("An internal error stopped the export worker")
69
- internal = ExportConnectorError(ErrorCode.INTERNAL_ERROR, "An internal error stopped the export worker")
70
- raise RedactedExportConnectorError(internal, redactor) from None
71
- if error is not None:
72
- raise error
72
+ application_error = ApplicationError(
73
+ code=ErrorCode.INTERNAL_ERROR.value, message="An internal error stopped the export worker"
74
+ )
75
+ if application_error is None:
76
+ return 0
77
+ _write(internal_dir / SAFE_ERROR_FILE, f"{application_error.code}: {application_error.message}")
78
+ return 1
73
79
 
74
80
 
75
81
  def run(
@@ -79,8 +85,8 @@ def run(
79
85
  internal_dir: Path,
80
86
  build_store: Callable[[Any, Any], Any] | None,
81
87
  redactor: Redactor,
82
- ) -> RedactedExportConnectorError | None:
83
- """Returns the error it wrote as the Application Error, if any."""
88
+ ) -> ApplicationError | None:
89
+ """Returns the Application Error it wrote, if any."""
84
90
  # A kind's modules import what its extra installs, so they load only for
85
91
  # a run of that kind.
86
92
  from dq_export_connector.bucket import store
@@ -106,17 +112,14 @@ def run(
106
112
  return _write_application_outputs(internal_dir, outcome, redactor)
107
113
 
108
114
 
109
- def _write_application_outputs(
110
- internal_dir: Path, outcome: RunOutcome, redactor: Redactor
111
- ) -> RedactedExportConnectorError | None:
115
+ def _write_application_outputs(internal_dir: Path, outcome: RunOutcome, redactor: Redactor) -> ApplicationError | None:
112
116
  warnings = outcome.application_warnings(redactor)
113
117
  if warnings:
114
118
  dumped = [warning.model_dump(by_alias=True, exclude_none=True) for warning in warnings]
115
119
  _write(internal_dir / APPLICATION_WARNINGS_FILE, json.dumps(dumped))
116
- if outcome.error is None:
117
- return None
118
- error = RedactedExportConnectorError(outcome.error, redactor)
119
- _write(internal_dir / APPLICATION_ERROR_FILE, error.application_error().model_dump_json(by_alias=True, exclude_none=True))
120
+ error = outcome.application_error(redactor)
121
+ if error is not None:
122
+ _write(internal_dir / APPLICATION_ERROR_FILE, error.model_dump_json(by_alias=True, exclude_none=True))
120
123
  return error
121
124
 
122
125
 
@@ -146,7 +149,7 @@ def _record_failure(outcome: RunOutcome, activity: str) -> Iterator[None]:
146
149
  except (KeyboardInterrupt, SystemExit):
147
150
  raise
148
151
  except ExportConnectorError as error:
149
- logger.error("The %s failed with %s: %s", activity, error.code.value, error.message)
152
+ logger.error("The %s failed with %s: %s", activity, error.code.value, error.message, exc_info=True)
150
153
  outcome.fail(error)
151
154
  # A panic in obstore's Rust code is a `BaseException`.
152
155
  except BaseException:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dq-export-connector"
3
- version = "0.1.0.dev31"
3
+ version = "0.1.0.dev33"
4
4
  description = "Worker logic for the Export Connector DCR."
5
5
  readme = "README.md"
6
6
  authors = [{ name = "Decentriq" }]
@@ -18,16 +18,11 @@ bucket = [
18
18
 
19
19
  [dependency-groups]
20
20
  dev = [
21
- # The worker image provides it at runtime.
22
- "decentriq_util",
23
21
  "dq-export-connector[bucket]",
24
22
  "mypy>=1.13",
25
23
  "pytest>=8.3",
26
24
  ]
27
25
 
28
- [tool.uv.sources]
29
- decentriq_util = { path = "../decentriq_util" }
30
-
31
26
  [build-system]
32
27
  requires = ["hatchling>=1.25"]
33
28
  build-backend = "hatchling.build"
@@ -26,7 +26,6 @@ import pytest
26
26
 
27
27
  from dq_export_connector import runner
28
28
  from dq_export_connector.bucket.store import build_store
29
- from dq_export_connector.errors import RedactedExportConnectorError
30
29
  from dq_export_connector.models import ExportConnectorCredentials
31
30
  from dq_export_connector.models.bucket import BucketConnection
32
31
 
@@ -141,9 +140,8 @@ def test_an_export_lands_in_the_bucket(tmp_path: Path, provider: tuple[dict[str,
141
140
 
142
141
 
143
142
  def _write_error_code(tmp_path: Path, name: str, connection: dict[str, Any], credentials: dict[str, Any]) -> Any:
144
- with pytest.raises(RedactedExportConnectorError) as raised:
145
- _main(tmp_path / name, VALIDATE, connection, credentials, {})
146
- return raised.value.code.value
143
+ _main(tmp_path / name, VALIDATE, connection, credentials, {})
144
+ return json.loads((tmp_path / name / "internal" / runner.APPLICATION_ERROR_FILE).read_text())["code"]
147
145
 
148
146
 
149
147
  def test_s3_failures_are_classified(tmp_path: Path) -> None:
@@ -41,3 +41,7 @@ def test_an_azure_error_carrying_the_sas_token_is_masked():
41
41
  def test_a_secret_is_masked_where_it_appears_json_escaped():
42
42
  redactor = Redactor(["line one\nline two"])
43
43
  assert redactor.redact('{"private_key": "line one\\nline two"}') == '{"private_key": "***"}'
44
+
45
+
46
+ def test_a_cut_comes_after_the_masking():
47
+ assert Redactor(["secret"]).redact_and_cut("ab secret cd", 6) == "ab **…"
@@ -6,6 +6,7 @@ import json
6
6
  import os
7
7
  import re
8
8
  import struct
9
+ import sys
9
10
  import warnings
10
11
  import zipfile
11
12
  import zlib
@@ -13,19 +14,13 @@ from pathlib import Path
13
14
 
14
15
  import obstore
15
16
  import pytest
16
- from decentriq_util.error import CatchSafeErrorContext
17
17
  from obstore.store import LocalStore, MemoryStore
18
18
 
19
19
  from dq_export_connector import runner
20
20
  from dq_export_connector.bucket import export
21
21
  from dq_export_connector.bucket.store import StorageError
22
22
  from dq_export_connector.bucket.upload import MIN_PART_SIZE
23
- from dq_export_connector.errors import (
24
- MAX_PROVIDER_ERROR_LENGTH,
25
- ErrorCode,
26
- ExportConnectorError,
27
- RedactedExportConnectorError,
28
- )
23
+ from dq_export_connector.errors import MAX_PROVIDER_ERROR_LENGTH, ErrorCode, ExportConnectorError
29
24
 
30
25
  SECRET_KEY = "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
31
26
  CREDENTIALS = {"type": "bucket", "credentials": {"type": "s3", "accessKey": "AKIAEXAMPLE", "secretKey": SECRET_KEY}}
@@ -60,7 +55,7 @@ def _zip(entries, compression=zipfile.ZIP_STORED):
60
55
 
61
56
 
62
57
  def _main(tmp_path, config, datasets, store, monkeypatch):
63
- """Runs the worker, raising the error that fails the task."""
58
+ """Runs the worker and returns its exit status."""
64
59
  (tmp_path / "inputs").mkdir()
65
60
  for leaf_id, content in datasets.items():
66
61
  (tmp_path / "inputs" / leaf_id).write_bytes(content)
@@ -69,7 +64,7 @@ def _main(tmp_path, config, datasets, store, monkeypatch):
69
64
  pipe = tmp_path / "pipe.log"
70
65
  pipe.touch()
71
66
  monkeypatch.setenv("DQ_INTERNAL_LOGS_PIPE", str(pipe))
72
- runner.main(
67
+ return runner.main(
73
68
  tmp_path / "config.json",
74
69
  tmp_path / "credentials.json",
75
70
  tmp_path / "inputs",
@@ -80,11 +75,7 @@ def _main(tmp_path, config, datasets, store, monkeypatch):
80
75
 
81
76
  def _run(tmp_path, config, datasets, store, monkeypatch):
82
77
  """Runs the worker and returns whether it failed the task."""
83
- try:
84
- _main(tmp_path, config, datasets, store, monkeypatch)
85
- except RedactedExportConnectorError:
86
- return True
87
- return False
78
+ return _main(tmp_path, config, datasets, store, monkeypatch) == 1
88
79
 
89
80
 
90
81
  def _logs(tmp_path):
@@ -101,7 +92,15 @@ def _objects(store):
101
92
 
102
93
  def _outputs(tmp_path):
103
94
  """The task outputs the run wrote, by file name."""
104
- return {path.name: json.loads(path.read_text()) for path in (tmp_path / "internal").glob("*")}
95
+ return {
96
+ path.name: json.loads(path.read_text())
97
+ for path in (tmp_path / "internal").glob("*")
98
+ if path.name != runner.SAFE_ERROR_FILE
99
+ }
100
+
101
+
102
+ def _task_error(tmp_path):
103
+ return (tmp_path / "internal" / runner.SAFE_ERROR_FILE).read_text()
105
104
 
106
105
 
107
106
  CONNECTION = {"type": "s3", "region": "eu-central-1", "bucket": "acme", "pathPrefix": "decentriq/"}
@@ -438,12 +437,40 @@ def test_a_traceback_goes_to_the_log_pipe_only(tmp_path, monkeypatch, capsys):
438
437
 
439
438
  monkeypatch.setattr(export, "upload", broken)
440
439
  _run(tmp_path, _config(EXPORT, [("segA", "seg_a")]), {"segA": b"x"}, MemoryStore(), monkeypatch)
441
- stdout = capsys.readouterr().out
440
+ stdout, logs = capsys.readouterr().out, _logs(tmp_path)
442
441
  assert (
443
442
  "a dataset value" in stdout,
444
443
  "ERROR: An internal error stopped the export\n" in stdout,
445
- "KeyError: 'a dataset value'" in _logs(tmp_path),
446
- ) == (False, True, True)
444
+ "KeyError: 'a dataset value'" in logs,
445
+ "BadZipFile" in logs,
446
+ _task_error(tmp_path),
447
+ ) == (False, True, True, False, "INTERNAL_ERROR: An internal error stopped the export")
448
+
449
+
450
+ def test_an_expected_errors_traceback_goes_to_the_log_pipe_only(tmp_path, monkeypatch, capsys):
451
+ def denied(*_):
452
+ raise StorageError(obstore.exceptions.PermissionDeniedError("Access Denied"))
453
+
454
+ monkeypatch.setattr(export, "upload", denied)
455
+ _run(tmp_path, _config(EXPORT, [("segA", "seg_a")]), {"segA": b"x"}, MemoryStore(), monkeypatch)
456
+ stdout, logs = capsys.readouterr().out, _logs(tmp_path)
457
+ assert (
458
+ "Traceback" in stdout,
459
+ "ERROR: The export failed with ACCESS_DENIED: " in stdout,
460
+ "dq_export_connector.bucket.store.StorageError: Access Denied" in logs,
461
+ "dq_export_connector.errors.ExportConnectorError: The credentials may not write" in logs,
462
+ ) == (False, True, True, True)
463
+
464
+
465
+ def test_an_exit_during_the_run_is_logged_and_passed_on(tmp_path, monkeypatch):
466
+ def exiting(*_):
467
+ sys.exit(3)
468
+
469
+ monkeypatch.setattr(export, "upload", exiting)
470
+ with pytest.raises(SystemExit) as raised:
471
+ _main(tmp_path, _config(EXPORT, [("segA", "seg_a")]), {"segA": b"x"}, MemoryStore(), monkeypatch)
472
+ logs = _logs(tmp_path)
473
+ assert (raised.value.code, "ERROR: The export worker was stopped" in logs, "in exiting" in logs) == (3, True, True)
447
474
 
448
475
 
449
476
  def test_a_panic_is_reported_as_an_internal_error(tmp_path, monkeypatch):
@@ -488,24 +515,25 @@ def test_a_connection_test_that_couldnt_run_fails_without_the_credentials(tmp_pa
488
515
  pipe = tmp_path / "pipe.log"
489
516
  pipe.touch()
490
517
  monkeypatch.setenv("DQ_INTERNAL_LOGS_PIPE", str(pipe))
491
- with pytest.raises(RedactedExportConnectorError) as raised:
492
- runner.main(
493
- tmp_path / "config.json",
494
- tmp_path / "credentials.json",
495
- tmp_path,
496
- failing_store,
497
- tmp_path / "internal",
498
- )
518
+ status = runner.main(
519
+ tmp_path / "config.json",
520
+ tmp_path / "credentials.json",
521
+ tmp_path,
522
+ failing_store,
523
+ tmp_path / "internal",
524
+ )
499
525
  logs = pipe.read_text()
500
526
  error = (tmp_path / "internal" / runner.APPLICATION_ERROR_FILE).read_text()
501
527
  message = "An internal error stopped the connection test"
502
528
  assert (
529
+ status,
503
530
  SECRET_KEY in logs + error,
504
531
  "X-Amz-Signature" in logs,
505
532
  "s3.amazonaws.com/?***" in logs,
506
533
  json.loads(error),
507
- str(raised.value),
534
+ _task_error(tmp_path),
508
535
  ) == (
536
+ 1,
509
537
  False,
510
538
  False,
511
539
  True,
@@ -520,29 +548,20 @@ def test_a_failure_outside_the_action_fails_the_worker_without_its_message(tmp_p
520
548
  pipe = tmp_path / "pipe.log"
521
549
  pipe.touch()
522
550
  monkeypatch.setenv("DQ_INTERNAL_LOGS_PIPE", str(pipe))
523
- with pytest.raises(RedactedExportConnectorError) as raised:
524
- runner.main(tmp_path / "config.json", tmp_path / "credentials.json", tmp_path)
525
- assert (str(raised.value), raised.value.__cause__, raised.value.__suppress_context__) == (
526
- "INTERNAL_ERROR: An internal error stopped the export worker",
527
- None,
528
- True,
551
+ status = runner.main(
552
+ tmp_path / "config.json", tmp_path / "credentials.json", tmp_path, internal_dir=tmp_path / "internal"
529
553
  )
554
+ assert (
555
+ status,
556
+ _task_error(tmp_path),
557
+ "pydantic_core._pydantic_core.ValidationError: 1 validation error for ExportWorkerConfig" in pipe.read_text(),
558
+ ) == (1, "INTERNAL_ERROR: An internal error stopped the export worker", True)
530
559
 
531
560
 
532
- @pytest.mark.parametrize("include_container_logs_on_error", [True, False])
533
- def test_a_failed_run_fails_its_task_with_its_code_and_redacted_message(
534
- tmp_path, monkeypatch, include_container_logs_on_error
535
- ):
561
+ def test_a_failed_run_writes_its_code_and_redacted_message_as_the_tasks_error(tmp_path, monkeypatch):
536
562
  def denied(*_):
537
563
  raise ExportConnectorError(ErrorCode.ACCESS_DENIED, f"Denied with {SECRET_KEY}", f"Provider saw {SECRET_KEY}")
538
564
 
539
565
  monkeypatch.setattr(export, "upload", denied)
540
- safe_error, raw_errors = tmp_path / "safe_error", tmp_path / "raw_errors"
541
- with CatchSafeErrorContext(
542
- not include_container_logs_on_error, str(safe_error), False, [], raw_errors_file=str(raw_errors)
543
- ):
544
- _main(tmp_path, _config(EXPORT, [("segA", "seg_a")]), {"segA": b"x"}, MemoryStore(), monkeypatch)
545
- assert (safe_error.read_text().splitlines()[-1], SECRET_KEY in safe_error.read_text() + raw_errors.read_text()) == (
546
- "dq_export_connector.errors.RedactedExportConnectorError: ACCESS_DENIED: Denied with ***",
547
- False,
548
- )
566
+ failed = _run(tmp_path, _config(EXPORT, [("segA", "seg_a")]), {"segA": b"x"}, MemoryStore(), monkeypatch)
567
+ assert (failed, _task_error(tmp_path)) == (True, "ACCESS_DENIED: Denied with ***")
@@ -95,28 +95,9 @@ wheels = [
95
95
  { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
96
96
  ]
97
97
 
98
- [[package]]
99
- name = "decentriq-util"
100
- version = "0.1.2"
101
- source = { directory = "../decentriq_util" }
102
- dependencies = [
103
- { name = "pandas" },
104
- { name = "protobuf" },
105
- { name = "psutil" },
106
- { name = "pyspark" },
107
- ]
108
-
109
- [package.metadata]
110
- requires-dist = [
111
- { name = "pandas", specifier = ">=1.4.4" },
112
- { name = "protobuf", specifier = ">=4.21,<8" },
113
- { name = "psutil", specifier = ">=5.9.6,<8" },
114
- { name = "pyspark", specifier = ">=3.4,<4.2" },
115
- ]
116
-
117
98
  [[package]]
118
99
  name = "dq-export-connector"
119
- version = "0.1.0.dev31"
100
+ version = "0.1.0.dev33"
120
101
  source = { editable = "." }
121
102
  dependencies = [
122
103
  { name = "pydantic" },
@@ -129,7 +110,6 @@ bucket = [
129
110
 
130
111
  [package.dev-dependencies]
131
112
  dev = [
132
- { name = "decentriq-util" },
133
113
  { name = "dq-export-connector", extra = ["bucket"] },
134
114
  { name = "mypy" },
135
115
  { name = "pytest" },
@@ -144,7 +124,6 @@ provides-extras = ["bucket"]
144
124
 
145
125
  [package.metadata.requires-dev]
146
126
  dev = [
147
- { name = "decentriq-util", directory = "../decentriq_util" },
148
127
  { name = "dq-export-connector", extras = ["bucket"] },
149
128
  { name = "mypy", specifier = ">=1.13" },
150
129
  { name = "pytest", specifier = ">=8.3" },
@@ -323,79 +302,6 @@ wheels = [
323
302
  { url = "https://files.pythonhosted.org/packages/b5/99/7b1adac7e97ce7bbda34792dc6e9b2f5cc5cffd1875883f78a818b2a2687/mypy_extensions-1.2.0-py3-none-any.whl", hash = "sha256:993e7a20aa5671eb41a7132cf555af30062da99729601601b9a8382b11cae768", size = 5114, upload-time = "2026-11-03T16:26:32.731Z" },
324
303
  ]
325
304
 
326
- [[package]]
327
- name = "numpy"
328
- version = "2.5.5"
329
- source = { registry = "https://pypi.org/simple" }
330
- sdist = { url = "https://files.pythonhosted.org/packages/4e/3a/8770c288c47f0b5c2a786d3c20e79f66fd245f2d42cd232d7cd5e00e83e5/numpy-2.5.5.tar.gz", hash = "sha256:5cddc243c75114ba845f01b1f87aca1572dbf7b6c2d88636ed3e1d2bccd7f1bf", size = 20873892, upload-time = "2026-11-15T21:32:28.607Z" }
331
- wheels = [
332
- { url = "https://files.pythonhosted.org/packages/20/74/5b99f425938870958d43dc9f7b17c684e793ce47ec46b7885cdc7acea285/numpy-2.5.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7da9a248f149cfbb220c6da964a59c8d051d516704f7758acfb81eb382a05d97", size = 14750374, upload-time = "2026-11-15T21:30:10.113Z" },
333
- { url = "https://files.pythonhosted.org/packages/5c/f4/06db317e93dd6d618786004c1761214b113832bb77294c8513776956702a/numpy-2.5.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b96e9ee49ccbdb5676359f852a4497f7a9c5df6c377d8877f5330d6fd3ff42e4", size = 10749920, upload-time = "2026-11-15T21:30:13.092Z" },
334
- { url = "https://files.pythonhosted.org/packages/8a/92/6de34324a266b73c04ba977db5864b9016500076b26f09078a565f527d34/numpy-2.5.5-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:a3856a97e48ed8371c680fb04120b99fbcc29f2076ebe6dc3deb34f77947c5ca", size = 5513680, upload-time = "2026-11-15T21:30:15.201Z" },
335
- { url = "https://files.pythonhosted.org/packages/1e/a1/6563b74cd67e3873f9897afebb3244529b1494d4c0df30f3201329a7e316/numpy-2.5.5-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:f5e8603f0892d1b848e12124863b5b29af72383ee9b25ddc6fe4967d4c1ee6ef", size = 6797540, upload-time = "2026-11-15T21:30:17.172Z" },
336
- { url = "https://files.pythonhosted.org/packages/c2/22/82184e9a5b50a4a298e9f8fe0bd8cfc483672dbfea8a3b57c78e2376b139/numpy-2.5.5-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a0750f2156d53446caca85663d0b65d67214e1664b9050454a731ea1418d176a", size = 15284117, upload-time = "2026-11-15T21:30:19.167Z" },
337
- { url = "https://files.pythonhosted.org/packages/99/61/522b973ba38987b22a4a71beaed2ea6ac9fd4f687baaa2bc9a45100625e0/numpy-2.5.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:704d819265e5d1064d932968e9ee85fff2103ccc78c05b878c06943ba27b8507", size = 15720599, upload-time = "2026-11-15T21:30:21.273Z" },
338
- { url = "https://files.pythonhosted.org/packages/25/cd/182cf60bd9c34e617c516f138f2f68988760062fa65fca8fcc97875cf7cf/numpy-2.5.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:86868185bf4b6c4e5a8628ac42cfa165cd9530266c731f7dd1d11b4ad7e7cd1c", size = 16503566, upload-time = "2026-11-15T21:30:24.023Z" },
339
- { url = "https://files.pythonhosted.org/packages/f3/57/4fa4723e80be805f68af552731ed483974b2a11e511284a9ef6aafbcb3cf/numpy-2.5.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7fb87c4bcc73850ef433a0c42f096b010d3d3d284e9d00028bb030b43df3d078", size = 17082560, upload-time = "2026-11-15T21:30:26.224Z" },
340
- { url = "https://files.pythonhosted.org/packages/d5/0b/73d2bd5be85d3178a862e8354e2d6441b4040fadf1e7d999e01b0bdfa5c6/numpy-2.5.5-cp312-cp312-win32.whl", hash = "sha256:263b2aa236d752b18f90c5107137d24b2e3856d7db37725609f0ab5bcdb58881", size = 6146378, upload-time = "2026-11-15T21:30:28.328Z" },
341
- { url = "https://files.pythonhosted.org/packages/d1/71/b1ce51834c21020d189332979d38ba7350eb6cd7ca8c8ec424a663b0ca6f/numpy-2.5.5-cp312-cp312-win_amd64.whl", hash = "sha256:919eb420662b0b4ba34889df503f3d5329775b0c1d5f7e5f5af4fba8315b1e30", size = 12580189, upload-time = "2026-11-15T21:30:30.025Z" },
342
- { url = "https://files.pythonhosted.org/packages/c2/5e/09ae9d0d02fbfe6b160043349bbe73e6bbbbfb2565bb46146dd943687271/numpy-2.5.5-cp312-cp312-win_arm64.whl", hash = "sha256:f6622e32cb46c60bee3b2c7dd7f5c22bdc86fcb8630336b4822ec81c3986111a", size = 10535386, upload-time = "2026-11-15T21:30:32.112Z" },
343
- { url = "https://files.pythonhosted.org/packages/0f/fa/4ae71d860267f2f9eaf7640516f693acf61c9575d48157cdea459c0215aa/numpy-2.5.5-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:228e3d90e967495d61ddc79dd64e95267aae3bcf1b1c516a6186429106a0b444", size = 14747053, upload-time = "2026-11-15T21:30:34.251Z" },
344
- { url = "https://files.pythonhosted.org/packages/d4/9a/01a332ebb0899ddb14d782f86ed66d080463e5387a8778029462d1902019/numpy-2.5.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7e71ac4284c700afa654e2d15b1b174166710dca932f24045e5dc92001b5bda0", size = 10744599, upload-time = "2026-11-15T21:30:36.23Z" },
345
- { url = "https://files.pythonhosted.org/packages/03/bd/a1a721ab8da5632c811caf56b7735646a440eddbbf6e57817ae1a900c9c9/numpy-2.5.5-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:e0cf407a83118faf0463ade48a4533982f1737c7c58aac29e08855f7d9ad2977", size = 5508218, upload-time = "2026-11-15T21:30:38.357Z" },
346
- { url = "https://files.pythonhosted.org/packages/9c/63/eb5311935b313926d9127ec59632cc74bdf1fa815089fba4dbee9c6dd90c/numpy-2.5.5-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:ac910558645a4b006f70596b450712b8564730c1b2ac10291fcedd656d321ec0", size = 6794377, upload-time = "2026-11-15T21:30:40.026Z" },
347
- { url = "https://files.pythonhosted.org/packages/57/06/de83b859944409bb9058bc6110581a3d7fc1f54d6df1222744911d7f6b19/numpy-2.5.5-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ae2b8285d0b4eed24739c3ca9ec0fa424a0247489c01e1d5fe2815a599e11d33", size = 15278148, upload-time = "2026-11-15T21:30:41.819Z" },
348
- { url = "https://files.pythonhosted.org/packages/40/d6/68dd5a83914bbcaf32b3165993f7955979916708cb0156d1e28231e18803/numpy-2.5.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:824025655df929268bfe6b47ed91a00d14209a6f760847cf150be446829e1ce4", size = 15713899, upload-time = "2026-11-15T21:30:44.066Z" },
349
- { url = "https://files.pythonhosted.org/packages/1f/6e/a78932a1a838ce0d7d759cee2aca225054da8aa4151688edb5867b4af491/numpy-2.5.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4302902ebf82d37f446664757be59db53587822c8b35f16368ca69fe66ec4315", size = 16501259, upload-time = "2026-11-15T21:30:46.469Z" },
350
- { url = "https://files.pythonhosted.org/packages/bc/08/f4da0ebfa6b684c18f1c300b279bd706f68f3828a2c9aaa1bca54c93a16f/numpy-2.5.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:3cedc2980b45794a6a2cfee9c8c3a80f04517082cc1d387e4cc895506c481696", size = 17077101, upload-time = "2026-11-15T21:30:48.916Z" },
351
- { url = "https://files.pythonhosted.org/packages/1b/81/0ccf314229450ec76363f3f6ec13d0ef54a24c53188787fc13136d6e52e6/numpy-2.5.5-cp313-cp313-win32.whl", hash = "sha256:10396f7c5ebc37d8f3cbdec44e3313912ccc2dc5841cc905de5de54ebbe8e2d3", size = 6141929, upload-time = "2026-11-15T21:30:51.528Z" },
352
- { url = "https://files.pythonhosted.org/packages/45/74/bb9161943fb65caf24e4bb04c788f5c7815e6cb78ac595e7f46781033c82/numpy-2.5.5-cp313-cp313-win_amd64.whl", hash = "sha256:e0608d1585557b68dcb6a70a41654f7536567960afad79d91752d2863b242b68", size = 12573354, upload-time = "2026-11-15T21:30:53.308Z" },
353
- { url = "https://files.pythonhosted.org/packages/ac/b0/792631d03588912e948c1249c03a78ca9af0c548670f8fd63ea014cbc14a/numpy-2.5.5-cp313-cp313-win_arm64.whl", hash = "sha256:e0b87886bb45621d9279dad4ab9f2d154b5db0b019d378c107b8f71527b06a4a", size = 10528296, upload-time = "2026-11-15T21:30:55.681Z" },
354
- { url = "https://files.pythonhosted.org/packages/6a/9a/f1493d897f51947644c45516ba63a67e66a7b06692f930fe37c58346cfbd/numpy-2.5.5-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:ab3ff087826c49d07953d0219eb00663ce5b1a0ef0a6b757e1ac041b09387428", size = 14754557, upload-time = "2026-11-15T21:30:58.008Z" },
355
- { url = "https://files.pythonhosted.org/packages/18/46/5d1c70b54257a56b3137d6fcc90c6db306f6177c02951eac7ebb42e7e1c7/numpy-2.5.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:7ca51125c76817de53473dae31ddc17213776472761bea9cca68a1a0037a4827", size = 10754769, upload-time = "2026-11-15T21:31:00.146Z" },
356
- { url = "https://files.pythonhosted.org/packages/4c/e1/016c3d9c9c6e5a457d615cfbcf6bcd01a4cabde82c639776be23365186c1/numpy-2.5.5-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:229743571f901a082f031f511dc4f926b4b4a714075d98b1ff2af62d836365ac", size = 5518338, upload-time = "2026-11-15T21:31:02.38Z" },
357
- { url = "https://files.pythonhosted.org/packages/12/7f/f2369b42edb1a32a7f048c2126e6ab5b8bc527308ce9eb6e680ad9c3d2e7/numpy-2.5.5-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:1c24be6a82f5f257afc4dbefde4c3b56dee02146dfed2be2811940e79576b237", size = 6800110, upload-time = "2026-11-15T21:31:04.211Z" },
358
- { url = "https://files.pythonhosted.org/packages/26/5b/5cd4b88a64bb57ca6d3bd6a9e057db445544a2179a2ebf985660e0454648/numpy-2.5.5-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cc6eb7502facce90349b4097a26821af224aaa0ab36e78304711cdb544352882", size = 15300777, upload-time = "2026-11-15T21:31:05.967Z" },
359
- { url = "https://files.pythonhosted.org/packages/a4/1f/fcdce1061fba2bfb2e9bfda01fbd8132d5f7522a4f7c8e2b2f629d54ee38/numpy-2.5.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c48960d420e90cf305cb1fde0d4e6082cc90512cda87a9acf0b6e04e91cf4abe", size = 15718051, upload-time = "2026-11-15T21:31:08.12Z" },
360
- { url = "https://files.pythonhosted.org/packages/5c/bd/9b7de1d0b747e3d1d24874b1cba374c8b0eab6c2034b785387677ecc4dba/numpy-2.5.5-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:5e202d5facc9c0681834018062466d0b3eabd48c540c3570f72905c97f641a90", size = 16518123, upload-time = "2026-11-15T21:31:10.714Z" },
361
- { url = "https://files.pythonhosted.org/packages/66/14/60c3fc30e63876e44212392eacd4ea1bd201c29835c99f42daa04c2501e4/numpy-2.5.5-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:e10e81d1db6c8fa507f61bebfd1ea383971dbc40c2005ed4db88fac5538b1ef6", size = 17079719, upload-time = "2026-11-15T21:31:13.245Z" },
362
- { url = "https://files.pythonhosted.org/packages/ac/b9/c0d3a63804a58823155ae221ce48afa4530e0cab8a33fcfb76a7b46b11ef/numpy-2.5.5-cp314-cp314-win32.whl", hash = "sha256:ef2a874cc70e2132c1c499268bdc34e211a715e481bc33c97b8a0190f2559295", size = 6193548, upload-time = "2026-11-15T21:31:15.602Z" },
363
- { url = "https://files.pythonhosted.org/packages/74/e2/494516771374b43060c1b778b371cba53d576abd3aee1275eecd73896e3b/numpy-2.5.5-cp314-cp314-win_amd64.whl", hash = "sha256:20145b11776d2f7570cd61351b156a51d3a341822282095baa819d87272bc710", size = 12710543, upload-time = "2026-11-15T21:31:17.461Z" },
364
- { url = "https://files.pythonhosted.org/packages/1b/e7/abe56b23f4dddf8277429d0efa442abac4c1940ec776c1b707c1e58435e8/numpy-2.5.5-cp314-cp314-win_arm64.whl", hash = "sha256:2abd39cfbb3d2af11e9bc8cc92b08cd089b0975fe9b1a30c8b7c740c67d397ce", size = 10812026, upload-time = "2026-11-15T21:31:19.692Z" },
365
- { url = "https://files.pythonhosted.org/packages/06/76/2974340b984ecd43bb4ee91c06a3fd59968330752c316d36fb8a23310ac1/numpy-2.5.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f82a7567c590ff266f8c18fd527a0662edde074de11be256541a656e274f2b05", size = 10857031, upload-time = "2026-11-15T21:31:21.953Z" },
366
- { url = "https://files.pythonhosted.org/packages/38/d2/cc6d1f0f4c848f18e30d0f464a70598369336591920952f6aee440da4a2f/numpy-2.5.5-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:31e5be6cd4b896004cb9e416741612ade530fc9a04bceca5219cf66a675113b4", size = 5620763, upload-time = "2026-11-15T21:31:24.1Z" },
367
- { url = "https://files.pythonhosted.org/packages/c7/d0/2d014e5b68965530ebe46c0d2b07b1242210a029acba5800f53fcb4d4973/numpy-2.5.5-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:b3d328eebe0056c634878c251131d73d74e0c4af317a3aea718816d6fa0bb963", size = 6897520, upload-time = "2026-11-15T21:31:25.976Z" },
368
- { url = "https://files.pythonhosted.org/packages/b1/ee/a0fb000c6a57602a7a2958f72a5d07837dd88cb9a158f1edb0a279126428/numpy-2.5.5-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e99bf8a3d54693f2063fa6c7d13955d460a9f543d9dbc80e69a92da288259b28", size = 15342131, upload-time = "2026-11-15T21:31:27.707Z" },
369
- { url = "https://files.pythonhosted.org/packages/93/43/85cfae380e4e2fe1d246c39a12c88c7a224e751604b6fa13236df3b86600/numpy-2.5.5-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:479e43c183049ec1a820eeb36549e493924f56b3e893a1d5865d0fff12abad47", size = 15751077, upload-time = "2026-11-15T21:31:29.851Z" },
370
- { url = "https://files.pythonhosted.org/packages/cd/41/5938f05404d2f4531409b658cfd578b0b653a87f22915759afa7f414b4f3/numpy-2.5.5-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:9f44875964889bd9088cf838d191b58c04088d10b4dc9b140e9da2431ecfbb60", size = 16569544, upload-time = "2026-11-15T21:31:32.017Z" },
371
- { url = "https://files.pythonhosted.org/packages/a0/b1/75f51d9e2fb970228bd7599d46f34eb0829070b4df8b293c43fdf1c81c44/numpy-2.5.5-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:2a9c502cdb9a3050ac1686774624cc278658b11f72e11b971a3a8542d6ded357", size = 17122494, upload-time = "2026-11-15T21:31:34.267Z" },
372
- { url = "https://files.pythonhosted.org/packages/71/1b/68f54066eb445a98e7c677863d1ece9667151f8d8565eea5860d8445fb72/numpy-2.5.5-cp314-cp314t-win32.whl", hash = "sha256:dec156cda7322bcb1479ca992794705fe226a911b0ffebe13bff97fa1f3be63c", size = 6350011, upload-time = "2026-11-15T21:31:36.491Z" },
373
- { url = "https://files.pythonhosted.org/packages/58/29/c57eca063b680b23c0ca8d07789b3011a9e962fd4994a656b11f7a21226e/numpy-2.5.5-cp314-cp314t-win_amd64.whl", hash = "sha256:84dfb1611993a3525b250c955b1e2ebab6ce0ed36e4ab4dd5746432dd362fb5d", size = 12909875, upload-time = "2026-11-15T21:31:38.311Z" },
374
- { url = "https://files.pythonhosted.org/packages/72/06/70b2717589eb8ba57bce789c0f1e477fc5869c720fa0ad444e31fb9aef55/numpy-2.5.5-cp314-cp314t-win_arm64.whl", hash = "sha256:567994389edd2963b643d63d826138402a63401176f1daf84dbb3204eb838b39", size = 10899621, upload-time = "2026-11-15T21:31:40.518Z" },
375
- { url = "https://files.pythonhosted.org/packages/9c/61/8578c9fdbfb59ba2c4ee633102666937ce4e66f8c3de8bc700573c856af5/numpy-2.5.5-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:ad0c8b963f9281f2eb118e283eb61964c716c8e344ed8e8c309b49c586d41ed1", size = 14752489, upload-time = "2026-11-15T21:31:42.902Z" },
376
- { url = "https://files.pythonhosted.org/packages/a7/ef/d0f38ea7ca697c03af3d687cb70d8ddc8414dcf430f8f7194ab7359d80f6/numpy-2.5.5-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:d7d9be35d50366fe5ac28188364154c9e1e22ad1b977a06c9465c0680c8eeefe", size = 10753050, upload-time = "2026-11-15T21:31:45.123Z" },
377
- { url = "https://files.pythonhosted.org/packages/84/b7/de9e6d1ffbc33cc7bcf452c7924a7953daaf06bde559b73ebef93b7f85c6/numpy-2.5.5-cp315-cp315-macosx_14_0_arm64.whl", hash = "sha256:d0c7c0dfabdcb7cde080b7c9ef301c7533e90110198b39965141a903c7dddcf8", size = 5516639, upload-time = "2026-11-15T21:31:47.537Z" },
378
- { url = "https://files.pythonhosted.org/packages/ac/ac/a95824882c5818a7e31893ebdab2944f5e65b4108bc8bed9e240e3c624be/numpy-2.5.5-cp315-cp315-macosx_14_0_x86_64.whl", hash = "sha256:b7dd0287b6cdd35a27d5678a56b1bc508ff206c2b78b30b4821dd5c3197b393a", size = 6797936, upload-time = "2026-11-15T21:31:49.2Z" },
379
- { url = "https://files.pythonhosted.org/packages/08/64/c39a7b41df0d433ff37fd4fdd6e32b3fa3b51a82110bbcd386d0e37f5da6/numpy-2.5.5-cp315-cp315-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a207eb88a18e30add597c366c1db7e79f48fc94084b8e7dbd0eefb95a645db12", size = 15294336, upload-time = "2026-11-15T21:31:50.908Z" },
380
- { url = "https://files.pythonhosted.org/packages/d0/ce/ef0ca1a7dbf657a68ec52ce150cc477a7cdd8d09c7ef77662cdecbca39e4/numpy-2.5.5-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9c3e1ac3cd5d3329f4d38709ff4c21f0621bbe8779c094d6de8ec8347246fcdc", size = 15713633, upload-time = "2026-11-15T21:31:53.261Z" },
381
- { url = "https://files.pythonhosted.org/packages/dd/08/023029d269a7adec40749ef98439af4260ee92bc203d8a7749cc4eee8183/numpy-2.5.5-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:095113ee2ceab6a9501b184eff5ea806973d3a63d74a8cbc15e4911e754da9c1", size = 16510376, upload-time = "2026-11-15T21:31:55.401Z" },
382
- { url = "https://files.pythonhosted.org/packages/9f/0b/38e65a5ff61b174df3a930898a3b31e94b24caaf4155c719d18417ad63b1/numpy-2.5.5-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:bea7de36bb304a850710c1dfbb35e7cdb9a005928106a3adfc6dc3a753469dec", size = 17078342, upload-time = "2026-11-15T21:31:57.714Z" },
383
- { url = "https://files.pythonhosted.org/packages/4d/3e/09a62f920e5869888387ba988eeba560057c1f718404cc737e5dbc07e81e/numpy-2.5.5-cp315-cp315-win32.whl", hash = "sha256:fd47c92e0d1e53f9498b1a30305072434fbae6b5a305cbcab514f959e9ce0fab", size = 6192918, upload-time = "2026-11-15T21:31:59.798Z" },
384
- { url = "https://files.pythonhosted.org/packages/5a/7e/a4c5b4b30dbab285b380130dbf780bccece06de020221491058ea2c66310/numpy-2.5.5-cp315-cp315-win_amd64.whl", hash = "sha256:ae9cfe4e985139c5f2db69d4310de7348bd0abc02cfdc06991c4419065f6fdca", size = 12710024, upload-time = "2026-11-15T21:32:01.352Z" },
385
- { url = "https://files.pythonhosted.org/packages/7d/57/bdec7de41e7442b9ea0ac938b7597f754d4d625d853551466e8a208e3e64/numpy-2.5.5-cp315-cp315-win_arm64.whl", hash = "sha256:08f1b9abf1707fa89c125aaa17e78389c063fb20ce37a141b47821e996f4a1db", size = 10814707, upload-time = "2026-11-15T21:32:03.326Z" },
386
- { url = "https://files.pythonhosted.org/packages/f0/e9/7f20d2144d4fbe2876d567a1ae1266cb62a67498af7d3006e2a0ba93deed/numpy-2.5.5-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:3d59ab8f6bfc4ffd29b0f558450e17922c1bc88459882e37726fbcd5834afbfd", size = 14845589, upload-time = "2026-11-15T21:32:05.476Z" },
387
- { url = "https://files.pythonhosted.org/packages/66/02/ded297ac4c917f7cf90254a50f888f992c028e2ed9a3efd82349c12d4904/numpy-2.5.5-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:bf6fa5a4d73b3a9699a57b8824d4863acde7241808a5305882222843537f02a2", size = 10851494, upload-time = "2026-11-15T21:32:07.944Z" },
388
- { url = "https://files.pythonhosted.org/packages/c6/ac/1ae013866575827dcec6239ca413b76c05652fa5ac405afd8d904940197c/numpy-2.5.5-cp315-cp315t-macosx_14_0_arm64.whl", hash = "sha256:d64daa409e9b1ac818b0c59e47b005f802e130c8281e40c6a2f7e70c43f75e0f", size = 5615246, upload-time = "2026-11-15T21:32:09.876Z" },
389
- { url = "https://files.pythonhosted.org/packages/f5/e2/2d89896606a325e584157fe669578ac1b22558e4b3e45e0cb554970e5a19/numpy-2.5.5-cp315-cp315t-macosx_14_0_x86_64.whl", hash = "sha256:ff5c1ab54a637c0adcdbb69ad10e5c4f1c4dedba69c0d1de383249b70c36908f", size = 6890873, upload-time = "2026-11-15T21:32:11.545Z" },
390
- { url = "https://files.pythonhosted.org/packages/4f/a0/de0484dbe0665ae69cbf9c2bb777c2fa4f402e03a102384c54fe54048d44/numpy-2.5.5-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:178cb1eaed819b2cb4e398c554b0776d1499f307e30cb58b9bae1921de35dae6", size = 15340077, upload-time = "2026-11-15T21:32:13.223Z" },
391
- { url = "https://files.pythonhosted.org/packages/39/d8/60a70cb61b8063e4dfc5b8b55f93c247cb7f1a36515d810e70ca94446396/numpy-2.5.5-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b6e30929e3443f46aa7be2749fb003fefbbad6b6a1e2168bf8850a55b657914a", size = 15752447, upload-time = "2026-11-15T21:32:15.629Z" },
392
- { url = "https://files.pythonhosted.org/packages/09/14/db7e8f5560a329a118bcea53da883f077bac5f00124799c5ac7e9eb1823e/numpy-2.5.5-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:2efb2ae4e0414b6bd636dde7235c158cd65dd52891ff64a320a4847a8ce7400f", size = 16566475, upload-time = "2026-11-15T21:32:17.974Z" },
393
- { url = "https://files.pythonhosted.org/packages/ec/33/060b8c68e2ed79fe50a20139f7f89fa2d9862f2d3e127fc353d8e6b2589c/numpy-2.5.5-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:32dce94d74bb4d5bb058d65b0d9dad7fa61d07ff9375fd7695d8aa7ea82ee73d", size = 17120613, upload-time = "2026-11-15T21:32:20.094Z" },
394
- { url = "https://files.pythonhosted.org/packages/99/3a/ab02c902cb380d0b950eccda4f0b67ac4f66ba490c98756d38adc4b3ccb5/numpy-2.5.5-cp315-cp315t-win32.whl", hash = "sha256:b5d08742de581c9eb61102768ccca125a2982913de399611b56981a07278de74", size = 6344124, upload-time = "2026-11-15T21:32:22.058Z" },
395
- { url = "https://files.pythonhosted.org/packages/fd/49/b04b1f12231e6fbcf26fd5e7949f629530e11c46a6fcd91923f61b017243/numpy-2.5.5-cp315-cp315t-win_amd64.whl", hash = "sha256:410eab02c6718cb42d06ccbb8604659f3522d2ce06ae70cacd5042092659f5af", size = 12898288, upload-time = "2026-11-15T21:32:23.871Z" },
396
- { url = "https://files.pythonhosted.org/packages/36/7b/935a5896b0bd441c6dd6da81f39bc5ebf8d5da891b7dcff768e1e1c088b5/numpy-2.5.5-cp315-cp315t-win_arm64.whl", hash = "sha256:b6ecbc1ff292c6799067d8064a4dd35cd25ba9d1a24aa41dd635d701691a49b5", size = 10891314, upload-time = "2026-11-15T21:32:26.357Z" },
397
- ]
398
-
399
305
  [[package]]
400
306
  name = "obstore"
401
307
  version = "0.11.1"
@@ -442,68 +348,6 @@ wheels = [
442
348
  { url = "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl", hash = "sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c", size = 129956, upload-time = "2026-08-04T18:15:27.159Z" },
443
349
  ]
444
350
 
445
- [[package]]
446
- name = "pandas"
447
- version = "3.1.1"
448
- source = { registry = "https://pypi.org/simple" }
449
- dependencies = [
450
- { name = "numpy" },
451
- { name = "python-dateutil" },
452
- { name = "tzdata", marker = "sys_platform == 'emscripten' or sys_platform == 'win32'" },
453
- ]
454
- sdist = { url = "https://files.pythonhosted.org/packages/17/ca/24c6bc92aca3d366146358e47f1d374c0e1a50763ef226fc71eff20a63fb/pandas-3.1.1.tar.gz", hash = "sha256:05fed3e3b7c99b226f160e29d7d6cb7ef39638c758cbfe42b3f24ba34f04b859", size = 5936163, upload-time = "2026-11-04T15:08:01.994Z" }
455
- wheels = [
456
- { url = "https://files.pythonhosted.org/packages/11/90/a0212e039b49c058e1286f57a9864c23a65d7be05195b8f22a783638fd33/pandas-3.1.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4ac114c27f10b8783a9c3bbf1b08a08494e1fafb17c2a0c8db54e06180874c01", size = 11590674, upload-time = "2026-11-04T15:05:51.818Z" },
457
- { url = "https://files.pythonhosted.org/packages/f8/e2/dbcb8b3639358f49a723cbe7e9e505be378a981b5e5dbc403bca978b368a/pandas-3.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3b10ae67d301ea84d0969388557cf8b90ea7870def14fd743614bde890104163", size = 11173287, upload-time = "2026-11-04T15:05:54.207Z" },
458
- { url = "https://files.pythonhosted.org/packages/e4/f4/ef17ed877969e869a673a6506bb3ebb038b071af434a99e9bb610bb0bd97/pandas-3.1.1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0f628bb9a4681695da1dcc04efef86bc8c67095300d8da928b9886259cb0dada", size = 11494640, upload-time = "2026-11-04T15:05:57.056Z" },
459
- { url = "https://files.pythonhosted.org/packages/0b/b6/f9c0c52f7a2fcd828e336dd143001b0bcbc1276c90187dfa104458528e2e/pandas-3.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:028490c8ac2e03e18c9b08b7f3612e149b03570209bcf741d23833a7a5377ab2", size = 12031410, upload-time = "2026-11-04T15:05:59.531Z" },
460
- { url = "https://files.pythonhosted.org/packages/4a/89/f19b6b9baf210d020e6694462158c3e7c813acf7e4252caf86defeab7a1e/pandas-3.1.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:d15b83c79bafbce2cb7707f609dd0eb7c57545abcd3f93398e9272adee17f81a", size = 12511367, upload-time = "2026-11-04T15:06:02.31Z" },
461
- { url = "https://files.pythonhosted.org/packages/0f/dc/f414405c5971eacf2865125e6869b842b66e5cd2a80bc8b9d78836914ef9/pandas-3.1.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:255fab1fee49783494ec2e8fc5ed27bf896c5e05e9266826d4a9738bfd77d56c", size = 13109983, upload-time = "2026-11-04T15:06:04.653Z" },
462
- { url = "https://files.pythonhosted.org/packages/37/39/46c0cc0c270e084af94f112f958c338c3ef067be38d2cfa34fe7a7c8f110/pandas-3.1.1-cp312-cp312-pyemscripten_2024_0_wasm32.whl", hash = "sha256:6705575b65750e4494b4f9328eed8cb263b4b809984d4eeb8f492a3e804b0c53", size = 8092796, upload-time = "2026-11-04T15:06:07.051Z" },
463
- { url = "https://files.pythonhosted.org/packages/c8/35/54c22df9e6bdb0fa001da2b8855f997addafd9575f14f25c166a8ef96b6e/pandas-3.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:eef35cb3f07dbc8e10e298b8a55ee4aa04d6511f27d5277f13c3df45d3bbef5c", size = 10751076, upload-time = "2026-11-04T15:06:09.397Z" },
464
- { url = "https://files.pythonhosted.org/packages/03/e3/76e8a1131d819c6ef7a9f943f7f4148e0112e02a7a25815143c875aa9a10/pandas-3.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:f13731c5f3c610c4584dd4f80df0f1279c657a0b3eff32205cda5d541f5385cf", size = 10133045, upload-time = "2026-11-04T15:06:11.847Z" },
465
- { url = "https://files.pythonhosted.org/packages/f6/ee/2f6c4419fa2bf476ba2776c0fbae91e8bf6ab15c6b3e038d66da4d7824da/pandas-3.1.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:01bd1d4c5fc999324382d55499cef0f9cc7c1b09d91ae6dabe82f0237e43b3a0", size = 11612513, upload-time = "2026-11-04T15:06:14.21Z" },
466
- { url = "https://files.pythonhosted.org/packages/95/c0/6f818fd16987eba5ad77fcf8ba8a19e9cf19fad7df7f38ed61b933196d97/pandas-3.1.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:269716b079899a92953837d13ed215ef2d36dbf8dd3787faf617f1160a2f5062", size = 11189204, upload-time = "2026-11-04T15:06:17.012Z" },
467
- { url = "https://files.pythonhosted.org/packages/49/f7/5c2c9b7b3e3d08a8bc7f40e4e066d395d388c7b08b3788e6149a32e2f37a/pandas-3.1.1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:57112bab44e336758121435cd01ccebc1e4fca56c28d95d7c03bf2418dedea6a", size = 11426801, upload-time = "2026-11-04T15:06:19.468Z" },
468
- { url = "https://files.pythonhosted.org/packages/79/c2/c8bc972d6dcba13910fc92b622420704a2f655dd6b01ed54269a1bf7c2d2/pandas-3.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:645fa00fd85cfced2d2c09dc116d3694f578501b1ce4899153fbe64788ecda98", size = 11978871, upload-time = "2026-11-04T15:06:21.974Z" },
469
- { url = "https://files.pythonhosted.org/packages/ac/35/69a3466b849afcf4d2b9a491e2e33264a34f5b201d74fcc3194c14c1c672/pandas-3.1.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:aafbba6ea1fb58f4e254823bf390f4efeced3b15ad4d06e86493ee0c22b35e7f", size = 12458201, upload-time = "2026-11-04T15:06:24.573Z" },
470
- { url = "https://files.pythonhosted.org/packages/d2/14/00f118829158f8b77f1f78434d6efafc4d65c16a2cca4f1b80c8a4e3f463/pandas-3.1.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:dedc76bfbba83fe43734ba9229190b4a987f6263ad734726bb28b4ecb93f4bf7", size = 13040280, upload-time = "2026-11-04T15:06:27.522Z" },
471
- { url = "https://files.pythonhosted.org/packages/38/ef/15b6a24451e75f2d48931062f73a5ebbd00d86394d750699dbd8d6b159b6/pandas-3.1.1-cp313-cp313-win_amd64.whl", hash = "sha256:6d84760cc1bd799440a66b4df2ceb7a508870f3b8b4d8dda21befd62779cd3b4", size = 10732758, upload-time = "2026-11-04T15:06:29.957Z" },
472
- { url = "https://files.pythonhosted.org/packages/27/f3/0b64bded0e8003ba54589e03896edffd7aea543949f3d3c654cd10225a92/pandas-3.1.1-cp313-cp313-win_arm64.whl", hash = "sha256:1eb3cca75e64bb1c0aab36e74413ad319f2f102daee222db7019c68e4f30cab5", size = 10119360, upload-time = "2026-11-04T15:06:32.623Z" },
473
- { url = "https://files.pythonhosted.org/packages/29/0f/d9931577227ee434184eaa122b768bbc6fa03f07e181eecadd2ee9efdd95/pandas-3.1.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:a5f29016e40682637b16acb96bd3327120c05d673c4f2d1961481728e6b0a4c4", size = 11676136, upload-time = "2026-11-04T15:06:35.089Z" },
474
- { url = "https://files.pythonhosted.org/packages/0a/da/a1077d57b531ab1123119d4117ddb78b6e039119b2ff7658cc53c6196636/pandas-3.1.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:862f6fbef3f05005d78df13ffd9c44606fdcb76af8748ab14c901f6181bf3789", size = 11268452, upload-time = "2026-11-04T15:06:37.595Z" },
475
- { url = "https://files.pythonhosted.org/packages/e0/13/becef2d3d8544ca4ad1d910414d24df87664566082db3529ffb65e7082ec/pandas-3.1.1-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bf0cf825769b60f9a01a8ff77ed82cfca9ccf2609170814f8f00810f5eaeae71", size = 11547130, upload-time = "2026-11-04T15:06:40.763Z" },
476
- { url = "https://files.pythonhosted.org/packages/23/c3/dcf098d687f1f31c97b9c3869809fa2cdb6598039299167f6dfe0cf0c3a5/pandas-3.1.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:326459d8a9be11b5f48c7fc1d63e38ba7cfeaebe5d41bd19e4c5f4f11dc9ac91", size = 12029794, upload-time = "2026-11-04T15:06:43.68Z" },
477
- { url = "https://files.pythonhosted.org/packages/59/70/0d0f9ebddae0a449af531858674a897d0902c12d95d154a6865bb3e42b68/pandas-3.1.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:9c69786754f997cb401b98328678cfd9c7ac64bd111a27e305b44624fcaad5c2", size = 12576463, upload-time = "2026-11-04T15:06:46.31Z" },
478
- { url = "https://files.pythonhosted.org/packages/f5/ec/94125072c82e75ebd1c5a9fcb0bb0a778d3ac1cbc7f44b93bddacc0bfae0/pandas-3.1.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:8e95649e97b925ac63204075233e395250d38ea4051d0540f32df9e08e557654", size = 13104015, upload-time = "2026-11-04T15:06:49.085Z" },
479
- { url = "https://files.pythonhosted.org/packages/c8/ea/c002d6c9ec0ab90b82eb4ff3d23816dc4e0ccf77821abb11bb78b9d9df1c/pandas-3.1.1-cp314-cp314-win_amd64.whl", hash = "sha256:fdd87cf4d59a3c45f17af6ec965d0bd10b9f15e1b5082d2da11a577439551bcd", size = 10888164, upload-time = "2026-11-04T15:06:52.025Z" },
480
- { url = "https://files.pythonhosted.org/packages/0f/59/c5e10c034421175579e2375bcc43222a8d06d5440b1f5b09c80bf88ddd2d/pandas-3.1.1-cp314-cp314-win_arm64.whl", hash = "sha256:42283f38afc154980f7a9c7964161ecc94de8c1bdebaf42528a18d40b556debd", size = 10287699, upload-time = "2026-11-04T15:06:54.519Z" },
481
- { url = "https://files.pythonhosted.org/packages/aa/e9/70433ed8a4ed227a35c41e68fd7ae0c516b5623eb003dbe13a6cf2138fed/pandas-3.1.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:e3b7740decda762970df4b32edae1450630c77c10c5efb4c73a4437727dc7a5c", size = 12136868, upload-time = "2026-11-04T15:06:57.897Z" },
482
- { url = "https://files.pythonhosted.org/packages/08/d1/03a5eb23b0418c5724fd1659d225503ca0305da5683a080ab7eb089d692e/pandas-3.1.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:cbe426189f238bee1d05a5ebe11919db8302d397e31d61b10ca0f9a19c75f70e", size = 11735549, upload-time = "2026-11-04T15:07:00.623Z" },
483
- { url = "https://files.pythonhosted.org/packages/e9/43/c93e7487f34001aaaee1fdc9e20e3bc24adc017c72bd4e67503ec9c45799/pandas-3.1.1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:55eb3ed76e7f707786468c1cbf7bdf26f4cbed077487f09f0af474a302b9b079", size = 11414807, upload-time = "2026-11-04T15:07:03.377Z" },
484
- { url = "https://files.pythonhosted.org/packages/bf/c3/05a7b023e31c22137f3807a044c21da7255f5e233b32199842fb580a72c3/pandas-3.1.1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:211aabaf3f6aec76d87c69522a3e7b26f9e33cb9dc2336359a92b209de582899", size = 11869658, upload-time = "2026-11-04T15:07:05.963Z" },
485
- { url = "https://files.pythonhosted.org/packages/5c/b3/3cb6e73af148937766b7a68c93512707560058d817cc77f5931ce2995e0c/pandas-3.1.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:34e62b61a1e16e125239300f3503f54c4419eabe7df8a364f88cbda2ee289201", size = 12429463, upload-time = "2026-11-04T15:07:08.495Z" },
486
- { url = "https://files.pythonhosted.org/packages/f0/36/890746861b103d9da38b8b01317ad215f1495fe9bc2c7611f27d93917c46/pandas-3.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:42160e7f78b8a74df8c00e4f3a6010a47bba567fc514dc5029b5a722c2f37ef5", size = 12951459, upload-time = "2026-11-04T15:07:11.194Z" },
487
- { url = "https://files.pythonhosted.org/packages/70/b6/b3e0c6308d5ab92aa6a0c7f96020e8244bd77d87659343366c2c0e0ab84d/pandas-3.1.1-cp314-cp314t-win_amd64.whl", hash = "sha256:78978d0bf2fdb23f2eab1791abd685f03eb580f9247ab1583be8b74e4e270dbb", size = 11303679, upload-time = "2026-11-04T15:07:13.937Z" },
488
- { url = "https://files.pythonhosted.org/packages/7a/b3/2906768f0a40eccd37610b8bd6a4abd6938a89f01939bb2e22855085c4bb/pandas-3.1.1-cp314-cp314t-win_arm64.whl", hash = "sha256:f6c63d287fc2eddf698ebd3bd82089aba2dd4f520f6e4f341d28e125644a6137", size = 10634727, upload-time = "2026-11-04T15:07:16.571Z" },
489
- { url = "https://files.pythonhosted.org/packages/53/f9/ec5d115b70790acbe1623d72c0d0e50210efa415c27e3bfeb2f3d6067690/pandas-3.1.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:b80ff163f9d8af866c102976ef727e10a93b1ff04134eb356d3547bd42392857", size = 11668344, upload-time = "2026-11-04T15:07:19.401Z" },
490
- { url = "https://files.pythonhosted.org/packages/fd/63/084626245db789e30c816c19919c9f1fe69772effe86b24a2e8153632de2/pandas-3.1.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:1e13eb2650f438ee4acda9c50ab7692ea2bc2c5fd5959d1284c83bc7eb287e5e", size = 11260058, upload-time = "2026-11-04T15:07:22.095Z" },
491
- { url = "https://files.pythonhosted.org/packages/5c/9b/bdb3cbf0c4a8155f4f221752af2b8ea7fdd28d1f66f29c61f79eb57c7d02/pandas-3.1.1-cp315-cp315-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b71ab4607da4c1665f3db3bba62dfe7222f66a0ca353de0e2d9d934480dc19bf", size = 11541410, upload-time = "2026-11-04T15:07:24.74Z" },
492
- { url = "https://files.pythonhosted.org/packages/ff/c1/85fbd576bfe7096260f4e2bd6883485a8e23a3783284712bed679c886731/pandas-3.1.1-cp315-cp315-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2b6f34c1fd341128317fd880aee0365020fd14be573c375fb4c72e63567c6ba4", size = 12028228, upload-time = "2026-11-04T15:07:27.541Z" },
493
- { url = "https://files.pythonhosted.org/packages/4f/ae/fcdb22a703b614d524ec7d002fb0631f5c44baae2d195a40f574d10a7aa0/pandas-3.1.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:8603f29efe58c21729e57d2feb3e86f4c19378242e1e2aeece5f8c3807c421c6", size = 12564972, upload-time = "2026-11-04T15:07:30.486Z" },
494
- { url = "https://files.pythonhosted.org/packages/ad/6b/707e906369750d8b785ff188d93a897bf3bbd60db3617074d548054ceed0/pandas-3.1.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:9c6737e125607799df55584c682ff05db4ae4db09180e300448781b7e4448bca", size = 13097497, upload-time = "2026-11-04T15:07:33.198Z" },
495
- { url = "https://files.pythonhosted.org/packages/1d/fc/13d84a0b63f6e1c1374d3b455e5f54fae8a4ba69b873829d72c84de96ec4/pandas-3.1.1-cp315-cp315-win_amd64.whl", hash = "sha256:07998b563a4e1ff2d6062ead5a7b145bb7f70096bbd428b7dc556672970ff0ed", size = 10880612, upload-time = "2026-11-04T15:07:36.083Z" },
496
- { url = "https://files.pythonhosted.org/packages/e3/df/eb01eb04fc58681afbfeeb51179d03c1ef14544e5257e107cb3312b9a98a/pandas-3.1.1-cp315-cp315-win_arm64.whl", hash = "sha256:1983c990935a389b0d0d84f278a60ddfe5fcc5a9dc8a10e11a1e26b5d1220552", size = 10280721, upload-time = "2026-11-04T15:07:38.417Z" },
497
- { url = "https://files.pythonhosted.org/packages/75/8b/74ec73f8cca62692835d16ee80648d937cdf204427bf5b1a57fca991ea30/pandas-3.1.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:77c2f479cfd0bc76a6c2aeee74d5d8814864ebbee9d351dc5e3a1864e95edbc0", size = 12111709, upload-time = "2026-11-04T15:07:40.919Z" },
498
- { url = "https://files.pythonhosted.org/packages/66/35/5a21b5ae27f8dac664938ba41ca506db46988df8fc98c6f3f27534bff431/pandas-3.1.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:560614c776ea303182708c5ad6ad7e5350645b90ca96f9b955773453622885e0", size = 11710870, upload-time = "2026-11-04T15:07:43.715Z" },
499
- { url = "https://files.pythonhosted.org/packages/db/e7/47cbfb78ff93f5fb5dfe8d930059749f7e1df0d40d12ee7d30c9006e4c89/pandas-3.1.1-cp315-cp315t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:408067fdb3fcc794836bbcb320d4f15d546f39638156e00b5a2dd6616ee0f388", size = 11382425, upload-time = "2026-11-04T15:07:46.479Z" },
500
- { url = "https://files.pythonhosted.org/packages/ec/10/a6e8b8f7b76b144857fe3c1c8afabcfb261c682e43b8d39c15d1dcdb46a5/pandas-3.1.1-cp315-cp315t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b826e9052502570cd4449aeb0209bcc01e4c25baf774678ddeca225a92302359", size = 11854999, upload-time = "2026-11-04T15:07:49.158Z" },
501
- { url = "https://files.pythonhosted.org/packages/52/73/e48611971651d165154595ce4008090863293ed6e5d8b6068881d672757e/pandas-3.1.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:198a8ee3276344a99bb2b05e0a92380b1d5f51469a193b8dcac7cfd1b34af23e", size = 12395695, upload-time = "2026-11-04T15:07:52.134Z" },
502
- { url = "https://files.pythonhosted.org/packages/4b/1a/01d622913e6a65d447eb9a42d1ed71d2a50c4244de24091128aaab023875/pandas-3.1.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:daf86c882e376ae2a8a459b2f769258d2b6d75e09f6327440cf6eb8d425c5ceb", size = 12913291, upload-time = "2026-11-04T15:07:54.651Z" },
503
- { url = "https://files.pythonhosted.org/packages/69/73/76b46776b10c6ff7c2037e3748eeb713df8391a34b7768efa81a08c2a77a/pandas-3.1.1-cp315-cp315t-win_amd64.whl", hash = "sha256:f89fb8e88cc5791995cc076c526eac605adc157b6ac6cc619a33ddd0b8bf5871", size = 11273592, upload-time = "2026-11-04T15:07:57.141Z" },
504
- { url = "https://files.pythonhosted.org/packages/08/ab/cce173d73200410f06306a89dbbb5f2125bd64f66ca5eff393d53d813288/pandas-3.1.1-cp315-cp315t-win_arm64.whl", hash = "sha256:4e6f9a3036fc6a40c5ba00efe4092a45844212bdb6a63eda4ad5a5a4c8da45eb", size = 10604158, upload-time = "2026-11-04T15:07:59.733Z" },
505
- ]
506
-
507
351
  [[package]]
508
352
  name = "pathspec"
509
353
  version = "1.1.1"
@@ -522,58 +366,6 @@ wheels = [
522
366
  { url = "https://files.pythonhosted.org/packages/40/9e/2b38731e0fc536806f16490e1a12d7f0dc2a1235aa8cc07bcc75416a7daa/pluggy-1.7.0-py3-none-any.whl", hash = "sha256:7dd7b0d8832ba3cb632c306926ded123429211b83641b35dc5c41ad2d34f9bec", size = 27082, upload-time = "2026-10-15T09:50:56.808Z" },
523
367
  ]
524
368
 
525
- [[package]]
526
- name = "protobuf"
527
- version = "7.36.2"
528
- source = { registry = "https://pypi.org/simple" }
529
- sdist = { url = "https://files.pythonhosted.org/packages/d9/89/5b8517baa72f84a67b8a307ba953c91057af618bf40bf676f3c03551f8f0/protobuf-7.36.2.tar.gz", hash = "sha256:497d0463ff3316681da6c0b9e8d06cb465d61abce00b613ab42226175644d1bb", size = 512737, upload-time = "2026-09-17T20:07:59.326Z" }
530
- wheels = [
531
- { url = "https://files.pythonhosted.org/packages/32/72/98342feb672507c8f3a69e34b4fa8961f608edba5c1a48a6f47156d92cb5/protobuf-7.36.2-cp310-abi3-macosx_10_9_universal2.whl", hash = "sha256:cbc70b17ee27e28894c7fee8bb04be1abead49e936bc70eb60052531eee2079e", size = 456039, upload-time = "2026-09-17T20:07:51.542Z" },
532
- { url = "https://files.pythonhosted.org/packages/b6/ea/91fdf7c2b8bbd49cde056f00a9df6773532987e1c00fe2830b895af95c7e/protobuf-7.36.2-cp310-abi3-manylinux2014_aarch64.whl", hash = "sha256:e11e1f0180583a2af89db6a2ecd9e8dc40aa6d2988ca175bfd0e6d12ea72d74e", size = 344219, upload-time = "2026-09-17T20:07:52.914Z" },
533
- { url = "https://files.pythonhosted.org/packages/17/ab/5fd5f8ece73fad885c5a09aa849b32d70472f954ba3a92d3bb5974ea953b/protobuf-7.36.2-cp310-abi3-manylinux2014_s390x.whl", hash = "sha256:f4fee11ec330d238b34a05c9b675f693c20415d1c5bd7d5320cc2f8a798eb9cf", size = 357223, upload-time = "2026-09-17T20:07:53.985Z" },
534
- { url = "https://files.pythonhosted.org/packages/db/f3/3996583dd2906297a637af12114deddf7658af6e683fedb83be061983fb5/protobuf-7.36.2-cp310-abi3-manylinux2014_x86_64.whl", hash = "sha256:89f23aa53c24553a2416fd4fd1ec06f74fa42b14b546d8883128813f775bbfd2", size = 343223, upload-time = "2026-09-17T20:07:54.931Z" },
535
- { url = "https://files.pythonhosted.org/packages/fc/1b/dcc64f358fcb51811b58ae40b3d28f820725f116d86487cc20bd4b130701/protobuf-7.36.2-cp310-abi3-win32.whl", hash = "sha256:912c1221170e16c08d1f086762f563dd61ff83c18b5fa6652952dfaded66f728", size = 442998, upload-time = "2026-09-17T20:07:55.826Z" },
536
- { url = "https://files.pythonhosted.org/packages/8a/55/b77bda4e5e5f5971fb51b07663694690e9afdb9402136c16a522bd621cad/protobuf-7.36.2-cp310-abi3-win_amd64.whl", hash = "sha256:a300819d441e078a5608c0d3c709796bb548136058fda017ae51d425b44fd353", size = 456514, upload-time = "2026-09-17T20:07:57.188Z" },
537
- { url = "https://files.pythonhosted.org/packages/e4/04/d52c7016b04b6c5108f26691f9d33ec82a9b65d041f1a9c771137693d618/protobuf-7.36.2-py3-none-any.whl", hash = "sha256:bdb3a345d48db958e6ce1f18e508beb0cc981d64f24088427549c866cd039f1e", size = 179806, upload-time = "2026-09-17T20:07:58.211Z" },
538
- ]
539
-
540
- [[package]]
541
- name = "psutil"
542
- version = "7.2.2"
543
- source = { registry = "https://pypi.org/simple" }
544
- sdist = { url = "https://files.pythonhosted.org/packages/aa/c6/d1ddf4abb55e93cebc4f2ed8b5d6dbad109ecb8d63748dd2b20ab5e57ebe/psutil-7.2.2.tar.gz", hash = "sha256:0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372", size = 493740, upload-time = "2026-01-28T18:14:54.428Z" }
545
- wheels = [
546
- { url = "https://files.pythonhosted.org/packages/51/08/510cbdb69c25a96f4ae523f733cdc963ae654904e8db864c07585ef99875/psutil-7.2.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:2edccc433cbfa046b980b0df0171cd25bcaeb3a68fe9022db0979e7aa74a826b", size = 130595, upload-time = "2026-01-28T18:14:57.293Z" },
547
- { url = "https://files.pythonhosted.org/packages/d6/f5/97baea3fe7a5a9af7436301f85490905379b1c6f2dd51fe3ecf24b4c5fbf/psutil-7.2.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e78c8603dcd9a04c7364f1a3e670cea95d51ee865e4efb3556a3a63adef958ea", size = 131082, upload-time = "2026-01-28T18:14:59.732Z" },
548
- { url = "https://files.pythonhosted.org/packages/37/d6/246513fbf9fa174af531f28412297dd05241d97a75911ac8febefa1a53c6/psutil-7.2.2-cp313-cp313t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1a571f2330c966c62aeda00dd24620425d4b0cc86881c89861fbc04549e5dc63", size = 181476, upload-time = "2026-01-28T18:15:01.884Z" },
549
- { url = "https://files.pythonhosted.org/packages/b8/b5/9182c9af3836cca61696dabe4fd1304e17bc56cb62f17439e1154f225dd3/psutil-7.2.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:917e891983ca3c1887b4ef36447b1e0873e70c933afc831c6b6da078ba474312", size = 184062, upload-time = "2026-01-28T18:15:04.436Z" },
550
- { url = "https://files.pythonhosted.org/packages/16/ba/0756dca669f5a9300d0cbcbfae9a4c30e446dfc7440ffe43ded5724bfd93/psutil-7.2.2-cp313-cp313t-win_amd64.whl", hash = "sha256:ab486563df44c17f5173621c7b198955bd6b613fb87c71c161f827d3fb149a9b", size = 139893, upload-time = "2026-01-28T18:15:06.378Z" },
551
- { url = "https://files.pythonhosted.org/packages/1c/61/8fa0e26f33623b49949346de05ec1ddaad02ed8ba64af45f40a147dbfa97/psutil-7.2.2-cp313-cp313t-win_arm64.whl", hash = "sha256:ae0aefdd8796a7737eccea863f80f81e468a1e4cf14d926bd9b6f5f2d5f90ca9", size = 135589, upload-time = "2026-01-28T18:15:08.03Z" },
552
- { url = "https://files.pythonhosted.org/packages/81/69/ef179ab5ca24f32acc1dac0c247fd6a13b501fd5534dbae0e05a1c48b66d/psutil-7.2.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:eed63d3b4d62449571547b60578c5b2c4bcccc5387148db46e0c2313dad0ee00", size = 130664, upload-time = "2026-01-28T18:15:09.469Z" },
553
- { url = "https://files.pythonhosted.org/packages/7b/64/665248b557a236d3fa9efc378d60d95ef56dd0a490c2cd37dafc7660d4a9/psutil-7.2.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7b6d09433a10592ce39b13d7be5a54fbac1d1228ed29abc880fb23df7cb694c9", size = 131087, upload-time = "2026-01-28T18:15:11.724Z" },
554
- { url = "https://files.pythonhosted.org/packages/d5/2e/e6782744700d6759ebce3043dcfa661fb61e2fb752b91cdeae9af12c2178/psutil-7.2.2-cp314-cp314t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1fa4ecf83bcdf6e6c8f4449aff98eefb5d0604bf88cb883d7da3d8d2d909546a", size = 182383, upload-time = "2026-01-28T18:15:13.445Z" },
555
- { url = "https://files.pythonhosted.org/packages/57/49/0a41cefd10cb7505cdc04dab3eacf24c0c2cb158a998b8c7b1d27ee2c1f5/psutil-7.2.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e452c464a02e7dc7822a05d25db4cde564444a67e58539a00f929c51eddda0cf", size = 185210, upload-time = "2026-01-28T18:15:16.002Z" },
556
- { url = "https://files.pythonhosted.org/packages/dd/2c/ff9bfb544f283ba5f83ba725a3c5fec6d6b10b8f27ac1dc641c473dc390d/psutil-7.2.2-cp314-cp314t-win_amd64.whl", hash = "sha256:c7663d4e37f13e884d13994247449e9f8f574bc4655d509c3b95e9ec9e2b9dc1", size = 141228, upload-time = "2026-01-28T18:15:18.385Z" },
557
- { url = "https://files.pythonhosted.org/packages/f2/fc/f8d9c31db14fcec13748d373e668bc3bed94d9077dbc17fb0eebc073233c/psutil-7.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:11fe5a4f613759764e79c65cf11ebdf26e33d6dd34336f8a337aa2996d71c841", size = 136284, upload-time = "2026-01-28T18:15:19.912Z" },
558
- { url = "https://files.pythonhosted.org/packages/e7/36/5ee6e05c9bd427237b11b3937ad82bb8ad2752d72c6969314590dd0c2f6e/psutil-7.2.2-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:ed0cace939114f62738d808fdcecd4c869222507e266e574799e9c0faa17d486", size = 129090, upload-time = "2026-01-28T18:15:22.168Z" },
559
- { url = "https://files.pythonhosted.org/packages/80/c4/f5af4c1ca8c1eeb2e92ccca14ce8effdeec651d5ab6053c589b074eda6e1/psutil-7.2.2-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:1a7b04c10f32cc88ab39cbf606e117fd74721c831c98a27dc04578deb0c16979", size = 129859, upload-time = "2026-01-28T18:15:23.795Z" },
560
- { url = "https://files.pythonhosted.org/packages/b5/70/5d8df3b09e25bce090399cf48e452d25c935ab72dad19406c77f4e828045/psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:076a2d2f923fd4821644f5ba89f059523da90dc9014e85f8e45a5774ca5bc6f9", size = 155560, upload-time = "2026-01-28T18:15:25.976Z" },
561
- { url = "https://files.pythonhosted.org/packages/63/65/37648c0c158dc222aba51c089eb3bdfa238e621674dc42d48706e639204f/psutil-7.2.2-cp36-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b0726cecd84f9474419d67252add4ac0cd9811b04d61123054b9fb6f57df6e9e", size = 156997, upload-time = "2026-01-28T18:15:27.794Z" },
562
- { url = "https://files.pythonhosted.org/packages/8e/13/125093eadae863ce03c6ffdbae9929430d116a246ef69866dad94da3bfbc/psutil-7.2.2-cp36-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:fd04ef36b4a6d599bbdb225dd1d3f51e00105f6d48a28f006da7f9822f2606d8", size = 148972, upload-time = "2026-01-28T18:15:29.342Z" },
563
- { url = "https://files.pythonhosted.org/packages/04/78/0acd37ca84ce3ddffaa92ef0f571e073faa6d8ff1f0559ab1272188ea2be/psutil-7.2.2-cp36-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b58fabe35e80b264a4e3bb23e6b96f9e45a3df7fb7eed419ac0e5947c61e47cc", size = 148266, upload-time = "2026-01-28T18:15:31.597Z" },
564
- { url = "https://files.pythonhosted.org/packages/b4/90/e2159492b5426be0c1fef7acba807a03511f97c5f86b3caeda6ad92351a7/psutil-7.2.2-cp37-abi3-win_amd64.whl", hash = "sha256:eb7e81434c8d223ec4a219b5fc1c47d0417b12be7ea866e24fb5ad6e84b3d988", size = 137737, upload-time = "2026-01-28T18:15:33.849Z" },
565
- { url = "https://files.pythonhosted.org/packages/8c/c7/7bb2e321574b10df20cbde462a94e2b71d05f9bbda251ef27d104668306a/psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee", size = 134617, upload-time = "2026-01-28T18:15:36.514Z" },
566
- ]
567
-
568
- [[package]]
569
- name = "py4j"
570
- version = "0.10.9.9"
571
- source = { registry = "https://pypi.org/simple" }
572
- sdist = { url = "https://files.pythonhosted.org/packages/38/31/0b210511177070c8d5d3059556194352e5753602fa64b85b7ab81ec1a009/py4j-0.10.9.9.tar.gz", hash = "sha256:f694cad19efa5bd1dee4f3e5270eb406613c974394035e5bfc4ec1aba870b879", size = 761089, upload-time = "2025-01-15T03:53:18.624Z" }
573
- wheels = [
574
- { url = "https://files.pythonhosted.org/packages/bd/db/ea0203e495be491c85af87b66e37acfd3bf756fd985f87e46fc5e3bf022c/py4j-0.10.9.9-py2.py3-none-any.whl", hash = "sha256:c7c26e4158defb37b0bb124933163641a2ff6e3a3913f7811b0ddbe07ed61533", size = 203008, upload-time = "2025-01-15T03:53:15.648Z" },
575
- ]
576
-
577
369
  [[package]]
578
370
  name = "pydantic"
579
371
  version = "2.14.3"
@@ -707,15 +499,6 @@ wheels = [
707
499
  { url = "https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl", hash = "sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9", size = 1250147, upload-time = "2026-08-17T08:02:44.912Z" },
708
500
  ]
709
501
 
710
- [[package]]
711
- name = "pyspark"
712
- version = "4.1.4"
713
- source = { registry = "https://pypi.org/simple" }
714
- dependencies = [
715
- { name = "py4j" },
716
- ]
717
- sdist = { url = "https://files.pythonhosted.org/packages/98/d6/46ba9775802e578eb853bca200bf079327a2e8bb801684913041400ee287/pyspark-4.1.4.tar.gz", hash = "sha256:bcbd5e18690cf79d438e97210ad06fb8d451a251bb77becc2b0418868d2acd73", size = 455589214, upload-time = "2026-10-27T18:17:29.272Z" }
718
-
719
502
  [[package]]
720
503
  name = "pytest"
721
504
  version = "9.2.0"
@@ -732,18 +515,6 @@ wheels = [
732
515
  { url = "https://files.pythonhosted.org/packages/51/39/1f5d8c8877a0fa327db959c19341d4be61660de1ab6b7391f9eb805bcd67/pytest-9.2.0-py3-none-any.whl", hash = "sha256:07acdcf88ec174f907dc01af70bf52d49b014bbab03faeeade31c96b18c2e588", size = 411776, upload-time = "2026-10-27T21:30:19.131Z" },
733
516
  ]
734
517
 
735
- [[package]]
736
- name = "python-dateutil"
737
- version = "4.0.0"
738
- source = { registry = "https://pypi.org/simple" }
739
- dependencies = [
740
- { name = "tzdata" },
741
- ]
742
- sdist = { url = "https://files.pythonhosted.org/packages/18/39/b3927f3616f6223832f9b760e4208e8a7c7e1dea2b4d9ad7d32a5d214c3a/python_dateutil-4.0.0.tar.gz", hash = "sha256:d7295ff14fdc0f92f662100bfb6c551d160ca090f2939f1ec5b9794265c03f06", size = 250419, upload-time = "2026-11-01T07:02:42.426Z" }
743
- wheels = [
744
- { url = "https://files.pythonhosted.org/packages/2f/a9/52b89563d154433d79b51ed1eb4842bf7334cb2696891a7fe135618853d7/python_dateutil-4.0.0-py3-none-any.whl", hash = "sha256:a5e246f79eb80475e691bf93862cead98decd8a498cf53ba0516fcdc0f50dc1c", size = 92853, upload-time = "2026-11-01T07:02:40.797Z" },
745
- ]
746
-
747
518
  [[package]]
748
519
  name = "typing-extensions"
749
520
  version = "4.16.0"
@@ -764,12 +535,3 @@ sdist = { url = "https://files.pythonhosted.org/packages/ff/50/0195198eb1d75bab7
764
535
  wheels = [
765
536
  { url = "https://files.pythonhosted.org/packages/de/0c/ea2544850a7c135e15033a5c7a8e7211136184b7ae63e2239d557c2b3019/typing_inspection-0.4.5-py3-none-any.whl", hash = "sha256:bc210535442b39e1bf2805e0c7a17dfd6a4ace760c84c7f7d16245d23a6b1c39", size = 14874, upload-time = "2026-11-04T14:13:22.616Z" },
766
537
  ]
767
-
768
- [[package]]
769
- name = "tzdata"
770
- version = "2026.6"
771
- source = { registry = "https://pypi.org/simple" }
772
- sdist = { url = "https://files.pythonhosted.org/packages/7a/29/6a1391d31cd00ff9e927215a224a880e1e84e826b64ba80a499e51c074d8/tzdata-2026.6.tar.gz", hash = "sha256:85d2cd9c09f81f0bb29db27759fc83af4f1e620efb814f8c5bf8b4cc4feece6d", size = 201017, upload-time = "2026-10-28T09:57:09.137Z" }
773
- wheels = [
774
- { url = "https://files.pythonhosted.org/packages/0a/66/9a06c2227fedfd4919f0eaaa8b94377d9730882a7e4f95823c9a331ab5e1/tzdata-2026.6-py2.py3-none-any.whl", hash = "sha256:0a10eec6e13ef16b627fabed9a5f2ba61a62b1c67f327305f4e7e412a70b4aec", size = 348210, upload-time = "2026-10-28T09:57:07.276Z" },
775
- ]
@@ -1,81 +0,0 @@
1
- """The error and warning codes the worker reports, the error that stops a run
2
- with an error code, and its redacted form, which fails the task. A code shared
3
- by every Connector Kind has no prefix; one only a kind can report carries the
4
- kind's prefix, such as `BUCKET_`."""
5
-
6
- from __future__ import annotations
7
-
8
- from enum import Enum
9
-
10
- from decentriq_util.error import SafeError
11
-
12
- from dq_export_connector.models import ApplicationError
13
- from dq_export_connector.redact import Redactor
14
-
15
-
16
- class ErrorCode(str, Enum):
17
- INVALID_CREDENTIALS = "INVALID_CREDENTIALS"
18
- UNAUTHENTICATED = "UNAUTHENTICATED"
19
- CREDENTIALS_EXPIRED = "CREDENTIALS_EXPIRED"
20
- ACCESS_DENIED = "ACCESS_DENIED"
21
- DESTINATION_NOT_FOUND = "DESTINATION_NOT_FOUND"
22
- UNREACHABLE = "UNREACHABLE"
23
- UNKNOWN = "UNKNOWN"
24
- READ_FAILED = "READ_FAILED"
25
- INTERNAL_ERROR = "INTERNAL_ERROR"
26
- BUCKET_INVALID_PATH = "BUCKET_INVALID_PATH"
27
-
28
-
29
- class WarningCode(str, Enum):
30
- EMPTY_DATASET = "EMPTY_DATASET"
31
- BUCKET_PROBE_NOT_DELETED = "BUCKET_PROBE_NOT_DELETED"
32
- BUCKET_PARTS_MAY_REMAIN = "BUCKET_PARTS_MAY_REMAIN"
33
-
34
-
35
- # The most characters a message the worker writes has, so the UI can rely on a bound.
36
- MAX_MESSAGE_LENGTH = 1000
37
-
38
- # The most characters of a provider's own error the worker passes on.
39
- MAX_PROVIDER_ERROR_LENGTH = 4000
40
-
41
-
42
- def redacted(text: str, limit: int, redactor: Redactor) -> str:
43
- """`text` with its credentials masked, then cut to `limit` characters, so a
44
- cut can't leave part of a secret unmasked."""
45
- text = redactor.redact(text)
46
- return text if len(text) <= limit else text[: limit - 1] + "…"
47
-
48
-
49
- class ExportConnectorError(Exception):
50
- """Stops the run and becomes its Application Error. `message` is shown to
51
- the user, so it must not hold dataset values. `provider_error` is the Bucket
52
- Provider's own error, as its client reports it, which becomes
53
- `details.providerError`. Neither is redacted: only a
54
- `RedactedExportConnectorError` leaves the worker."""
55
-
56
- def __init__(self, code: ErrorCode, message: str, provider_error: str | None = None) -> None:
57
- super().__init__(message)
58
- self.code = code
59
- self.message = message
60
- self.provider_error = provider_error
61
-
62
-
63
- class RedactedExportConnectorError(SafeError):
64
- """An `ExportConnectorError` with its credentials masked and its texts cut,
65
- which fails the task. The container worker's `error` result ends with its
66
- `CODE: message`."""
67
-
68
- def __init__(self, error: ExportConnectorError, redactor: Redactor) -> None:
69
- self.code = error.code
70
- self.message = redacted(error.message, MAX_MESSAGE_LENGTH, redactor)
71
- self.provider_error = (
72
- None if error.provider_error is None else redacted(error.provider_error, MAX_PROVIDER_ERROR_LENGTH, redactor)
73
- )
74
- super().__init__(f"{self.code.value}: {self.message}")
75
-
76
- def safe_str(self) -> str:
77
- return str(self)
78
-
79
- def application_error(self) -> ApplicationError:
80
- details = None if self.provider_error is None else {"providerError": self.provider_error}
81
- return ApplicationError(code=self.code.value, message=self.message, details=details)