orchid-python-api 5.25.1__tar.gz → 5.25.3__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 (87) hide show
  1. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/PKG-INFO +14 -12
  2. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/ReleaseNotes.md +46 -0
  3. orchid_python_api-5.25.3/orchid/VERSION +1 -0
  4. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/volume_2_first_response.py +2 -2
  5. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/pyproject.toml +43 -31
  6. orchid_python_api-5.25.1/orchid/VERSION +0 -1
  7. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/LICENSE +0 -0
  8. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/README.md +0 -0
  9. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/copy_orchid_examples.py +0 -0
  10. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/copy_orchid_low_level_examples.py +0 -0
  11. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/copy_orchid_manual_examples.py +0 -0
  12. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/copy_orchid_tutorials.py +0 -0
  13. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/__init__.py +0 -0
  14. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/__version__.py +0 -0
  15. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/base.py +0 -0
  16. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/base_time_series_adapter.py +0 -0
  17. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/configuration.py +0 -0
  18. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/convert.py +0 -0
  19. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/core.py +0 -0
  20. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/dom_project_object.py +0 -0
  21. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/dot_net.py +0 -0
  22. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/dot_net_disposable.py +0 -0
  23. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/dot_net_dom_access.py +0 -0
  24. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/measurement.py +0 -0
  25. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_data_frame_adapter.py +0 -0
  26. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_fiber_data.py +0 -0
  27. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_fiber_data_set_info.py +0 -0
  28. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_monitor_adapter.py +0 -0
  29. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_project_user_data_adapter.py +0 -0
  30. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_stage_adapter.py +0 -0
  31. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_stage_part_adapter.py +0 -0
  32. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_subsurface_point.py +0 -0
  33. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_time_series_adapter.py +0 -0
  34. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_trajectory_adapter.py +0 -0
  35. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_treatment_calculations.py +0 -0
  36. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_treatment_curve_adapter.py +0 -0
  37. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/native_well_adapter.py +0 -0
  38. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/net_date_time.py +0 -0
  39. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/net_enumerable.py +0 -0
  40. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/net_fracture_diagnostics_factory.py +0 -0
  41. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/net_quantity.py +0 -0
  42. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/net_stage_qc.py +0 -0
  43. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/physical_quantity.py +0 -0
  44. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/project.py +0 -0
  45. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/project_store.py +0 -0
  46. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/reference_origins.py +0 -0
  47. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/script_adapter_context.py +0 -0
  48. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/searchable_data_frames.py +0 -0
  49. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/searchable_project_objects.py +0 -0
  50. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/searchable_stage_parts.py +0 -0
  51. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/searchable_stages.py +0 -0
  52. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/unit_system.py +0 -0
  53. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/utils.py +0 -0
  54. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/validation.py +0 -0
  55. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid/version.py +0 -0
  56. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/__init__.py +0 -0
  57. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/add_stages.py +0 -0
  58. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/change_stage_times.py +0 -0
  59. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/completion_analysis.ipynb +0 -0
  60. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/completion_analysis.py +0 -0
  61. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/low_level/add_stages_low.py +0 -0
  62. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/low_level/auto_pick.ipynb +0 -0
  63. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/low_level/auto_pick.py +0 -0
  64. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/low_level/auto_pick_and_create_stage_attribute.py +0 -0
  65. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/low_level/auto_pick_iterate_example.py +0 -0
  66. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/low_level/monitor_time_series.py +0 -0
  67. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/low_level/multi_picking_events.py +0 -0
  68. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/manual/data_frame_with_guid.ipynb +0 -0
  69. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/manual/data_frame_with_guid.py +0 -0
  70. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/plot_time_series.ipynb +0 -0
  71. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/plot_time_series.py +0 -0
  72. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/plot_trajectories.ipynb +0 -0
  73. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/plot_trajectories.py +0 -0
  74. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/plot_treatment.ipynb +0 -0
  75. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/plot_treatment.py +0 -0
  76. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/python_api.yaml.example +0 -0
  77. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/pythonnet3/internal_tests.ipynb +0 -0
  78. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/pythonnet3/internal_tests.py +0 -0
  79. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/pythonnet3/low_level.ipynb +0 -0
  80. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/pythonnet3/low_level.py +0 -0
  81. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/search_data_frames.ipynb +0 -0
  82. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/search_data_frames.py +0 -0
  83. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/stage_qc_results.py +0 -0
  84. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/examples/volume_2_first_response.ipynb +0 -0
  85. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/requirements.txt +0 -0
  86. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/tutorials/dom_navigation_tutorial.ipynb +0 -0
  87. {orchid_python_api-5.25.1 → orchid_python_api-5.25.3}/orchid_python_api/tutorials/dom_navigation_tutorial.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: orchid-python-api
3
- Version: 5.25.1
3
+ Version: 5.25.3
4
4
  Summary: Defines and implements the Python API for Orchid*. (*Orchid is a mark of KAPPA.)
5
5
  Home-page: https://github.com/Reveal-Energy-Services/orchid-python-api
6
6
  License: Apache-2.0
