envlib-ingest-base 0.4.0__tar.gz → 0.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {envlib_ingest_base-0.4.0 → envlib_ingest_base-0.4.2}/PKG-INFO +9 -7
- {envlib_ingest_base-0.4.0 → envlib_ingest_base-0.4.2}/README.md +5 -3
- {envlib_ingest_base-0.4.0 → envlib_ingest_base-0.4.2}/envlib_ingest_base/__init__.py +1 -1
- {envlib_ingest_base-0.4.0 → envlib_ingest_base-0.4.2}/pyproject.toml +7 -3
- {envlib_ingest_base-0.4.0 → envlib_ingest_base-0.4.2}/.gitignore +0 -0
- {envlib_ingest_base-0.4.0 → envlib_ingest_base-0.4.2}/LICENSE +0 -0
- {envlib_ingest_base-0.4.0 → envlib_ingest_base-0.4.2}/envlib_ingest_base/resample.py +0 -0
- {envlib_ingest_base-0.4.0 → envlib_ingest_base-0.4.2}/envlib_ingest_base/stations.py +0 -0
- {envlib_ingest_base-0.4.0 → envlib_ingest_base-0.4.2}/envlib_ingest_base/tsforecast.py +0 -0
- {envlib_ingest_base-0.4.0 → envlib_ingest_base-0.4.2}/envlib_ingest_base/tsortho.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: envlib-ingest-base
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: Shared toolkit for envlib data-ingest repos: source-agnostic time-series resampling and ts_ortho (station) dataset build + idempotent commons update.
|
|
5
5
|
Project-URL: Source, https://github.com/envlib/envlib-ingest-base
|
|
6
6
|
Author-email: mullenkamp <mullenkamp1@gmail.com>
|
|
@@ -9,9 +9,9 @@ License-File: LICENSE
|
|
|
9
9
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
10
10
|
Requires-Python: >=3.10
|
|
11
11
|
Requires-Dist: booklet>=0.12.10
|
|
12
|
-
Requires-Dist: cfdb>=0.
|
|
13
|
-
Requires-Dist: ebooklet>=0.10.
|
|
14
|
-
Requires-Dist: envlib>=0.1.
|
|
12
|
+
Requires-Dist: cfdb>=0.10.0
|
|
13
|
+
Requires-Dist: ebooklet>=0.10.5
|
|
14
|
+
Requires-Dist: envlib>=0.1.7
|
|
15
15
|
Requires-Dist: numpy
|
|
16
16
|
Requires-Dist: sentry-sdk
|
|
17
17
|
Requires-Dist: shapely>=2.0
|
|
@@ -418,7 +418,9 @@ the right choice for continuously-updated ts_ortho datasets (tens of keys; every
|
|
|
418
418
|
push/pull moves exactly the changed chunk and nothing else). Grouped storage is a
|
|
419
419
|
request-batching optimization for **large, rarely-updated archives** (thousands of keys —
|
|
420
420
|
ebooklet's guidance is 10–100 MB per group); pass a prime `num_groups` at first publish only
|
|
421
|
-
for that shape. The choice is fixed once the dataset is first pushed.
|
|
421
|
+
for that shape. The choice is fixed once the dataset is first pushed. For how chunk size and shape
|
|
422
|
+
trade off on each layout (request costs, per-station vs multi-station chunks), see cfdb's
|
|
423
|
+
[Chunk sizes for remote datasets](https://mullenkamp.github.io/cfdb/guide/s3-remote/#chunk-sizes-for-remote-datasets).
|
|
422
424
|
|
|
423
425
|
`build_and_publish` takes the same keyword build args as `build_local`
|
|
424
426
|
(`variable`/`units`/`precision`/`min_value`/`max_value`/`standard_name`/…); `update_and_publish` only
|
|
@@ -450,7 +452,7 @@ docker compose push
|
|
|
450
452
|
|
|
451
453
|
The image installs the **released package from PyPI** (`TOOLKIT_VERSION` build arg) — the
|
|
452
454
|
package's own pyproject is the single source of truth for dependencies, so there are no
|
|
453
|
-
separately-maintained requirements files to drift out of sync (the cfdb
|
|
454
|
-
via `requires_dist`). The image is pandas-free, like the toolkit: downstream repos build `FROM`
|
|
455
|
+
separately-maintained requirements files to drift out of sync (the cfdb floor in `pyproject.toml`
|
|
456
|
+
rides in via `requires_dist`). The image is pandas-free, like the toolkit: downstream repos build `FROM`
|
|
455
457
|
this image and install their own extra runtime deps (e.g. the ECan repo adds pandas for its CSV
|
|
456
458
|
fetch layer).
|
|
@@ -399,7 +399,9 @@ the right choice for continuously-updated ts_ortho datasets (tens of keys; every
|
|
|
399
399
|
push/pull moves exactly the changed chunk and nothing else). Grouped storage is a
|
|
400
400
|
request-batching optimization for **large, rarely-updated archives** (thousands of keys —
|
|
401
401
|
ebooklet's guidance is 10–100 MB per group); pass a prime `num_groups` at first publish only
|
|
402
|
-
for that shape. The choice is fixed once the dataset is first pushed.
|
|
402
|
+
for that shape. The choice is fixed once the dataset is first pushed. For how chunk size and shape
|
|
403
|
+
trade off on each layout (request costs, per-station vs multi-station chunks), see cfdb's
|
|
404
|
+
[Chunk sizes for remote datasets](https://mullenkamp.github.io/cfdb/guide/s3-remote/#chunk-sizes-for-remote-datasets).
|
|
403
405
|
|
|
404
406
|
`build_and_publish` takes the same keyword build args as `build_local`
|
|
405
407
|
(`variable`/`units`/`precision`/`min_value`/`max_value`/`standard_name`/…); `update_and_publish` only
|
|
@@ -431,7 +433,7 @@ docker compose push
|
|
|
431
433
|
|
|
432
434
|
The image installs the **released package from PyPI** (`TOOLKIT_VERSION` build arg) — the
|
|
433
435
|
package's own pyproject is the single source of truth for dependencies, so there are no
|
|
434
|
-
separately-maintained requirements files to drift out of sync (the cfdb
|
|
435
|
-
via `requires_dist`). The image is pandas-free, like the toolkit: downstream repos build `FROM`
|
|
436
|
+
separately-maintained requirements files to drift out of sync (the cfdb floor in `pyproject.toml`
|
|
437
|
+
rides in via `requires_dist`). The image is pandas-free, like the toolkit: downstream repos build `FROM`
|
|
436
438
|
this image and install their own extra runtime deps (e.g. the ECan repo adds pandas for its CSV
|
|
437
439
|
fetch layer).
|
|
@@ -11,7 +11,7 @@ from envlib_ingest_base.tsforecast import build_and_push, merge_run, update_and_
|
|
|
11
11
|
from envlib_ingest_base.tsforecast import build_local as build_forecast_local
|
|
12
12
|
from envlib_ingest_base.tsortho import build_and_publish, build_local, merge_dataset, update_and_publish
|
|
13
13
|
|
|
14
|
-
__version__ = '0.4.
|
|
14
|
+
__version__ = '0.4.2'
|
|
15
15
|
__all__ = [
|
|
16
16
|
'build_and_publish',
|
|
17
17
|
'build_and_push',
|
|
@@ -20,11 +20,15 @@ dependencies = [
|
|
|
20
20
|
# validation entry point, which does not exist before it. Raised in the SAME commit as the code
|
|
21
21
|
# that needs it -- 0.1.5 satisfies the old ">=0.1.5" floor, so an in-place upgrade would keep it
|
|
22
22
|
# and the failure would surface as an AttributeError far from its cause.
|
|
23
|
-
"envlib>=0.1.
|
|
23
|
+
"envlib>=0.1.7",
|
|
24
24
|
# >=0.9.4 is a HARD floor: older cfdb fabricates values when its packed encoder meets
|
|
25
25
|
# NaN/out-of-range data (cfdb changelog 0.9.4); tsortho also enforces this at runtime.
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
# >=0.10.0: cfdb 0.10 writes byte-shuffled compression (zstd_shuffle) by default, which an older
|
|
27
|
+
# cfdb cannot open. The toolkit also READS existing datasets (update/merge paths pull the remote),
|
|
28
|
+
# so it must be able to open whatever another producer on 0.10 published. Existing datasets keep
|
|
29
|
+
# their recorded compression when updated; only newly built ones are shuffled.
|
|
30
|
+
"cfdb>=0.10.0",
|
|
31
|
+
"ebooklet>=0.10.5",
|
|
28
32
|
"numpy",
|
|
29
33
|
"shapely>=2.0",
|
|
30
34
|
"sentry-sdk",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|