corva-worker-python 1.2.4__tar.gz → 2.0.1__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.
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/PKG-INFO +18 -9
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/corva_worker_python.egg-info/PKG-INFO +18 -9
- corva_worker_python-2.0.1/corva_worker_python.egg-info/requires.txt +5 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/setup.py +11 -7
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/app/__init__.py +1 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/state_testing_app/__init__.py +1 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/partial_rerun_merge/models.py +1 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/partial_rerun_merge/progress.py +1 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/test/lambda_function_test_run.py +16 -1
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/test/local_testing/to_local_transfer.py +1 -1
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/wellbore.py +1 -1
- corva-worker-python-1.2.4/corva_worker_python.egg-info/requires.txt +0 -4
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/README.md +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/corva_worker_python.egg-info/SOURCES.txt +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/corva_worker_python.egg-info/dependency_links.txt +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/corva_worker_python.egg-info/top_level.txt +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/pyproject.toml +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/setup.cfg +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/app/app_constants.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/app/app_lambda.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/app/app_partial_rerun_merger.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/app/disable_module.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/app/drilling_efficiency_app.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/app/surface_mse_module.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/state_testing_app/app_constants.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/state_testing_app/app_lambda.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/state_testing_app/state_modules.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/state_testing_app/state_testing_app.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/app/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/app/modules/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/app/modules/activity_module.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/app/modules/connection_module.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/app/modules/depth_activity_module.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/app/modules/scheduler.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/app/modules/time_activity_module.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/app/modules/trigger.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/constants.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/activity/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/activity/activity_grouping.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/alert.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/api.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/enums.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/json_encoder.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/math.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/operations.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/serialization.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/task_handler.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/two_way_dict.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/unit_conversions.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/wits.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/event/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/event/event_handler.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/event/scheduled.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/event/stream.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/exceptions.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/mixins/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/mixins/logging.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/mixins/rollbar.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/partial_rerun_merge/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/partial_rerun_merge/merge.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/state/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/state/mixins.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/state/state.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/test/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/test/local_testing/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/test/utils.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/factory.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/measured_depth_finder.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/model/__init__.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/model/ann.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/model/annulus.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/model/drillstring.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/model/drillstring_components.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/model/element.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/model/enums.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/model/hole.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/model/hole_section.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/model/riser.py +0 -0
- {corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/sections_mixin.py +0 -0
|
@@ -1,21 +1,30 @@
|
|
|
1
|
-
Metadata-Version:
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: corva-worker-python
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: SDK for interacting with Corva
|
|
5
5
|
Home-page: https://github.com/corva-ai/corva-worker-python
|
|
6
6
|
Author: Jordan Ambra <jordan.ambra@corva.ai>, Mohammadreza Kamyab <m.kamyab@corva.ai>
|
|
7
7
|
License: Unlicensed
|
|
8
|
-
Description: UNKNOWN
|
|
9
8
|
Keywords: corva,worker
|
|
10
|
-
Platform: UNKNOWN
|
|
11
9
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
10
|
Classifier: Intended Audience :: Developers
|
|
13
11
|
Classifier: Operating System :: OS Independent
|
|
14
12
|
Classifier: Programming Language :: Python
|
|
15
13
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
16
|
Classifier: Topic :: Software Development :: Libraries
|
|
21
|
-
Requires-Python: >=3.
|
|
17
|
+
Requires-Python: >=3.13
|
|
18
|
+
Requires-Dist: numpy>=2.3.5
|
|
19
|
+
Requires-Dist: redis>=5.2.1
|
|
20
|
+
Requires-Dist: requests>=2.32.5
|
|
21
|
+
Requires-Dist: simplejson>=3.20.2
|
|
22
|
+
Requires-Dist: urllib3>=2.5.0
|
|
23
|
+
Dynamic: author
|
|
24
|
+
Dynamic: classifier
|
|
25
|
+
Dynamic: home-page
|
|
26
|
+
Dynamic: keywords
|
|
27
|
+
Dynamic: license
|
|
28
|
+
Dynamic: requires-dist
|
|
29
|
+
Dynamic: requires-python
|
|
30
|
+
Dynamic: summary
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/corva_worker_python.egg-info/PKG-INFO
RENAMED
|
@@ -1,21 +1,30 @@
|
|
|
1
|
-
Metadata-Version:
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: corva-worker-python
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: SDK for interacting with Corva
|
|
5
5
|
Home-page: https://github.com/corva-ai/corva-worker-python
|
|
6
6
|
Author: Jordan Ambra <jordan.ambra@corva.ai>, Mohammadreza Kamyab <m.kamyab@corva.ai>
|
|
7
7
|
License: Unlicensed
|
|
8
|
-
Description: UNKNOWN
|
|
9
8
|
Keywords: corva,worker
|
|
10
|
-
Platform: UNKNOWN
|
|
11
9
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
10
|
Classifier: Intended Audience :: Developers
|
|
13
11
|
Classifier: Operating System :: OS Independent
|
|
14
12
|
Classifier: Programming Language :: Python
|
|
15
13
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
16
|
Classifier: Topic :: Software Development :: Libraries
|
|
21
|
-
Requires-Python: >=3.
|
|
17
|
+
Requires-Python: >=3.13
|
|
18
|
+
Requires-Dist: numpy>=2.3.5
|
|
19
|
+
Requires-Dist: redis>=5.2.1
|
|
20
|
+
Requires-Dist: requests>=2.32.5
|
|
21
|
+
Requires-Dist: simplejson>=3.20.2
|
|
22
|
+
Requires-Dist: urllib3>=2.5.0
|
|
23
|
+
Dynamic: author
|
|
24
|
+
Dynamic: classifier
|
|
25
|
+
Dynamic: home-page
|
|
26
|
+
Dynamic: keywords
|
|
27
|
+
Dynamic: license
|
|
28
|
+
Dynamic: requires-dist
|
|
29
|
+
Dynamic: requires-python
|
|
30
|
+
Dynamic: summary
|
|
@@ -6,10 +6,8 @@ classifiers = [
|
|
|
6
6
|
"Operating System :: OS Independent",
|
|
7
7
|
"Programming Language :: Python",
|
|
8
8
|
"Programming Language :: Python :: 3",
|
|
9
|
-
"Programming Language :: Python :: 3.
|
|
10
|
-
"Programming Language :: Python :: 3.
|
|
11
|
-
"Programming Language :: Python :: 3.10",
|
|
12
|
-
"Programming Language :: Python :: 3.11",
|
|
9
|
+
"Programming Language :: Python :: 3.13",
|
|
10
|
+
"Programming Language :: Python :: 3.14",
|
|
13
11
|
"Topic :: Software Development :: Libraries",
|
|
14
12
|
]
|
|
15
13
|
|
|
@@ -17,13 +15,19 @@ setup(
|
|
|
17
15
|
name="corva-worker-python",
|
|
18
16
|
author="Jordan Ambra <jordan.ambra@corva.ai>, Mohammadreza Kamyab <m.kamyab@corva.ai>",
|
|
19
17
|
url="https://github.com/corva-ai/corva-worker-python",
|
|
20
|
-
version="
|
|
18
|
+
version="2.0.1",
|
|
21
19
|
classifiers=classifiers,
|
|
22
|
-
python_requires=">=3.
|
|
20
|
+
python_requires=">=3.13",
|
|
23
21
|
description="SDK for interacting with Corva",
|
|
24
22
|
keywords="corva, worker",
|
|
25
23
|
packages=find_packages(exclude=["testcase"]),
|
|
26
|
-
install_requires=[
|
|
24
|
+
install_requires=[
|
|
25
|
+
"numpy>=2.3.5",
|
|
26
|
+
"redis>=5.2.1",
|
|
27
|
+
"requests>=2.32.5",
|
|
28
|
+
"simplejson>=3.20.2",
|
|
29
|
+
"urllib3>=2.5.0",
|
|
30
|
+
],
|
|
27
31
|
include_package_data=True,
|
|
28
32
|
license="Unlicensed",
|
|
29
33
|
)
|
|
@@ -3,4 +3,5 @@ The purpose of this simple test app is to compute Surface MSE
|
|
|
3
3
|
every 30 seconds of wits stream records. Note that this parameter
|
|
4
4
|
is only generated when the state is Drilling (either Rotary or Slide).
|
|
5
5
|
"""
|
|
6
|
+
|
|
6
7
|
from testcase.app.app_constants import constants # noqa: F401
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/test/lambda_function_test_run.py
RENAMED
|
@@ -22,7 +22,6 @@ if __name__ == '__main__':
|
|
|
22
22
|
"""
|
|
23
23
|
|
|
24
24
|
import argparse
|
|
25
|
-
from distutils.util import strtobool
|
|
26
25
|
from typing import List
|
|
27
26
|
|
|
28
27
|
from dotenv import load_dotenv
|
|
@@ -41,6 +40,22 @@ from worker.test.utils import create_scheduler_events, get_last_processed_timest
|
|
|
41
40
|
load_dotenv(override=True)
|
|
42
41
|
|
|
43
42
|
|
|
43
|
+
def strtobool(val):
|
|
44
|
+
"""Convert a string representation of truth to true (1) or false (0).
|
|
45
|
+
|
|
46
|
+
True values are 'y', 'yes', 't', 'true', 'on', and '1'.
|
|
47
|
+
False values are 'n', 'no', 'f', 'false', 'off', and '0'.
|
|
48
|
+
Raises ValueError if 'val' is anything else.
|
|
49
|
+
"""
|
|
50
|
+
val = val.lower()
|
|
51
|
+
if val in ("y", "yes", "t", "true", "on", "1"):
|
|
52
|
+
return 1
|
|
53
|
+
elif val in ("n", "no", "f", "false", "off", "0"):
|
|
54
|
+
return 0
|
|
55
|
+
else:
|
|
56
|
+
raise ValueError("invalid truth value %r" % (val,))
|
|
57
|
+
|
|
58
|
+
|
|
44
59
|
def generate_runner_parser():
|
|
45
60
|
"""
|
|
46
61
|
Creating the supporting arguments
|
|
@@ -77,7 +77,7 @@ class ToLocalTransfer(LoggingMixin):
|
|
|
77
77
|
# but for the purpose of this test analysis is not important.
|
|
78
78
|
"data.casing",
|
|
79
79
|
"data.drillstring",
|
|
80
|
-
"data.mud"
|
|
80
|
+
"data.mud",
|
|
81
81
|
# not required for most of the cases
|
|
82
82
|
# "data.formations",
|
|
83
83
|
# "data.pressure-gradient",
|
|
@@ -150,7 +150,7 @@ class Wellbore:
|
|
|
150
150
|
Logger.debug(f"Updated API with under-reamer activation at depth {self.under_reamer.ur_opened_depth}")
|
|
151
151
|
else:
|
|
152
152
|
Logger.info(
|
|
153
|
-
f"Under-reamer was opened at {self.under_reamer.ur_opened_depth
|
|
153
|
+
f"Under-reamer was opened at {self.under_reamer.ur_opened_depth}. "
|
|
154
154
|
f"However, not updating the ur_opened_depth on drillstring on api "
|
|
155
155
|
f"because it was not triggered from Stream app"
|
|
156
156
|
)
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/corva_worker_python.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/corva_worker_python.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/app/app_partial_rerun_merger.py
RENAMED
|
File without changes
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/app/drilling_efficiency_app.py
RENAMED
|
File without changes
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/state_testing_app/app_constants.py
RENAMED
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/state_testing_app/app_lambda.py
RENAMED
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/testcase/state_testing_app/state_modules.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/app/modules/activity_module.py
RENAMED
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/app/modules/connection_module.py
RENAMED
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/app/modules/depth_activity_module.py
RENAMED
|
File without changes
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/app/modules/time_activity_module.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/data/activity/activity_grouping.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/partial_rerun_merge/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/test/local_testing/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/measured_depth_finder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/model/drillstring.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{corva-worker-python-1.2.4 → corva_worker_python-2.0.1}/worker/wellbore/model/hole_section.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|