@@ -24,22 +24,24 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
24
24
  Classifier: Topic :: Scientific/Engineering
25
25
  Classifier: Topic :: Software Development :: Libraries
26
26
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
27
- Requires-Dist: deal (>=4.23.4,<5.0.0)
28
- Requires-Dist: ipython (>=8.7.0,<9.0.0)
29
- Requires-Dist: matplotlib (>=3.6.2,<4.0.0)
30
- Requires-Dist: numpy (>=1.23.5,<2.0.0)
27
+ Provides-Extra: examples
28
+ Requires-Dist: clr (==1.0.3)
29
+ Requires-Dist: deal (>=4.24.4,<5.0.0)
30
+ Requires-Dist: ipython (>=8.0,<9.0) ; extra == "examples"
31
+ Requires-Dist: jupyterlab-vim ; extra == "examples"
32
+ Requires-Dist: matplotlib (>=3.7,<4.0) ; extra == "examples"
33
+ Requires-Dist: numpy (>=1.26.4,<2.0.0)
31
34
  Requires-Dist: option (>=2.1.0,<3.0.0)
32
35
  Requires-Dist: packaging (>=24.1,<25.0)
33
36
  Requires-Dist: pandas (>=2.2.2,<3.0.0)
34
37
  Requires-Dist: pendulum (>=3.0.0,<4.0.0)
35
38
  Requires-Dist: pint (>=0.20.1,<0.21.0)
36
- Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
37
- Requires-Dist: pythonnet (==3.0.3)
38
- Requires-Dist: pyyaml (>=6.0,<7.0)
39
- Requires-Dist: scipy (>=1.9.3,<2.0.0)
40
- Requires-Dist: seaborn (>=0.12.1,<0.13.0)
41
- Requires-Dist: toolz (>=0.12.0,<0.13.0)
42
- Requires-Dist: typing-extensions (>=4.4.0,<5.0.0)
39
+ Requires-Dist: python-dateutil (>=2.9.0,<3.0.0)
40
+ Requires-Dist: pythonnet (>=3.0.3,<4.0.0)
41
+ Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
42
+ Requires-Dist: scipy (>=1.10,<2.0) ; extra == "examples"
43
+ Requires-Dist: seaborn (>=0.12,<0.13) ; extra == "examples"
44
+ Requires-Dist: toolz (>=0.12.1,<0.13.0)
43
45
  Project-URL: Documentation, https://github.com/Reveal-Energy-Services/orchid-python-api/wiki
44
46
  Project-URL: Issues, https://github.com/Reveal-Energy-Services/orchid-python-api/issues
45
47
  Project-URL: Repository, https://github.com/Reveal-Energy-Services/orchid-python-api
