datensee 0.1.0a1__py3-none-any.whl

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.
datensee/__init__.py ADDED
@@ -0,0 +1,6 @@
1
+ """DatensEE: Parallelize Google Earth Engine exports via Cloud Dataflow."""
2
+
3
+ from datensee._version import __version__ # noqa: F401
4
+
5
+ # Public API — usable from notebooks and scripts without touching the CLI.
6
+ from datensee.api import ExportResult, demo, export, poll, tile # noqa: F401
datensee/_version.py ADDED
@@ -0,0 +1,17 @@
1
+ """Single source of truth for the package version at runtime.
2
+
3
+ The version is declared once, in ``cli/pyproject.toml``; everything else
4
+ derives from it: ``datensee.__version__``, the default Flex Template
5
+ spec URI (``datensee.template``), the GitHub Release the pipeline JAR is
6
+ downloaded from (``datensee.jar``), and the Gradle ``version`` (read
7
+ from the same TOML by ``pipelines/build.gradle.kts``).
8
+ """
9
+
10
+ from __future__ import annotations
11
+
12
+ from importlib.metadata import PackageNotFoundError, version
13
+
14
+ try:
15
+ __version__ = version("datensee")
16
+ except PackageNotFoundError: # source tree on sys.path without an install
17
+ __version__ = "0.0.0+unknown"