hyperion-sdk 0.2.0.dev1741815359__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/PKG-INFO +1 -1
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/asyncutils.py +1 -1
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/catalog/catalog.py +2 -2
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/catalog/schema.py +1 -1
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/dateutils.py +1 -1
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/infrastructure/aws.py +1 -1
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/infrastructure/cache.py +1 -1
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/infrastructure/geo/gmaps.py +1 -1
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/infrastructure/geo/location.py +1 -1
- hyperion_sdk-0.2.0.dev1741815359/hyperion/infrastructure/http.py → hyperion_sdk-0.3.0/hyperion/infrastructure/httputils.py +1 -1
- hyperion_sdk-0.2.0.dev1741815359/hyperion/infrastructure/queue.py → hyperion_sdk-0.3.0/hyperion/infrastructure/message_queue.py +1 -1
- hyperion_sdk-0.2.0.dev1741815359/hyperion/infrastructure/secrets.py → hyperion_sdk-0.3.0/hyperion/infrastructure/secretsmanager.py +1 -1
- {hyperion_sdk-0.2.0.dev1741815359/hyperion/collections → hyperion_sdk-0.3.0/hyperion/repository}/asset_collection.py +1 -1
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/sources/base.py +2 -2
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/pyproject.toml +1 -1
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/README.md +0 -0
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/__init__.py +0 -0
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/catalog/__init__.py +0 -0
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/config.py +0 -0
- {hyperion_sdk-0.2.0.dev1741815359/hyperion/collections → hyperion_sdk-0.3.0/hyperion/entities}/__init__.py +0 -0
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/entities/catalog.py +0 -0
- {hyperion_sdk-0.2.0.dev1741815359/hyperion/entities → hyperion_sdk-0.3.0/hyperion/infrastructure}/__init__.py +0 -0
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/infrastructure/geo/__init__.py +0 -0
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/infrastructure/keyval.py +0 -0
- /hyperion_sdk-0.2.0.dev1741815359/hyperion/logging.py → /hyperion_sdk-0.3.0/hyperion/log.py +0 -0
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/py.typed +0 -0
- {hyperion_sdk-0.2.0.dev1741815359/hyperion/infrastructure → hyperion_sdk-0.3.0/hyperion/repository}/__init__.py +0 -0
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/sources/__init__.py +0 -0
- {hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/typeutils.py +0 -0
|
@@ -4,7 +4,7 @@ import sys
|
|
|
4
4
|
from collections.abc import AsyncIterable, AsyncIterator, Callable, Coroutine, Iterable
|
|
5
5
|
from typing import TYPE_CHECKING, Any, Generic, TypeVar
|
|
6
6
|
|
|
7
|
-
from hyperion.
|
|
7
|
+
from hyperion.log import get_logger
|
|
8
8
|
|
|
9
9
|
if sys.version_info >= (3, 11) and TYPE_CHECKING:
|
|
10
10
|
from typing import Self
|
|
@@ -35,8 +35,8 @@ from hyperion.entities.catalog import (
|
|
|
35
35
|
get_prefixed_path,
|
|
36
36
|
)
|
|
37
37
|
from hyperion.infrastructure.aws import S3Client
|
|
38
|
-
from hyperion.infrastructure.
|
|
39
|
-
from hyperion.
|
|
38
|
+
from hyperion.infrastructure.message_queue import ArrivalEvent, DataLakeArrivalMessage, Queue
|
|
39
|
+
from hyperion.log import get_logger
|
|
40
40
|
|
|
41
41
|
__all__ = ["AssetNotFoundError", "Catalog", "CatalogError"]
|
|
42
42
|
|
|
@@ -10,7 +10,7 @@ from urllib.parse import urlparse
|
|
|
10
10
|
from hyperion.config import storage_config
|
|
11
11
|
from hyperion.entities.catalog import AssetProtocol, AssetType
|
|
12
12
|
from hyperion.infrastructure.aws import S3Client
|
|
13
|
-
from hyperion.
|
|
13
|
+
from hyperion.log import get_logger
|
|
14
14
|
|
|
15
15
|
logger = get_logger("schema-store")
|
|
16
16
|
|
|
@@ -6,7 +6,7 @@ from typing import Literal, TypeAlias, cast
|
|
|
6
6
|
|
|
7
7
|
from dateutil.relativedelta import relativedelta
|
|
8
8
|
|
|
9
|
-
from hyperion.
|
|
9
|
+
from hyperion.log import get_logger
|
|
10
10
|
|
|
11
11
|
TIME_UNITS = ["s", "m", "h", "d", "w", "M", "y"]
|
|
12
12
|
PATT_TIME_RESOLUTION = re.compile(rf"(?P<value>\d+)(?P<unit>[{''.join(TIME_UNITS)}])")
|
|
@@ -15,7 +15,7 @@ from hyperion.catalog import AssetNotFoundError, Catalog
|
|
|
15
15
|
from hyperion.config import storage_config
|
|
16
16
|
from hyperion.dateutils import utcnow
|
|
17
17
|
from hyperion.entities.catalog import PersistentStoreAsset
|
|
18
|
-
from hyperion.
|
|
18
|
+
from hyperion.log import get_logger
|
|
19
19
|
|
|
20
20
|
DEFAULT_TTL_SECONDS = 60
|
|
21
21
|
DYNAMODB_MAX_LENGTH = 65535
|
{hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/infrastructure/geo/gmaps.py
RENAMED
|
@@ -11,7 +11,7 @@ from hyperion.config import geo_config
|
|
|
11
11
|
from hyperion.entities.catalog import PersistentStoreAsset
|
|
12
12
|
from hyperion.infrastructure.cache import PersistentCache
|
|
13
13
|
from hyperion.infrastructure.geo.location import Location, NamedLocation
|
|
14
|
-
from hyperion.
|
|
14
|
+
from hyperion.log import get_logger
|
|
15
15
|
|
|
16
16
|
logger = get_logger("gmaps")
|
|
17
17
|
|
{hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/infrastructure/geo/location.py
RENAMED
|
@@ -12,7 +12,7 @@ import numpy.typing as npt
|
|
|
12
12
|
from haversine.haversine import get_avg_earth_radius
|
|
13
13
|
|
|
14
14
|
from hyperion.infrastructure.cache import Cache
|
|
15
|
-
from hyperion.
|
|
15
|
+
from hyperion.log import get_logger
|
|
16
16
|
|
|
17
17
|
LATITUDE_DEGREE_TO_METERS = 111_000
|
|
18
18
|
EARTH_RADIUS_METERS = get_avg_earth_radius(haversine.Unit.METERS)
|
|
@@ -14,7 +14,7 @@ from pydantic import BaseModel, Field
|
|
|
14
14
|
from hyperion.config import config, queue_config
|
|
15
15
|
from hyperion.dateutils import utcnow
|
|
16
16
|
from hyperion.entities.catalog import DataLakeAsset
|
|
17
|
-
from hyperion.
|
|
17
|
+
from hyperion.log import get_logger
|
|
18
18
|
|
|
19
19
|
logger = get_logger("hyperion-queue")
|
|
20
20
|
|
|
@@ -12,7 +12,7 @@ from hyperion.asyncutils import iter_async
|
|
|
12
12
|
from hyperion.catalog import Catalog
|
|
13
13
|
from hyperion.dateutils import utcnow
|
|
14
14
|
from hyperion.entities.catalog import FeatureAsset, FeatureModel
|
|
15
|
-
from hyperion.
|
|
15
|
+
from hyperion.log import get_logger
|
|
16
16
|
from hyperion.typeutils import DateOrDelta
|
|
17
17
|
|
|
18
18
|
logger = get_logger("hyperion-model-specification")
|
|
@@ -14,8 +14,8 @@ from hyperion.asyncutils import AsyncTaskQueue, get_loop
|
|
|
14
14
|
from hyperion.catalog import Catalog
|
|
15
15
|
from hyperion.config import storage_config
|
|
16
16
|
from hyperion.entities.catalog import DataLakeAsset
|
|
17
|
-
from hyperion.infrastructure.
|
|
18
|
-
from hyperion.
|
|
17
|
+
from hyperion.infrastructure.message_queue import SourceBackfillMessage, SQSQueue, iter_messages_from_sqs_event
|
|
18
|
+
from hyperion.log import get_logger
|
|
19
19
|
|
|
20
20
|
SourceEventType = EventBridgeEvent | SQSEvent
|
|
21
21
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hyperion_sdk-0.2.0.dev1741815359 → hyperion_sdk-0.3.0}/hyperion/infrastructure/geo/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|