evo-objects 0.2.0__tar.gz → 0.2.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.
Files changed (23) hide show
  1. {evo_objects-0.2.0 → evo_objects-0.2.1}/PKG-INFO +49 -5
  2. {evo_objects-0.2.0 → evo_objects-0.2.1}/pyproject.toml +1 -1
  3. {evo_objects-0.2.0 → evo_objects-0.2.1}/.gitignore +0 -0
  4. {evo_objects-0.2.0 → evo_objects-0.2.1}/LICENSE.md +0 -0
  5. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/__init__.py +0 -0
  6. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/_model_config.py +0 -0
  7. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/client.py +0 -0
  8. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/data.py +0 -0
  9. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/endpoints/__init__.py +0 -0
  10. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/endpoints/api/__init__.py +0 -0
  11. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/endpoints/api/data_api.py +0 -0
  12. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/endpoints/api/metadata_api.py +0 -0
  13. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/endpoints/api/objects_api.py +0 -0
  14. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/endpoints/api/stages_api.py +0 -0
  15. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/endpoints/models.py +0 -0
  16. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/exceptions.py +0 -0
  17. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/io.py +0 -0
  18. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/py.typed +0 -0
  19. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/utils/__init__.py +0 -0
  20. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/utils/_types.py +0 -0
  21. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/utils/data.py +0 -0
  22. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/utils/table_formats.py +0 -0
  23. {evo_objects-0.2.0 → evo_objects-0.2.1}/src/evo/objects/utils/tables.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: evo-objects
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Python SDK for using the Seequent Evo Geoscience Object API
5
5
  Project-URL: Source, https://github.com/SeequentEvo/evo-python-sdk
6
6
  Project-URL: Tracker, https://github.com/SeequentEvo/evo-python-sdk/issues
@@ -23,7 +23,7 @@ Description-Content-Type: text/markdown
23
23
  <p align="center"><a href="https://seequent.com" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://developer.seequent.com/img/seequent-logo-dark.svg" alt="Seequent logo" width="400" /><img src="https://developer.seequent.com/img/seequent-logo.svg" alt="Seequent logo" width="400" /></picture></a></p>
24
24
  <p align="center">
25
25
  <a href="https://pypi.org/project/evo-objects/"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/evo-objects" /></a>
26
- <a href="https://github.com/SeequentEvo/evo-python-sdk/actions/workflows/on-push.yaml"><img src="https://github.com/SeequentEvo/evo-python-sdk/actions/workflows/on-push.yaml/badge.svg" alt="" /></a>
26
+ <a href="https://github.com/SeequentEvo/evo-python-sdk/actions/workflows/run-all-tests.yaml"><img src="https://github.com/SeequentEvo/evo-python-sdk/actions/workflows/run-all-tests.yaml/badge.svg" alt="" /></a>
27
27
  </p>
28
28
  <p align="center">
29
29
  <a href="https://developer.seequent.com/" target="_blank">Seequent Developer Portal</a>
@@ -36,23 +36,67 @@ Description-Content-Type: text/markdown
36
36
  The Geoscience Object API is Seequent's next-generation cloud offering for geoscience
37
37
  data, empowering our users to build responsive modern workflows.
38
38
 
39
+ ## Pre-requisites
40
+
41
+ * Python ^3.10
42
+ * An [application registered in Bentley](https://developer.bentley.com/register/?product=seequent-evo)
43
+
39
44
  ## Installation
40
45
 
41
- ```
46
+ ```shell
42
47
  pip install evo-objects
43
48
  ```
44
49
 
45
50
  ## Usage
46
51
 
47
- See the [Getting started guide](https://github.com/SeequentEvo/evo-python-sdk/tree/main/packages/evo-objects/docs/quickstart.md) to learn how to use this library.
52
+ See [the evo-sdk-common documentation](https://github.com/SeequentEvo/evo-python-sdk/blob/main/packages/evo-sdk-common/README.md)
53
+ for information on how to authenticate, then select the organisation, hub and workspace that you would like to use.
54
+
55
+ ### Interacting with the Geoscience Object API
56
+
57
+ To get up and running quickly with the Evo Objects SDK, start by configuring your
58
+ [environment and API connector](https://github.com/SeequentEvo/evo-python-sdk/blob/main/packages/evo-sdk-common/docs/quickstart.md).
59
+
60
+ ```python
61
+ from evo.objects import ObjectAPIClient
48
62
 
63
+ service_client = ObjectAPIClient(environment, connector)
64
+ service_health = await service_client.get_service_health()
65
+ service_health.raise_for_status()
49
66
 
67
+ # The data client is an optional utility that provides helpers for uploading and downloading
68
+ # parquet data via pyarrow.Table objects.
69
+ data_client = service_client.get_data_client(manager.cache)
70
+ ...
71
+ ```
72
+
73
+ Listing objects is simple, just call the `ObjectAPIClient.list_objects()` method.
74
+
75
+ ```python
76
+ offset = 0
77
+ while True:
78
+ page = await service_client.list_objects(offset=offset, limit=10)
79
+ if offset == 0:
80
+ print(f"Found {page.total} object{'' if page.total == 1 else 's'}")
81
+ for object in page:
82
+ print(f"{object.path}: <{object.schema_id}> ({object.id})")
83
+
84
+ if page.is_last:
85
+ break
86
+ else:
87
+ offset = page.next_offset
88
+ ```
50
89
 
51
- ## Developing the library
90
+ You can also get a list of all objects. Internally, this recursively calls the `list_objects()` method until all objects are fetched.
91
+
92
+ Check out the other methods on the `ObjectAPIClient` for more details on how to upload and download objects, or get object versions.
93
+
94
+ ## Contributing
52
95
 
53
96
  For instructions on contributing to the development of this library, please refer to the [evo-python-sdk documentation](https://github.com/seequentevo/evo-python-sdk).
54
97
 
55
98
  ## License
99
+
56
100
  The Python SDK for Evo is open source and licensed under the [Apache 2.0 license.](https://github.com/SeequentEvo/evo-python-sdk/tree/main/packages/evo-objects/./LICENSE.md).
57
101
 
58
102
  Copyright © 2025 Bentley Systems, Incorporated.
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "evo-objects"
3
3
  description = "Python SDK for using the Seequent Evo Geoscience Object API"
4
- version = "0.2.0"
4
+ version = "0.2.1"
5
5
  requires-python = ">=3.10"
6
6
  license-files = ["LICENSE.md"]
7
7
  dynamic = ["readme"]
File without changes
File without changes