@@ -13,6 +13,52 @@ the [Python grip utility](https://pypi.org/project/grip/). This application allo
13
13
  files before sending off to GitHub". Although you need not send any of these file to `GitHub`, by using `grip`
14
14
  to render the file, you can much more easily navigate the document links.
15
15
 
16
+ ### Release notes for 5.25.3
17
+
18
+ This release is the production release of the Orchid Python API corresponding to Orchid 5.25.3. We have made the necessary
19
+ updates to the Python API to remain compatible with the .NET API.
20
+
21
+ #### Possible breaking .NET API changes
22
+
23
+ - None
24
+
25
+ #### Resolved Issues
26
+
27
+ - None
28
+
29
+ #### Features
30
+
31
+ - None
32
+
33
+ #### Known Issues
34
+
35
+ - None
36
+
37
+
38
+ ### Release notes for 5.25.2
39
+
40
+ This release is the production release of the Orchid Python API corresponding to Orchid 5.25.2. We have made the necessary
41
+ updates to the Python API to remain compatible with the .NET API.
42
+
43
+ A minor change has been made where we've split the dependencies between the example files and the sdk dependencies for a smaller footprint when installing the API. There are probably
44
+ many ways to do this, but when installing the new package, if you want to install the example dependencies you can run `pip install .[examples]` or if using poetry `poetry install -E examples`
45
+
46
+ #### Possible breaking .NET API changes
47
+
48
+ - None
49
+
50
+ #### Resolved Issues
51
+
52
+ - None
53
+
54
+ #### Features
55
+
56
+ - None
57
+
58
+ #### Known Issues
59
+
60
+ - None
61
+
16
62
  ### Release notes for 5.25.1
17
63
 
18
64
  This release is the production release of the Orchid Python API corresponding to Orchid 5.25.1. We have made the necessary
@@ -0,0 +1 @@
1
+ 5.25.3
@@ -135,9 +135,9 @@ def calculate_volume_2_first_response():
135
135
  derive_1_time = first_derivative_threshold(p_stg, 0.2)
136
136
  derive_2_time = second_derivative_peak(p_stg)
137
137
  if derive_1_time is not None:
138
- derive_1_time = dt.datetime.utcfromtimestamp(derive_1_time.tolist() * 1e-9).replace(tzinfo=orchid.UTC)
138
+ derive_1_time = derive_1_time.astype(dt.datetime).replace(tzinfo=dt.timezone.utc)
139
139
  if derive_2_time is not None:
140
- derive_2_time = dt.datetime.utcfromtimestamp(derive_2_time.tolist() * 1e-9).replace(tzinfo=orchid.UTC)
140
+ derive_2_time = derive_2_time.astype(dt.datetime).replace(tzinfo=dt.timezone.utc)
141
141
  vfr_d1, _, _ = (compute_stage_treatment_aggregates(stage, derive_1_time) if derive_1_time is not None
142
142
  else (None, None, None))
143
143
  vfr_d2, _, _ = (compute_stage_treatment_aggregates(stage, derive_2_time) if derive_2_time is not None
@@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "orchid-python-api"
7
- version = "5.25.1"
7
+ version = "5.25.3"
8
8
  description = "Defines and implements the Python API for Orchid*. (*Orchid is a mark of KAPPA.)"
9
9
  authors = [ "KAPPA. <support@kappaeng.com>",]
10
10
  maintainers = [ "KAPPA. <support@kappaeng.com>",]
@@ -55,24 +55,25 @@ exclude=["orchid/.ipynb_checkpoints/", "**/*py~"]
55
55
 
56
56
  [tool.poetry.dependencies]
57
57
  python = ">=3.10,<3.13"
58
- pythonnet = "3.0.3"
59
- numpy = "^1.23.5"
60
- # Allow consumers to create `datetime` instances using `dateutil`, for example, by calling `dateutil.parse()`, and
61
- # accept those instances when supplying a time point as a function/method argument.
62
- python-dateutil = "^2.8.2"
63
- matplotlib = "^3.6.2"
64
- pandas = "^2.2.2"
65
- pendulum = "^3.0.0"
58
+ # Essential dependencies
59
+ clr = "1.0.3"
60
+ deal = "^4.24.4"
61
+ numpy = "^1.26.4"
66
62
  option = "^2.1.0"
67
- deal = "^4.23.4"
68
- ipython = "^8.7.0"
69
63
  packaging = "^24.1"
64
+ pandas = "^2.2.2"
65
+ pendulum = "^3.0.0"
70
66
  pint = "^0.20.1"
71
- pyyaml = "^6.0"
72
- seaborn = "^0.12.1"
73
- toolz = "^0.12.0"
74
- typing-extensions = "^4.4.0"
75
- scipy = "^1.9.3"
67
+ python-dateutil = "^2.9.0"
68
+ pythonnet = "^3.0.3"
69
+ pyyaml = "^6.0.1"
70
+ toolz = "^0.12.1"
71
+ # optional dependencies
72
+ matplotlib = { version = "^3.7", optional = true }
73
+ ipython = { version = "^8.0", optional = true }
74
+ seaborn = { version = "^0.12", optional = true }
75
+ scipy = { version = "^1.10", optional = true }
76
+ jupyterlab-vim = { version = "*", optional = true }
76
77
 
77
78
  [tool.poetry.scripts]
78
79
  copy_orchid_examples = "copy_orchid_examples:main"
@@ -84,21 +85,22 @@ copy_orchid_manual_examples = "copy_orchid_manual_examples:main"
84
85
  Issues = "https://github.com/Reveal-Energy-Services/orchid-python-api/issues"
85
86
 
86
87
  [tool.poetry.group.dev.dependencies]
87
- platformdirs = "^4.2.2"
88
- fastjsonschema = "^2.20.0"
89
- pyhamcrest = "^2.0.4"
90
- behave = "^1.2.6"
91
- invoke = "^1.7.3"
92
- toml = "^0.10.2"
93
- grip = "^4.6.1"
94
- parsy = "^2.0"
95
- icecream = "^2.1.3"
96
- m2r2 = "^0.3.3"
97
- codetiming = "^1.4.0"
98
- sphinx = "^5.3.0"
99
- jupyterlab-vim = "^0.15.1"
100
- pytest = "^7.2.0"
101
- pytest-benchmark = "^4.0.0"
88
+ # Development tools for project contributors
89
+ # Testing frameworks
90
+ pyhamcrest = "*"
91
+ behave = "*"
92
+ pytest = "*"
93
+ pytest-benchmark = "*"
94
+
95
+ # Documentation and code quality tools
96
+ invoke = "*"
97
+ toml = "*"
98
+ grip = "*"
99
+ parsy = "*"
100
+ icecream = "*"
101
+ m2r2 = "*"
102
+ codetiming = "*"
103
+ sphinx = "*"
102
104
 
103
105
  [tool.pytest.ini_options]
104
106
  addopts = [
@@ -111,3 +113,13 @@ testpaths = [
111
113
  "tests",
112
114
  "benchmark_tests",
113
115
  ]
116
+
117
+ [tool.poetry.extras]
118
+ # Optional dependencies needed to run examples and tutorials
119
+ examples = [
120
+ "matplotlib",
121
+ "ipython",
122
+ "seaborn",
123
+ "scipy",
124
+ "jupyterlab-vim"
125
+ ]
@@ -1 +0,0 @@
1
- 5.25.1